HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   General (
-   -   Problem with receiving mail (Relay access denied) (

lano 6th September 2007 10:19

Problem with receiving mail (Relay access denied)
Here is the situation: I setup Ispconfig on Etch for my friend (four domains), and
suddenly he was unable to send mail via smtp. I did reconfigure postfix as described here . Smtp problems was fixed, but now system wont accept any mail, returning code:

<>: host[] said: 554 5.7.1
<>: Relay access denied (in reply to RCPT TO command)

Any idea how to solve the problem?

till 6th September 2007 11:13

Did you enable SMTP authentication in your email client with the same username and password that you use for pop3?

lano 6th September 2007 11:31

The problem is with receiving mail. If I send mail from my isp mail, Ispconfig (or postfix) reject it, and I get nondeliver mail as posted before. Sending mail through that system works fine.

till 6th September 2007 13:12

Is the domain (without www) listed in the file /etc/postfix/local-host-names ?

lano 6th September 2007 13:31

all domains are listed in /etc/postfix/local-host-names. There were domains with www, but even if I hash them, I cannot send mail to domains listed in host-names (same domains that are created in ispconfig).

lano 6th September 2007 18:16

Thanks to Till, I found problem. Last line in /etc/postfix/ was "mydestination = hostname.mydomain.tld, localhost.mydomain.tld, localhost.localdomain, localhost"

Correct line is "mydestination = /etc/postfix/local-host-names"


All times are GMT +2. The time now is 03:48.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.