I am writing for some help regarding Postfix configuration. I cannot seem to get POSTFIX configured properly to transfer mail to the mailing list installed on the same server. I followed many steps over the last few days, and the last one I followed is at http://www.postfix.org/VIRTUAL_README.html under the section Mailing Lists.
Can someone please look at this and let me know what I am missing? Basically, POSTFIX has been configured for base email to be sent to x...@mail-test.company.org and I would like the mail list to use x...@listtest.company.org DYN-DNS listtest.company.org A 216.111.222.85 listtest.company.org MX 216.111.222.85 listtest.company.org TXT "v=spf1 a ptr mx ip4:216.111.222.85 mx:mail-test.company.org -all" mail-test.company.org A 216.111.222.85 mail-test.company.org MX 216.111.222.85 mail-test.company.org TXT "v=spf1 a ptr mx ip4:216.111.222.85 mx:mail-test.company.org -all" MAIN.CF myhostname = mail-test.company.org mydomain = company.org myorigin = $mydomain alias_maps = hash:/etc/aliases, hash:/etc/mailman/aliases alias_database = hash:/etc/aliases, hash:/etc/mailman/aliases recipient_delimiter = + virtual_alias_maps = hash:/etc/postfix/virtual /etc/postfix/virtual: listname-requ...@listtest.company.org listname-request listn...@listtest.company.org listname owner-listn...@listtest.company.org owner-listname /etc/aliases: listname: "/usr/lib/mailman/mail/mailman post mailman" owner-listname: ... listname-request: ... MM_CFG.PY DEFAULT_URL_HOST = 'listtest.company.org' DEFAULT_EMAIL_HOST = 'listtest.company.org' add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) MTA = 'Postfix' /var/log/maillog The first part of the log shows the rejection of listtest.company.org -- whereas the second part shows successful transfer to mail-test.company.org Aug 17 15:46:50 app02-listserv postfix/smtpd[19870]: NOQUEUE: reject: RCPT from Mail1.company.org[66.173.196.101]: 554 5.7.1 <x...@listtest.company.org>: Relay access denied; from=<u...@company1.org> to=<l...@listtest.company.org> proto=SMTP helo=<MAIL1.company.ORG> Aug 17 15:46:50 app02-listserv postfix/cleanup[19877]: D3F93209F1: message-id=<050c37c3bc21cc4483ac395bafec94e506116...@mail1.informs.org> Aug 17 15:46:50 app02-listserv postfix/smtpd[19870]: disconnect from Mail1.company.org[66.173.196.101] Aug 17 15:46:50 app02-listserv postfix/qmgr[19197]: D3F93209F1: from=<us...@company.org>, size=6670, nrcpt=1 (queue active) Aug 17 15:46:50 app02-listserv postfix/cleanup[19877]: F37B120A3B: message-id=<050c37c3bc21cc4483ac395bafec94e506116...@mail1.informs.org> Aug 17 15:46:51 app02-listserv postfix/qmgr[19197]: F37B120A3B: from=<us...@company.org>, size=6819, nrcpt=1 (queue active) Aug 17 15:46:51 app02-listserv postfix/local[19878]: D3F93209F1: to=<compnay...@mail-test.company.org>, relay=local, delay=0.18, delays=0.17/0.01/0/0, dsn=2.0.0, status=sent (forwarded as F37B120A3B) Aug 17 15:46:51 app02-listserv postfix/qmgr[19197]: D3F93209F1: removed Any help would be greatly appreciated. Thank you.