Re: [courier-users] Courier-mta as Pre-Processor/Relay

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@...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-05-2005
Jay Lee
 
Posts: n/a
Default Re: [courier-users] Courier-mta as Pre-Processor/Relay

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:15 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0