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 [EMAIL 
PROTECTED] [EMAIL PROTECTED]
Feb 13 14:46:53 mail3 sendmail[32381]: i1DJkfpe032375: [EMAIL PROTECTED], 
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=<[EMAIL PROTECTED]>, 
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)
 
_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to