> I run qmail on a linux server and there's a hard spamming through it.
> In my server there are four domain (three are virtuals).
> I set the rcpthosts file with the names of my domains (one per row).
> The problem is that now users of my domains can't send out mails.
>
> I know that one possible solution is to set the relayclient file,
> with ip addresses of my net.
> But doing so, I don't allow my users to connect from other addresses
> (for instance, the address given by an internet provider).
> The best way is to allow relaying only from "mydomain_1", "mydomain_2", etc.,
> but anyone can be validated, if tells to my host he is anyone@mydomain_X, and 
>spamming doesn't stop.

You are NOT the relay server for your clients, their providers are.
You should setup (or ask them to setup) their providers relay server
(for that netblock they belong to) as their smtp server,
this is a one time setup and fairly easy information to get a hold of.

If your customers are on the move and want's a "fixed" smtp server,
you should use SMTP authentication or something like POP-before-SMTP.

SMTP-authentication:
http://www.nimh.org/hacks/qmail-smtpd.c
http://www.elysium.pl/members/brush/qmail-smtpd-auth/


MVH Andr� Paulsberg



Reply via email to