This is a discussion on Re: [courier-users] Courier-mta as Pre-Processor/Relay within the Courier-Imap forums, part of the Mail Servers and Related category; Bowie Bailey wrote: > /etc/courier/maildroprc: > xfilter "spamc" > > $HOME/.mailfilter: > to "! username@...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Bowie Bailey wrote:
> /etc/courier/maildroprc: > xfilter "spamc" > > $HOME/.mailfilter: > to "! username@exchangeserver.domian.com" You can save yourself the trouble of creating per user .mailfilters and also keep the original sender by using this in your maildroprc: import LOCAL import SENDER import SENDMAIL to '|$SENDMAIL -f "$SENDER" -i "$LOCAL@exchange.domain.com"' otherwise, if the exchange server rejects the message for any reason, no delivery failure will be generated since maildrop by default sets mail from to blank in newer versions (in most cases this is a good thing as it prevents loops). Jay -- Jay Lee Network / Systems Administrator Information Technology Dept. Philadelphia Biblical University -- ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users |