2 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Restricting email...
FromSent OnAttachments
Mark BucciarelliApr 22, 2006 6:04 pm 
ma...@intron.acApr 22, 2006 10:02 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Restricting email senders by IPActions...
From:ma...@intron.ac (ma@intron.ac)
Date:Apr 22, 2006 10:02:50 pm
List:net.sourceforge.lists.courier-users

I am not sure whether IP-based webmail access control or IP-based authenticated SMTP access control you need. IP-based authenticated SMTP access control is set in

/usr/local/courier/etc/smtpaccess/default

After modification, run /usr/local/courier/share/makesmtpaccess . See the section "Create smtp access list" in INSTALL, and the manual page makesmtpaccess(8) (http://www.courier-mta.org/?makesmtpaccess.html).

Mark Bucciarelli wrote:

Is there anyway to restrict outgoing email by IP?

We use SMTP auth, but I do not trust my users--some send spam. It is a webmail-only service, so I know the source IP of all legitimate outgoing mail.

If I can tell courier to only allow SMTP auth from a given IP, I can use a pf rdr rule + dspam SMTP proxy to deal with these bastards.

To date, I have been monitoring the mail queue, which is a primitive hack, but appears to work Ok as spammers like to send emails to invalid addresses.

Any other suggestions most welcome.