Alex wrote: > >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=<[EMAIL PROTECTED]> >Jul 31 10:15:29 lists postfix/cleanup[12551]: 341DD48D0D: >message-id=<[EMAIL PROTECTED]> >Jul 31 10:15:29 lists postfix/qmgr[12501]: 341DD48D0D: >from=<[EMAIL PROTECTED]>, 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 [EMAIL PROTECTED]>, >orig_to=<[EMAIL PROTECTED]>, relay=maildrop, delay=0, >status=bounced (user unknown. Command output: maildrop: Invalid user >specified. )
It looks like Postfix is trying to send the 'pipe' command (plus @mydoom.ro) to maildrop as an e-mail address and maildrop is rejecting it because it's not a valid address. This seems to be a postfix/maildrop configuration issue. I don't think mailman-users can be of much help here. Note that if Postfix directly executes the pipe instead of passing it to maildrop as an address, it should work. >so, it looks like maildrop is tring to deliver email from >[EMAIL PROTECTED] to one inexistent mailbox named: >"|/usr/lib/mailman/mail/mailman post [EMAIL PROTECTED]" 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! Exactly. Again, this is a Postfix/maildrop issue, not a Mailman issue. >Subscriptions via WEB are ok, but nobody can send email to other members >([EMAIL PROTECTED]) 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: Actually, it looks like the list is named mailman, not maildrop > >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: [EMAIL PROTECTED] 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!!! The first argument is the action to take with this mail and in all cases except post is the same as the suffix part of the listname-suffix address. post is used when there is no suffix, i.e., when a post is sent to the listname address. The second argument is the name of the list - 'mailman' in this case. >PS: No errors are reported in /var/log/mailman/error! Mailman never sees the message. -- Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list [email protected] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
