On Tue, 2007-09-11 at 07:10 -0400, Sam Varshavchik wrote:
> It's not necessary to subject others to a boring trace file. The bottom line 
> was that the null return address was logically making Courier is alias's 
> .courier instead of .courier-default, which was missing, causing the default 
> delivery of running maildrop. Maildrop then discarded the message going to 
> the alias account, as per /etc/maildroprc.

OK, this makes a small amount of sense, SpamAssassin and ClamAV get run
from the global maildroprc file, and I added code to disallow spam and
virus processing but not delivery for mail addressed to [EMAIL PROTECTED]

Thus ....

# If alias account, do nothing.
if ( substr($USER, 0,6) eq "alias@" )
{
  EXITCODE=0
  exit
}

So I'm not deep-sixing these, or sending them to /dev/null, I'm just
telling courierlocal to forego checking any mail addressed to
[EMAIL PROTECTED] for spam and viruses. And yes, if I put in
a .courier file in the alias directory, any delivery instructions
therein are processed.

using "| cat > /tmp/lastmessage.txt" in a .courier file in the alias dir
I get exactly the same message captured whether I send email to
"[EMAIL PROTECTED]" or just "@fmp.com".  Both are processed according to the
rules in the .courier file.

This is not what I want.  Instead mail from outside the local system
(i.e. not being handed off from some other courier component) to either
"[EMAIL PROTECTED]" or especially to "@somedomain" should be rejected as
User unknown.

So the mystery is solved, but not the original problem.

-- 
Lindsay Haisley       | "In an open world,    |     PGP public key
FMP Computer Services |    who needs Windows  |      available at
512-259-1190          |      or Gates"        | http://pubkeys.fmp.com
http://www.fmp.com    |                       |


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to