Bug 681655

Summary: Mailman + Postfix --> Recipient address rejected:
Product: [Fedora] Fedora Reporter: Pierre Blavy <pierreblavy>
Component: mailmanAssignee: Jan Kaluža <jkaluza>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jkaluza
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-08 15:47:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Pierre Blavy 2011-03-02 20:39:42 UTC
Description of problem:
Hello,
When using mailman + postfix, I get a "Recipient address rejected" error when sending a mail to a list.



How reproducible:
Always from scratch with rpm install.



Steps to Reproduce:

1.yum -y install mailman postfix

2. configure /etc/postfix/main.cf;
myhostname = ??
mydomain = ??
myorigin = ??
inet_interfaces = all
mynetworks_style = host

3.configure  /etc/mailman/mm_cfg.py;
MTA = 'Postfix'
DEFAULT_URL_HOST   = ??
DEFAULT_EMAIL_HOST = ??



Actual results:
Sending to a mailman list fail.
var/log/maillog says (zzz is the list, xxx is the sender) 

Mar  2 21:06:14 tentacule postfix/smtpd[4753]: NOQUEUE: reject: RCPT from nm13-vm0.bullet.mail.ird.yahoo.com[77.238.189.195]: 550 5.1.1 <zzz@??.com>: Recipient address rejected: User unknown in local recipient table; from=<xxx> to=<zzz@??.com> proto=SMTP helo=<nm13-vm0.bullet.mail.ird.yahoo.com>



Expected results:
Make it work from scratch after a yum install

Additional info
I've fixed the problem by hand by replacing the alias_map line from /etc/postfix/main.cf by this one

alias_maps = hash:/etc/aliases, hash:/etc/mailman/aliases

Maybe this fix can be added by the mailman rpm if postfix is installed?

Comment 1 Jan Kaluža 2011-03-08 15:47:36 UTC
Yes, that's needed to make it work. It's also described in Mailman installation guide: http://www.gnu.org/software/mailman/mailman-install/postfix-integration.html (but I agree that the path from there is not the same as the one we use in Fedora.

I'm not sure changing Postfix configuration is good idea, because we don't know if the admin wants to use Mailman with Postfix. We would have to use "alternatives" to check what mailer is currently used, but still, I don't find it so easy to change main.cf correctly.