This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SMTP and SENDMAIL COMMAND.. how to

hi,
does any1 know how to disable MAIL command when telnetting to port 25 ?

eg:

>telnet 172.16.1.3  25
>220 xyz.com ESMTP ready
>helo XYZ.com
>mail from: info@xyz.com
>250 OK
....

If i need to block firewall ESMTP command line what i need to do ? It's possible to let  the firewall reply 
"unrecognaized command" when someone use the " MAIL FROM:" command ?

tnks


This thread was automatically locked due to age.
  • [ QUOTE ]
    hi,
    does any1 know how to disable MAIL command when telnetting to port 25 ?

    eg:

    >telnet 172.16.1.3  25
    >220 xyz.com ESMTP ready
    >helo XYZ.com
    >mail from: info@xyz.com
    >250 OK
    ....

    If i need to block firewall ESMTP command line what i need to do ? It's possible to let  the firewall reply 
    "unrecognaized command" when someone use the " MAIL FROM:" command ?

    tnks 

    [/ QUOTE ]

    yeah, just shut down your mail server ;-)

    no serious, there is no difference if somebody uses telnet or another server is talking to your server. mailservers communicate with the"mail from:" -command as well. at least i thought. wrong ?

    greets,

    gnjb