Ubuntu mail headers are not best practice
DULMANDAKH Sukhbaatar
dulmandakh at gmail.com
Wed Jul 11 14:24:23 BST 2007
Banner is configured in /etc/postfix/main.cf by
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
You can change it to
smtpd_banner = $myhostname ESMTP
that's all. I think that there is no need to change default configuration file.
On 7/10/07, Matthew Garrett <mjg59 at srcf.ucam.org> wrote:
> On Tue, Jun 19, 2007 at 09:02:01AM -0700, Sherman Boyd wrote:
> > The default postfix configuration sets the mail header to something like this:
> >
> > 220 mx.myhostname.com ESMTP Postfix (Ubuntu)
> >
> > This gives anyone who connects to port 25 both the name of your SMTP
> > software and your Linux distribution. There is no reason to disclose
> > this information, and from a security perspective it is a best
> > practice not to.
>
> In reality, anyone can figure out which mail daemon and Linux
> distribution you're running with a high degree of certainty anyway.
> Hiding this information doesn't actually buy you anything and makes
> debugging various issues harder.
>
> --
> Matthew Garrett | mjg59 at srcf.ucam.org
>
> --
> ubuntu-devel mailing list
> ubuntu-devel at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
>
--
Regards
Dulmandakh
More information about the ubuntu-devel
mailing list