Bug 681655 - Mailman + Postfix --> Recipient address rejected:
Summary: Mailman + Postfix --> Recipient address rejected:
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: mailman
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Kaluža
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-02 20:39 UTC by Pierre Blavy
Modified: 2011-03-08 15:47 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-08 15:47:36 UTC
Type: ---


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.