Skip site navigation (1)Skip section navigation (2)
Date:      22 Aug 2002 16:54:56 +0000
From:      Josh Paetzel <friar_josh@webwarrior.net>
To:        Matt Snow <drama@slakin.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Postfix question....
Message-ID:  <1030035303.268.28.camel@markx.vladsempire.net>
In-Reply-To: <20020822132330.J27882-100000@seven.slakin.net>
References:  <20020822132330.J27882-100000@seven.slakin.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2002-08-22 at 20:27, Matt Snow wrote:
> Hello all,
> I randomly get emails that show as coming from my mail servers hostname
> and get something like this in the maillog:
> 
> Aug 22 12:08:14 seven postfix/smtpd[26527]: connect from
> seven.slakin.net[67.112.126.134]
> Aug 22 12:08:14 seven postfix/smtp[26525]: warning: host
> seven.slakin.net[67.112.126.134] greeted me with my own hostname
> seven.slakin.net
> Aug 22 12:08:14 seven postfix/smtp[26525]: warning: host
> seven.slakin.net[67.112.126.134] replied to HELO/EHLO with my own hostname
> seven.slakin.
> net
> Aug 22 12:08:14 seven postfix/local[26526]: 89EF7848: to=<no-@slakin.net>,
> relay=local, delay=90430, status=deferred (SOFT BOUNCE - unknown user:
>  "no-")
> Aug 22 12:08:14 seven postfix/smtp[26525]: 4D7F18C3:
> to=<dr4ma@quak.slakin.net>, relay=seven.slakin.net[67.112.126.134],
> delay=75418, status=defe
> rred (SOFT BOUNCE - mail for quak.slakin.net loops back to myself)
> Aug 22 12:08:14 seven postfix/smtpd[26527]: lost connection after EHLO
> from seven.slakin.net[67.112.126.134]
> Aug 22 12:08:14 seven postfix/smtpd[26527]: disconnect from
> seven.slakin.net[67.112.126.134]
> 
> How can I stop this from happening?
> 
> * * * * * * * *
> Matt Snow

adding the following lines to /usr/local/etc/postfix/main.cf should do
the trick:

smtpd_helo_required = yes
smptd_client_restrictions = Reject_unknown_hostname

Josh



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1030035303.268.28.camel>