Re: [courier-users] filtering and forwarding mail to another

This is a discussion on Re: [courier-users] filtering and forwarding mail to another within the Courier-Imap forums, part of the Mail Servers and Related category; On Mon, October 30, 2006 3:22 am, sysadmin@sunet.com.au wrote: >> sysadmin@sunet.com.au wrote: &...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-30-2006
Jay Lee
 
Posts: n/a
Default Re: [courier-users] filtering and forwarding mail to another

On Mon, October 30, 2006 3:22 am, sysadmin@sunet.com.au wrote:
>> sysadmin@sunet.com.au 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 "address@otherserver.com"

I use something more complex like this:

import SENDMAIL
import SENDER
import LOCAL
to '|$SENDMAIL -f "$SENDER" -i "$LOCAL@otherserver.com"'

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=...057&dat=121642
_______________________________________________
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:11 AM.


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