HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   Problem with receiving mail (Relay access denied) (http://www.howtoforge.com/forums/showthread.php?t=15360)

lano 6th September 2007 09: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 http://www.howtoforge.com/perfect_setup_debian_etch_p5 . Smtp problems was fixed, but now system wont accept any mail, returning code:

<david@mydomain.com>: host mail.mydomain.com[89.212.76.55] said: 554 5.7.1
<david@mydomain.com>: Relay access denied (in reply to RCPT TO command)

Any idea how to solve the problem?

till 6th September 2007 10: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 10: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 12:12

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

lano 6th September 2007 12: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 17:16

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

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

David


All times are GMT +2. The time now is 18:27.

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