[Mailman-Users] [Mailer-Daemon at server.pl: Mail delivery failed: returning message to sender]

Jakub Mateusz Mikusek (mick3y) mailman-users at image.datastar.pl
Mon Jul 14 10:27:13 CEST 2003


Richard Barrett naskrobał(a):

I've found problem - it was trivial, but Your hint helps me very very.
archiv/maillog.1.gz:Jul 11 12:17:52 kupiec mail-wrapper: Illegal command: {if def:local_part_suffix {request} {post}}


>>begin transports
>>
>>mailman_transport:
>>        driver = pipe
>>        command = MAILMAN_WRAP \
>>                '{if def:local_part_suffix \
                  ^ I missed '$' :-)
>>                {${sg{$local_part_suffix}{-(\\w+)(\\+.*)?}{\$1}}} \
>>                {post}}' \
>>                $local_part
>>        current_directory = MAILMAN_HOME
>>        home_directory = MAILMAN_HOME
>>        user = MAILMAN_UID
>>        group = MAILMAN_GID
>>
>>
>
>Assuming MM 2.1.x:
>
>The MM mail wrapper uses an exit code of 6 (defined as MAIL_ILLEGAL_COMMAND 
>in $build/src/common.h). I think it should also have left some footprints 
>in your syslog; look for the prefix "Mailman mail-wrapper" on the entries.
>
>Looking at the code in the MM mail wrapper, it appears to be complaining 
>because the command it received is not one of the following (see the 
>function check_command in $build/src/mail-wrapper.c):

Thanks again. :-)


Best regards,
Jakub

-- 
[.Jakub Mikusek:mick3y at wci.pl:....sysadm...]




More information about the Mailman-Users mailing list