[Mailman-Users] BIG trouble: mailman does not work with postfix+maildrop+mysql
Alex
postfix at webgate.ro
Sun Jul 31 10:10:54 CEST 2005
Hello mailman experts,
I am comming here because i have problems makeing mailman working with
postfix+maildrop (used as local delivery agent) and mysql as bakend.
First i want to mention on our mailserver everything is virtualized and
postfix is working like a charm with mysql and maildrop for our
virtualized domains. I am using RHEL4 + postfix-2.1.5-4.2.RHEL4
Yesterday, i tried to add mailman (mailman-2.1.5-33.rhel4) to above
comination (i want to setup some inernal mailing lists) but all the time
when somebody wants to subscribe via email, i get the following error in
/var/log/maillog file:
Jul 31 10:15:29 lists postfix/pickup[12500]: 341DD48D0D: uid=12346
from=<acadar at mydoom.ro>
Jul 31 10:15:29 lists postfix/cleanup[12551]: 341DD48D0D:
message-id=<20050731071529.341DD48D0D at lists.mydoom.ro>
Jul 31 10:15:29 lists postfix/qmgr[12501]: 341DD48D0D:
from=<acadar at mydoom.ro>, size=429, nrcpt=1 (queue active)
Jul 31 10:15:29 lists maildrop[12561]: Invalid user specified or account
temporary disabled.
Jul 31 10:15:29 lists postfix/pipe[12560]: 341DD48D0D:
to=<|/usr/lib/mailman/mail/mailman post mailman at mydoom.ro>,
orig_to=<mailman at lists.mydoom.ro>, relay=maildrop, delay=0,
status=bounced (user unknown. Command output: maildrop: Invalid user
specified. )
so, it looks like maildrop is tring to deliver email from
acadar at mydoom.ro to one inexistent mailbox named:
"|/usr/lib/mailman/mail/mailman post mailman at mydoom.ro" and is not
makeing the correct redirection, redirecting incomming message to
/usr/lib/mailman/mail/mailman PIPE .... Practically, sintax above is
interpreted like a string and not like a command!
Subscriptions via WEB are ok, but nobody can send email to other members
(mailman at lists.mydoom.ro) due to reason above! Message is bounced and
returned to sender!
Here comes relevant parts of:
postfix main.cf
### Alias specific settings ###
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
newaliases_path = /usr/bin/newaliases
virtual_alias_domains = $virtual_alias_maps
virtual_alias_maps = mysql:redirections.cf, $alias_maps,
hash:/etc/mailman/aliases
### Mailman specific settings ###
owner_request_special = no
recipient_delimiter = +
unknown_local_recipient_reject_code = 550
and last lines in /etc/mailman/mm_cfg.py looks like
##############################################################
# Put YOUR site-specific configuration below, in mm_cfg.py . #
# See Defaults.py for explanations of the values.
MTA = 'Postfix'
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mydoom.ro']
I created a new mailing list named maildrop, and /etc/mailman/aliases
look like below:
mailman: "|/usr/lib/mailman/mail/mailman post mailman"
mailman-admin: "|/usr/lib/mailman/mail/mailman admin mailman"
mailman-bounces: "|/usr/lib/mailman/mail/mailman bounces mailman"
mailman-confirm: "|/usr/lib/mailman/mail/mailman confirm mailman"
mailman-join: "|/usr/lib/mailman/mail/mailman join mailman"
mailman-leave: "|/usr/lib/mailman/mail/mailman leave mailman"
mailman-owner: "|/usr/lib/mailman/mail/mailman owner mailman"
mailman-request: "|/usr/lib/mailman/mail/mailman request mailman"
mailman-subscribe: "|/usr/lib/mailman/mail/mailman subscribe mailman"
mailman-unsubscribe: "|/usr/lib/mailman/mail/mailman unsubscribe mailman"
I think the problem is caused by redirections above due to incompatible
sintax between mailman and standard postfix+maildrop+mysql redirections.
Can somebody clarify me sintax:
mailman: "|/usr/lib/mailman/mail/mailman post mailman"
In my opinion it mean:
REDIRECT all emails comming to address: mailman at mydoom.ro into mailman
pipe (|/usr/lib/mailman/mail/mailman) with 2 arguments (post and
mailman). What i don't know, is what represent FIRST (post) and SECOND
(mailman) ARGUMENTS in this pipe? I tried to find and explanation in
mailman docs to this question but it seems that answer is missing!!!
Any fix will be wellcome.
Regards,
Alex
PS: No errors are reported in /var/log/mailman/error!
More information about the Mailman-Users
mailing list