Postings by Enrico Morelli

How to block mail coming from a domain


in this days my mail server receiving a lot of mail coming from a
domain ending with .monster. Every day the central part of the domain

I tried to put .monster or *.monster in sender_access but doesn't work.
Is there a way to block *.monster mails?

Postfix log


I upgraded Debian from version 9 to 10 and consequently postfix 3.1.12
to 3.4.5. I'm checking log with multitail in real time and with the new
postfix version, I've a strange behavior. When the logs rotate, postfix
continues to write in the old file renamed mail.log.1 instead of the
new mail.log.

Postfix upgrade, possible issue


I would to upgrade our mail server from Debian 9 to 10. The postfix
version on Debian 9 is 3.1.12 while on Debian 10 will be 3.4.5. Can I
encounter issue during the upgrade? Are there incompatible
configuration options between the two versions?

Forwarded mail problem

Dear all,

I having some problem forwarding some emails to Gmail addresses.
Sometime the emails are bounced cause:

This message does not have authentication information or fails to pass
550-5.7.1 authentication checks. To best protect our users from spam,
the 550-5.7.1 message has been blocked. Please visit 550-5.7.1
<a href="" title=""></a> for more
550 5.7.1 information. k11si3359248wrp.39 - gsmtp (in reply to end of
DATA command))

I'm sure that these emails aren't spam.

Someone can explain me why? Is there some misconfiguration in my mail

Postfix & logrotate

This problem is not strictly related to Postfix, but I'm going crazy
trying to solve it. I've a postfix mail server on Debian 9.

Postfix - Amavis erroneus SPAM

Deal, a software that control an hardware has to send alarm mail when
something happens. Starting from two weeks ago, the alarms stops to be
sent and checking in the mail server logs I see the following message:

Mar 12 09:03:57 mailserver amavis[14797]: (14797-01) Blocked SPAM
{DiscardedOpenRelay,Quarantined}, [150.217.XXX.XXX]:3685 [150.217.XXX.XXX] <mail@mydomain> ->
<mail@externaldomain>, quarantine: M/spam-M9145UbnjoSh.gz, Queue-ID: CB9E3837E0F, Message-ID:
<5E7A686C7FD740989C918BF83AAEECF3@6204eng1>, mail_id: M9145UbnjoSh,
Hits: 6.57, size: 639, 551 ms

The alarms are blocked as SPAM.

Helo rejected


my user don't receive mail from a real sender cause our mail server
reject the Helo command:

NOQUEUE: reject: RCPT from[]: 450 4.7.1
<NTFYOHSrvNLES05.ntfy.local>: Helo command rejected: Host not found; from=< ... at xxx dot xxx.xx> to=< ... at xxx dot xxx.xx> proto=ESMTP
Nov 8 17:55:46 genio postfix/smtpd[3667]: disconnect from[] ehlo=1 mail=1
rcpt=0/1 rset=1 quit=1 commands=4/5

Is there a way to receive these mails?


Helo command rejected: Host not found

I'm trying to configure my outlook account to send email through my
mail server, but I receive the following error:

InvalidRecipientsException: Invalid recipients were provided for the
message: ' ... at cerm dot' (450 4.7.1
<HE1PR1001MB1369.EURPRD10.PROD.OUTLOOK.COM>: Helo command rejected:
Host not found

Is there a way to put * in a "white list"?