Postfix on Debian: Fixing the bounced email issue "553 5.5.4 ... Domain name required for sender address root (in reply to RCPT TO command))"
After many google searches, Pickcoder on the Freenode IRC channel #postfix helped me out with this one.
After setting up Postfix as the MTA on a Debian box using these instructions, I was able to send email through the SMTP server. However, when sending from the command line, I was getting bounce messages in my /var/log/mail.info file:
The actual fix is to edit the /etc/postfix/main.cf file and chage the line that reads "append_at_myorigin = no" to "append_at_myorigin = yes"
Edit the file with vim or your preferred editor:
And then try your mail command (up above) again. If you check the mail.info logfile, the status should now read, "status=sent"
After setting up Postfix as the MTA on a Debian box using these instructions, I was able to send email through the SMTP server. However, when sending from the command line, I was getting bounce messages in my /var/log/mail.info file:
shell$ mail -s "Test email" someone@somewhere.comThe trick to fixing this was that the account (root in this example) didn't get its hostname nor FQDN attached to the end of the address, so my email looked like it was coming from 'root' rather than 'root@someserver.com'.
this is a test [ctrl][d]
shell$ tail /var/log/mail.info
Jul 16 13:17:44 server postfix/smtp[873]: E676D180278: to=, relay=email.somewhere.com[12.12.123.123]:25, delay=0.63, delays=0.05/0.02/0.44/0.11, dsn=5.5.4, status=bounced (host email.somewhere.com[12.12.123.123] said: 553 5.5.4 ... Domain name required for sender address root (in reply to RCPT TO command))
The actual fix is to edit the /etc/postfix/main.cf file and chage the line that reads "append_at_myorigin = no" to "append_at_myorigin = yes"
Edit the file with vim or your preferred editor:
shell$ vim /etc/postfix/main.cfand change the line from
append_at_myorigin = noto
append_at_myorigin = yesMake sure to restart Postfix:
shell$ /etc/init.d/postfix restart
And then try your mail command (up above) again. If you check the mail.info logfile, the status should now read, "status=sent"

1 Comments:
At 24 December, 2009 21:15 ,
Anonymous said...
trapcode particular crack
activation keygen office xp
primal script crack
archpr keygen
swish presenter crack
kavoom 3.64 crack
encore dvd 1.5 keygen
office 2000 premium keygen
strata 3d cx tryout crack
ytunnel pro 2.0 build 352 crack
winsql pro crack
vnes crack
quickie architect 5.0 crack
crack softwares
championship cribbage crack
autodesk viz 2005 keygen
ovusoft keygen
photo2vcd studio 3.8.1 crack
clonecd 5.1.0.0+crack
deep freeze professional crack
nortan 2005 keygen
602pc suite 4.1 crack
opus 8.0.1.1 crack
tapeware license key crack
delphi 2005 update crack
crack excel password protect
bootstar 8.28 crack
windows xp media centre edition crack
Post a Comment
Subscribe to Post Comments [Atom]
<< Home