> [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.
> 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"
}
-----
> > 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=<[EMAIL PROTECTED]>,addr=<[EMAIL
> > PROTECTED]>,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.
Well, yes, but:
a) It will reject e-mail for all new users unless we set up a cron
job to
create home directories. Then it will still reject e-mails for all
new users for eg. the first 15 minustes
b) If we don't have to create home directories, everything is simpler,
and therefore less likely to break. After all, it's not like we're
*using* the home directories, since all mail is forwarded elsewhere
c) It's not elegant :).
> 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.
Well, that's good to know, and I'll do it that way if I have to,
but I just assumed there must be a better way :). After all, I've
heard of this
separate mail filtering server idea that we're implementing in a few places
before, so I assumed that things would be set up to do this with a bit less
difficulty :).
What would make it really easy is if there was some way to get the
ESMTP output stage to run maildrop :). That would mean that we're not using
courierlocal at all. If anyone knows if that's possible, that would be
wonderful.
> > 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.
Any help is much appreciated
Thanks,
Tim.
-------------------------------------------------------------------------
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