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

This is a discussion on Re: [courier-users] filtering and forwarding mail to another server within the Courier-Imap forums, part of the Mail Servers and Related category; sysadmin@sunet.com.au wrote: > Hi all. We're trying to set up a courier mail server that will ...


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-28-2006
Jay Lee
 
Posts: n/a
Default Re: [courier-users] filtering and forwarding mail to another server

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? Postfix
could just call maildrop itself which would be responsible for calling
SA and filtering. The simpler your system is, the fewer problems you'll
have, but you may have your reasons for having 2 servers...
> The way we've approached the problem so far is to use courierlocal to
> push the messages through maildrop, which adds the SpamAssassin headers, and
> then forwards the message to an installation of the "postfix" mail server.
> The problem with this approach is that it keeps saying:
>
> Oct 27 17:30:59 jupiter courierlocal: No such file or directory
> Oct 27 17:30:59 jupiter courierlocal:
> id=008C805D.4541B5AE.00003E20,from=<sysadmin@sunet .com.au>,addr=<pbch@sunet.com.au>,status:
> deferred
>
> Basically, if we create home directories for all our users on this
> machine, then it will work. But we don't *want* them to have home
> directories
> here.
>
>

Why not? If they don't have accounts they can't do anything with them
anyway. I have some users forwarding on to a old install of
Mercury/Pegasus Mail, they exist in LDAP so all Courier has for them is
a home directory. I have LDAP_MAILROOT set to /var/maildir and
LDAP_HOMEDIR set to the uid attribute. I have a cron script that checks
for new or removed LDAP accounts so I don't have to do anything when new
users are created in the LDAP directory.

Jay
> I looked at using the authldap stuff instead of pam_ldap, but a) this
> seems to require home directories anyway, and b) I wasn't 100% sure that
> courier-mta used this, since it seemed to be oriented to courier-imap.
>
> What would be ideal is if we could work out some way to push the
> e-mail through maildrop, and then into the esmtp output module for remote
> delivery.
>
> Any ideas on either a different approach or help towards fixing our
> problems would be appreciated.
>



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

vB 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 06:39 AM.


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