Strange thing...

Glenn Steen glenn.steen at gmail.com
Fri Jun 8 11:46:57 IST 2007


On 08/06/07, Pedro Cardoso <xmasterx at gmail.com> wrote:
> Hi there,
>
> in my postfix config I have blocked all relays, exept to mydomain.com, but
> in today I see this in my maillog:
>
> Jun  8 06:26:03 mydomain postfix/smtpd[5917]: connect from unknown[
> 201.250.31.160]
> Jun  8 06:26:04 mydomain postfix/smtpd[5917]: 67EE2D5412F:
> client=unknown[201.250.31.160]
> Jun  8 06:26:05 mydomain postfix/cleanup[5920]: 67EE2D5412F: hold: header
> Received: from none (unknown [ 201.250.31.160])??by mydomain.com (Postfix)
> with SMTP id 67EE2D5412F??for <asdf at asdf-com>; Fri,  8 Jun 2007 06:26:04
> +0100 (WEST) from unknown[ 201.250.31.160]; from=<asdf at asdf.com>
> to=<asdf at asdf-com.mydomain.com> proto=SMTP helo=<none>
> Jun  8 06:26:05 mydomain postfix/cleanup[5920]: 67EE2D5412F: message-id=<
> 20070608052604.67EE2D5412F at mydomain.com>
> Jun  8 06:26:05 mydomain postfix/smtpd[5917]: disconnect from
> unknown[201.250.31.160 ]
> Jun  8 06:26:12 mydomain MailScanner[27473]: New Batch: Scanning 1 messages,
> 769 bytes
> Jun  8 06:26:12 mydomain MailScanner[27473]: Spam Checks: Starting
>
> then MailScanner catchs it as spam, but if it would the mail would be
> delivered to asdf at asdf.com?
>
> Regards,
No, what made you think that? It'd try to deliver/relay to
asdf at asdf@asdf-com.mydomain.com ... Which probably doesn't exist.
You could have blocked this in Postfix by:
a) demanding a HELO.
b) demanding that the helo be a FQDN ... and nothing else.
c) check for valid recipients.
man postconf ... and looking at the MailScanner wiki
(http://wiki.mailscanner.info/doku.php?id=documentation:configuration:mta:postfix:how_to:reject_non_existent_users)...

Cheers
-- 
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se


More information about the MailScanner mailing list