I found a workaround for this, and it's apparently a bug in Courier. 
Standard policy for mail accounts here is to have the account's
.mailfilters/rcptfilter exit with an EXITCODE of 99, which causes my virus
filter to look at the message as well as .mailfilters/smtpfilter.  If I exit
rcptfilter with EXITCODE = 0, then the problem doesn't occur.  I can safely
do this if I make it conditional on TCPREMOTEIP being the server's IP, or
the localhost IP, or some other trusted IP.

Thus spake Lindsay Haisley on Thu, May 13, 2004 at 02:09:16PM CDT
> I'm getting an odd error from courier's esmtp server from time to time.  If
> I have more than one recipient address in an email, as in two To: addresses
> or one To: and one Cc: address, I sometimes get the following:
> 
> "RCPT TO:<[EMAIL PROTECTED]> (412 You are whitelisted by this recipient,
> please try again later.)
> 
> Note that [EMAIL PROTECTED] is an off-site address, and one of the things
> that seems to cause this is that that one of the addresses is local and one
> remote.  If both addresses are remote, or both are local, I don't see it. 
> If I send to any single address, I don't see it.
> 
> Sometimes, I believe, it says "You are not whitelisted".
> 
> In either case, the mail is refused.  Customers using the webmail interface
> have complained about this too, when trying to CC themselves.
> 
> I'm using Courier 0.42.2
> 
> I thought for a while this was originating with my TMDA filters, which
> implement whitelists and blacklists, but on checking the source, these
> messages are coming out of courier, and often have nothing to do with
> accounts for which TMDA is set up.
> 
> What gives here, and how can I prevent this behavior?
> 
> -- 
> Lindsay Haisley       | "Everything works    |     PGP public key
> FMP Computer Services |       if you let it" |      available at
> 512-259-1190          |    (The Roadie)      | <http://www.fmp.com/pubkeys>
> http://www.fmp.com    |                      |
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: SourceForge.net Broadband
> Sign-up now for SourceForge Broadband and get the fastest
> 6.0/768 connection for only $19.95/mo for the first 3 months!
> http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
> _______________________________________________
> courier-users mailing list
> [EMAIL PROTECTED]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

-- 
Lindsay Haisley       | "Everything works    |     PGP public key
FMP Computer Services |       if you let it" |      available at
512-259-1190          |    (The Roadie)      | <http://www.fmp.com/pubkeys>
http://www.fmp.com    |                      |


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to