Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th September 2007, 09:19
lano lano is offline
Member
 
Join Date: May 2007
Posts: 94
Thanks: 10
Thanked 8 Times in 7 Posts
Default 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?
Reply With Quote
Sponsored Links
  #2  
Old 6th September 2007, 10:13
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,768
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

Did you enable SMTP authentication in your email client with the same username and password that you use for pop3?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 6th September 2007, 10:31
lano lano is offline
Member
 
Join Date: May 2007
Posts: 94
Thanks: 10
Thanked 8 Times in 7 Posts
Default

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.
Reply With Quote
  #4  
Old 6th September 2007, 12:12
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,768
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

Is the domain (without www) listed in the file /etc/postfix/local-host-names ?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 6th September 2007, 12:31
lano lano is offline
Member
 
Join Date: May 2007
Posts: 94
Thanks: 10
Thanked 8 Times in 7 Posts
Default

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).
Reply With Quote
  #6  
Old 6th September 2007, 17:16
lano lano is offline
Member
 
Join Date: May 2007
Posts: 94
Thanks: 10
Thanked 8 Times in 7 Posts
 
Default

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
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Relay access denied maxx Installation/Configuration 17 4th April 2011 12:34
Postfix & mail forwarding loop varnik Server Operation 21 9th December 2008 15:13
Filtering emails using Spamassassin and Clamav for Exchange 2000 Server Rocky Server Operation 19 11th March 2008 08:27
Postfix with MySQL backend - Relay access denied klonos HOWTO-Related Questions 2 4th May 2007 19:55
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 12:16


All times are GMT +2. The time now is 11:26.


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