Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Hey, my e-mail-server Postfix+Cyrus was running for over 7 days and suddenly I get this error 554 554 5.7.1 : Relay access denied (state 14) when I try to send or recieve mail. Postfix worked fine and nothing was changed. There is enough RAM and LoadAverage is 0.56. Any suggestions where to start investigating (Ubuntu LTS 10.04)? This is quite strange, if I restart the whole server the mails are fine again.

Thank you for your help

LOG:

Jan 24 00:35:56 mailserver postfix/smtpd[783]: connect from mail-qy0-f174.google.com[209.85.216.174] Jan 24 00:35:56 mailserver postfix/smtpd[783]: NOQUEUE: reject: RCPT from mail-qy0-f174.google.com[209.85.216.174]: 554 5.7.1 : Relay access denied; from= to= proto=ESMTP helo= Jan 24 00:35:57 mailserver postfix/smtpd[783]: disconnect from mail-qy0-f174.google.com[209.85.216.174]

share|improve this question
    
please, add log –  osdyng Jan 23 '11 at 23:54
    
osdyng - I added the log –  Lerikunus Jan 24 '11 at 0:07
    
You mentioned that restarting the server resolved the issue... but for how long? –  Skyhawk Jan 24 '11 at 0:09
    
Once the server was running for 90 days, now around 7 days. I am afraid that I need to do it more often =( –  Lerikunus Jan 24 '11 at 0:12

1 Answer 1

Check mydestination:

# postconf | grep "^mydestination"

Postfix does't see itself as being destination for domain and rejects the mail

share|improve this answer
    
tells me > hash:/etc/postfix/mydestination | there are all domains I use listed with OK behind it. –  Lerikunus Jan 24 '11 at 0:22
    
use postmap to refresh /etc/postfix/mydestination –  osdyng Jan 24 '11 at 0:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.