[EMAIL PROTECTED] a écrit :
> Hi,
> 
> i have some problems with spammers and i would like to ask how to set
> postfix to validate sender email addresses only for our domains. Is
> there some way to do this?

what do you mean exactly by "validate"? check that the address exists?
you can use reject_unlisted_sender.

> 
> Other thing that i want to ask. I have this problem:
> 
> i connect thru telnet to the smtp server and send email this way:
> 
> helo myhostname.example.com
> mail from:[EMAIL PROTECTED]
> rcpt to:[EMAIL PROTECTED]
> data
> something here
> .
> quit
> 
> mydomain.com is domain from the system.
> 
> i'm able to send spam to this user, using the same email address in
> "mail from" field.
> 
> Is there some way to protect my mailserver from this kind of things for
> our domains. If "mail from" use our domains (for example
> [EMAIL PROTECTED]), then to require authentication.
> 


smtpd_sender_login_maps =
        hash:/etc/postfix/sender_login

smtpd_sender_restrictions =
        reject_sender_login_mismatch


http://www.postfix.org/postconf.5.html#smtpd_sender_login_maps


> In any case we use sasl and we require sasl authentication, but i see
> this problem.
> 
> How to solve this?
> 

Reply via email to