[Mailman-Users] Postfix not sending mail
simon at caperet.com
Tue Dec 16 12:44:22 CET 2003
16-Dec-03 at 12:29, Thomas Murphy (murphy at thepanemgroup.com) wrote :
> Simon White wrote:
> >Is a file aliases.db generated? If the mail is delivered to the
> >catch-all account, then the aliases are not being read for sure;
> >the "newaliases" command will not help you if main.cf doesn't point to
> >the right place...
> >in main.cf do you have:
> >alias_maps = hash:/etc/postfix/aliases hash:/usr/local/mailman/data/aliases
> Yes, aliases.db is generated, and readable (chmod 777 - to be sure)
Setting permissions like that is rarely a good idea. 777 means readable,
writable, and executable. You only need something like 644 for aliases,
because you run newaliases as root anyway. 777 may, in some cases, cause
programs NOT to work due to security checks (file permissions wrong)...
> and i put
> alias_maps = hash:/etc/aliases, hash:/usr/local/mailman/data/aliases
> (i think they have to be comma-seperated?)
Yes you're right you might need a comma there.
Now, if the aliases are correct, and you have run newaliases, and mail
is still going to the catchall, then you'll have to show an extract of
your aliases file, the email address you are sending to, and the
delivery success in the mail log for any further troubleshooting.
Simon White. Internet Consultant, Linux/Windows Server Administration.
Bridging the gap between management, HR and the tech team.
More information about the Mailman-Users