Mark Constable wrote:
> On Friday 13 October 2006 00:41, Bowie Bailey wrote:
> > Unless I'm missing something...  Isn't that last 'else' block
> > completely unnecessary?  As I understand it, maildrop works like
> > this: 
> > 
> > - Process maildroprc file
> > - Process $HOME/.mailfilter
> > - Deliver to $HOME/Maildir
> 
> I thought it was... ?
> 
> - Process $HOME/.mailfilter
> - Process maildroprc file
> - Deliver to $HOME/Maildir

No, the maildroprc is processed first.  If it specifies a delivery,
it will override anything in the $HOME/.mailfilter files.

Here's the relevant part of the man page:

    If the file /etc/courier/maildroprc exists, mail delivery or mail
    filtering instructions  are  read  from  that  file.   maildrop's
    delivery/filtering  instructions  may  direct maildrop to save the
    message in specific mailbox, discard it, return it to sender, or
    forward it to a different E-mail address.

    If /etc/courier/maildroprc does not exist, or its mail delivery
    instructions do not completely dispose of  this  message,
    maildrop then  reads  the  mail delivery instructions from
    $HOME/.mailfilter.  If it doesn't exist, or its mail delivery
    instructions do not completely dispose of the message, maildrop
    then saves the E-mail message in the default mailbox.

-- 
Bowie

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to