IP Tables blocking SMTP



Hi,

I need to block SMTP relay attempts from a specific IP on my lan.
I have setup the sendmail access file to only allow relaying from the
machines that need to but still get relaying denied in my maillog.

Is there a way I can use IP tables to block relaying attempts from a
specific
IP address ? (Thus not having the relaying denied messages in my maillog).

Thanks,

Leo


.



Relevant Pages

  • Re: IP Tables blocking SMTP
    ... I need to block SMTP relay attempts from a specific IP on my lan. ... I have setup the sendmail access file to only allow relaying from the ... Yes, you can block IPs with iptables, but you shouldn't, as your SMTP will not anymore be following the standard and can end in a blacklist as badly configured SMTP. ...
    (alt.linux)
  • Re: access db problem
    ... This error only occasionally happened in the maillog file ... Relaying: transmission of messages from a site outside your host ... Your hosy rejects mail *RELAYING* from such broken rDNS IPs but accepts ... AFAIR you can "fix" it for AUTHenticated submissions by using ...
    (comp.mail.sendmail)