Linode Forum
https://forum.linode.com/

Strange issue with Postfix
https://forum.linode.com/viewtopic.php?f=11&t=9738
Page 1 of 1

Author:  Wendel [ Wed Jan 23, 2013 3:57 pm ]
Post subject:  Strange issue with Postfix

I've been getting quite a few mails backed up in my queue from some websites that send out emails.
Here is an example of what's happening...

Code:
Jan 23 19:28:06 linode postfix/smtp[22478]: connect to yahoo.co.wa-recruitmenttracker.org[66.175.222.221]:25: Connection refused
Jan 23 19:28:06 linode postfix/smtp[22478]: B585084DC: to=<jamielynn0221@yahoo.co.wa-recruitmenttracker.org>, relay=none, delay=133795, delays=133795/0.07/0.13/0, dsn=4.4.1, status=deferred (connect to yahoo.co.wa-recruitmenttracker.org[66.175.222.221]:25: Connection refused)


I was having an issue with comcast accepting email from this server, it didn't have a proper hostname, ptr, or reverse dns record. I have fixed that and we can send email to comcast now, but for some address, $mydomain get's appended to the email address.

I can't figure this out for the life of me.

Any help would be appreciated.

Author:  obs [ Wed Jan 23, 2013 4:01 pm ]
Post subject:  Re: Strange issue with Postfix

What are the contents of your /etc/postfix/main.cf ?

Author:  Wendel [ Wed Jan 23, 2013 4:53 pm ]
Post subject:  Re: Strange issue with Postfix

Code:
# Global Postfix configuration file. This file lists only a subset
# of all parameters. For the syntax, and for a complete parameter
# list, see the postconf(5) manual page (command: "man 5 postconf").
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
inet_protocols = ipv4
unknown_local_recipient_reject_code = 550
debug_peer_level = 2
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.6.6/samples
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
myorigin = $mydomain

Author:  vonskippy [ Wed Jan 23, 2013 5:03 pm ]
Post subject:  Re: Strange issue with Postfix

cp main.cf main.cf-orig

Then DELETE every line that starts with a #

You'll have a nice easy to read (and parse) config file instead of the mess you just posted.

Author:  Wendel [ Wed Jan 23, 2013 5:33 pm ]
Post subject:  Re: Strange issue with Postfix

Sorry about that, it was a lot of junk, I wouldn't want to sort through that either.

Code:
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
inet_protocols = ipv4
unknown_local_recipient_reject_code = 550
debug_peer_level = 2
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.6.6/samples
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
myorigin = $mydomain

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/