[Mimedefang] Re: delete_recipient does not work for mixed case recipients

Justin Michael jmichael at msn.fullfeed.com
Tue Feb 17 16:15:07 EST 2004


On Fri, Feb 13, 2004 at 03:23:19PM -0500, Justin Michael wrote:
> Hi,
> 
> I'm still having a problem with mimedefang's delete_recipient
> not working with a mixed case recipient.  

It looks to me that mimedefang is sending the recipient in
all lower case, but that sendmail is looking for exact case.

I looked at mimedefang.pl and mimedefang.c and since mimedefang.c
relies on smfi_delrcpt.  In libmilter smfi_delrcpt calls mi_wr_cmd.
In milter.c, milter_delrcpt calls removefromlist
In recipient.c, removefromlist calls sameaddr
In parseaddr.c, sameaddr uses bitset to compare userids and then
strcmp to compare domains.

In the logs,  mimedefang reports the recipient as all lower case,
no matter how RCPT TO: is reported to sendmail.  And sendmail, when
it logs the e-mail recipients, lists the recipient in mixed case.

Suggestions?

Thanks!


Justin


Feb 13 14:46:53 mail3 mimedefang.pl[27999]: i1DJkfpe032375: Moved SPAM: 20.829 jmichael at msn.fullfeed.com mike at alphamgmt.com
Feb 13 14:46:53 mail3 sendmail[32381]: i1DJkfpe032375: to=spamdrop at mydomain.net, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30488, relay=mta.mydomain.net. [IP.ADR.HRE.XX], dsn=2.0.0, stat=Sent (i1DJkrku029201 Message accepted for delivery)
Feb 13 14:46:53 mail3 sendmail[32381]: i1DJkfpe032375: to=<MIkE at alPHamgmt.com>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30488, relay=myserver.mydomain.com. [IP.NO.WAS.HRE], dsn=2.0.0, stat=Sent (Message accepted for delivery)
 



More information about the MIMEDefang mailing list