Jay Lee wrote:
> On Mon, October 30, 2006 3:22 am, [EMAIL PROTECTED] wrote:
>> I've got courier calling maildrop, and maildrop calls SA and
>> filtering.  But the problem is, after it's been through maildrop, I want
>> it sent on to another computer.  I'm using postfix for that (see maildrop
>> rule below), which then forwards to another server.  If I can get courier
>> to do this instead of postfix, I'd be happier, but I couldn't see a way to
>> do it.
>>
>> -----
>> exception { to "|/usr/sbin/sendmail.postfix -t" }
>> -----

That won't work with multiple/bcc recipients. Anyway, calling SA from
maildrop is ineffective for multiple remote recipients, because one scans
the same message multiple times without the plus of maintaining per-user
bayesian data sets in their own home directories.

> I use something more complex like this:
> 
>     import SENDMAIL
>     import SENDER
>     import LOCAL
>     to '|$SENDMAIL -f "$SENDER" -i "[EMAIL PROTECTED]"'
> 
> so that the secondary server can also see the original sender.

(SPF checking should be disabled at the other server.)

> I have
> this in my /etc/courier/maildroprc file and it saves me the trouble of
> creating a forwarding rule per user.

Alternatively, it could be invoked from aliasdir/.courier-default in order
to apply it to non-local mailboxes only. That way it is possible to migrate
to the new server a few users at a time.

Non-existing recipients should be refused at rcptfilter stage in any case.
A large queue of undeliverable DSNs affect both bandwidth and load.

The alternate rcptfilter.c that I posted last Friday might be handy for
invoking a procedure that checks the remote (on lan) mailbox before Courier
accepts each recipient.

-------------------------------------------------------------------------
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
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to