On Mon, October 30, 2006 3:22 am, [EMAIL PROTECTED] wrote:
>> [EMAIL PROTECTED] wrote:
>>> Hi all.  We're trying to set up a courier mail server that will
>>> filter all e-mail, and add SpamAssassin headers, and then forward on
>>> to another mail
>>> server.  We also have all our users in LDAP.  We can't get it to
>>> work, and any general tips would be appreciated.
>> General tip, why do you need a second mail system for this?
> The load on the other server was too high, and this is a simple
> way of separating things.

OK.

>> Postfix could just call maildrop itself which would be responsible for
>>
> calling
>> SA and filtering.
>>
>
> 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" }
> -----
>

Huh?  Why not just have maildrop send the message?  You can use

to "[EMAIL PROTECTED]"

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.  I have
this in my /etc/courier/maildroprc file and it saves me the trouble of
creating a forwarding rule per user.

Jay
-- 
Jay Lee
Network / Systems Administrator
Information Technology Dept.
Philadelphia Biblical University
--

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