[Mailman-Users] User Unknown Error (was Sendmail integration, mail not being processed?)

Iain Dooley mail at iaindooley.com
Sun May 1 18:05:53 CEST 2005


hello, i have fixed some problems with my sendmail.cf file, and have got sendmail running correctly and it is (apparently) handing off tasks to mailman. 

i can now see that i am getting 'user unknown' error messages (ie. bounces) when i send to my lists:

----- The following addresses had permanent fatal errors -----
<off-the-grid at lists.scoastnet.com.au>
    (reason: 550 5.1.1 <off-the-grid at lists.scoastnet.com.au>... User unknown)

   ----- Transcript of session follows -----
... while talking to lists.scoastnet.com.au.:

>>>>>> DATA

<<< 550 5.1.1 <off-the-grid at lists.scoastnet.com.au>... User unknown
550 5.1.1 <off-the-grid at lists.scoastnet.com.au>... User unknown
<<< 503 5.0.0 Need RCPT (recipient)


i have created lists through both the command line and web interfaces. i can log in and subscribe users to the off-the-grid list on the web, and have received subscription confirmation emails afterwards.

some similar 'user unknown' errors in the mailman-users archives suggest that this is a problem with aliases, but my impression was that when you use mm-handler with sendmail, you no longer need to worry about aliases. my mailertable looks like this:

lists.scoastnet.com.au  mailman:lists.scoastnet.com.au

my mailer definition looks like this:

Mmailman,       P=/etc/mail/mm-handler, F=rDFMhlqSu, U=mailman:mailnull,
                S=EnvFromL, R=EnvToL/HdrToL,
                A=mm-handler $h $u

i have removed the ALIAS_FILE feature from my sendmail.mc file (becuase in mailman.mc example from David Champion, he comments the ALIAS_FILE feature saying that you can keep old aliases for back compatibility, but i have no reason for this so i have not kept it in there).

i would really appreciate any help you can offer.

cheers

iain

Iain Dooley wrote:
> hi, i've just installed mailman and mm-handler on a FreeBSD machine with 
> uname:
> 
> FreeBSD kingfish.scoastnet.com.au 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE 
> #0: Thu Jan 27 22:44:45 EST 2005     
> amac at kingfish.scoastnet.com.au:/usr/src/sys/i386/compile/NEWKERNEL  i386
> 
> i am able to create and maintain lists, but get no response (not even an 
> error) when i send mail to a list.
> 
> i followed the process for sendmail integration described in the 
> mm-handler howto. when i call 'make' from /etc/mail/ i get the following 
> errors:
> 
> cp freebsd.mc kingfish.scoastnet.com.au.mc
> /usr/bin/m4 -D_CF_DIR_=/usr/share/sendmail/cf/   
> /usr/share/sendmail/cf/m4/cf.m4 kingfish.scoastnet.com.au.mc > 
> kingfish.scoastnet.com.au.cf
> *** ERROR: FEATURE() should be before MAILER()
> 
> *** ERROR: FEATURE() should be before MAILER()
> 
> *** ERROR: FEATURE() should be before MAILER()
> 
> cp freebsd.submit.mc kingfish.scoastnet.com.au.submit.mc
> /usr/bin/m4 -D_CF_DIR_=/usr/share/sendmail/cf/   
> /usr/share/sendmail/cf/m4/cf.m4 kingfish.scoastnet.com.au.submit.mc > 
> kingfish.scoastnet.com.au.submit.cf
> 
> i am able to subscribe users through the web interface, and get the 
> confirmation emails. i can use the confirmation http link, but if i 
> respond to the confirmation email then i do not get the 'welcome' message.
> 
> once subscribed, i do not get emails back when i send to the list. i do 
> not get any error emails, i just receive no emails in response when i 
> send to my mailing list. the following are some messages from 
> /var/log/messages:
> 
> May  1 03:10:00 kingfish cron[67069]: _secure_path: cannot stat 
> none/.login_conf: Permission denied
> May  1 03:15:00 kingfish cron[68044]: _secure_path: cannot stat 
> none/.login_conf: Permission denied
> May  1 03:20:00 kingfish cron[69809]: _secure_path: cannot stat 
> none/.login_conf: Permission denied
> May  1 03:25:00 kingfish cron[71715]: _secure_path: cannot stat 
> none/.login_conf: Permission denied
> May  1 03:27:00 kingfish cron[72191]: _secure_path: cannot stat 
> none/.login_conf: Permission denied
> May  1 03:30:00 kingfish cron[72599]: _secure_path: cannot stat 
> none/.login_conf: Permission denied
> May  1 03:35:00 kingfish cron[74371]: _secure_path: cannot stat 
> none/.login_conf: Permission denied
> 
> there are no error messages in /usr/local/mailman/logs/error. my 
> virtusers table looks like this:
> 
> admin at lists.scoastnet.com.au    mail at iaindooley.com
> 
> my mailertable looks like this:
> 
> lists.scoastnet.com.au  mailman:lists.scoastnet.com.au
> 
> i have included the following in mm_cfg.py:
> 
> DEFAULT_EMAIL_HOST = 'lists.scoastnet.com.au'
> DEFAULT_URL_HOST = 'lists.scoastnet.com.au'
> add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
> 
> the url lists.scoastnet.com.au resolves to the same IP address as 
> kingfish.scoastnet.com.au
> 
> there is this line in mm-handler:
> 
> $SENDMAIL = "/usr/lib/sendmail -oem -oi";
> 
> there is no file called /usr/lib/sendmail on my machine. there is a 
> binary for sendmail called:
> 
> /usr/sbin/sendmail
> 
> i tried changing the $SENDMAIL line above to:
> 
> $SENDMAIL = "/usr/sbin/sendmail -oem -oi";
> 
> but still no results. is there anything else i can provide to help 
> someone diagnose my problem? i'm pretty lost...
> 
> cheers
> 
> iain
> ------------------------------------------------------
> Mailman-Users mailing list
> Mailman-Users at python.org
> 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/mail%40iaindooley.com
> 
> Security Policy: 
> http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp



More information about the Mailman-Users mailing list