Click to See Complete Forum and Search --> : qmail relay blues... blocking spammers


Mogwai
07-12-2002, 12:29 AM
Ok, I may be going about this whole concept wrong... If I am, don't hesitate to tell me, I'm not a total n00b, and I have a basic clue of what I'm doing, just not a really solid clue ;)


Anyways, I'm running qmail as my smtpd, and I have a number of dialup users who need to connect to send and receive mail, as well as some dsl users. The dialup users are on dynamic ip, some of the dsl users are on static, some are on dynamic, and some are on NAT (UGH!)...

I don't want to leave the server on open relay, obviously, because that would allow john q spammer to send his nasty wares through MY server... making me part of the problem, and not part of the solution...

So down to the actual question part of my post... I've seen a number of e-mail servers that do both pop3 and smtp on the same machine that will temporarily allow sending from an ip address after a successful pop3 authentication and check. I know this is not maximum security, but it will at least keep me from being open relay. Is there an easy way to set this up, or is this a total PITA? Or, am I going about this all the wrong way, and should I be setting something up completely differently? I did a search hoping to find info already posted, but all I came up with was related to tcpserver, which I am not running (the machine is behind a firewall, and the ports I need open are handled by the firewall, but it doesn't have the mail restriction capabilities I believe I need.)

Thanks in advance for any help that might be offered.

anonilir
07-12-2002, 09:34 AM
What popmail server are you using?

have your tried vpopmail. It works with qmail well and also supports the authentication of relaying by the pop accounts

http://www.inter7.com/vpopmail/

furrycat
07-13-2002, 12:01 PM
Go to qmail.org and find one of several projects which allow POP before SMTP.

Also spend some time getting to know qmail. You say you aren't using tcpserver. You should be.