3 messages in net.sourceforge.lists.courier-usersRE: [courier-users] aliase to /dev/null
FromSent OnAttachments
Derrick T. WoolworthJan 23, 2004 9:17 am 
Mitch (WebCob)Jan 23, 2004 9:48 am 
Jon NelsonJan 26, 2004 9:57 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:RE: [courier-users] aliase to /dev/nullActions...
From:Jon Nelson (jnel@jamponi.net)
Date:Jan 26, 2004 9:57:25 pm
List:net.sourceforge.lists.courier-users

On Fri, 23 Jan 2004, Mitch \(WebCob\) wrote:

I THINK I have the answer on this...

For an alias you would have to deliver to "| cat >/dev/null" (but the preferred way is to discard the message in maildrop).

Do this by simply setting EXITCODE=0 and calling "exit":

EXITCODE=0 exit

Actually, I've recently learned that using EXITCODE=0 has a caveat - if you are using a .courier, it /doesn't stop subsequent delivery instructions/. One must use EXITCODE=99 (delivered) I think.

I learned this from the 'man dot-courier' manpage, and only offer it here because it may be useful to someone.