Hello,
Since this morning I can receive email, whitout doing something on my
server.
In maillog I can see the following errors:
2022-10-31 08:59:37
postfix/smtpd[6632]: NOQUEUE: reject: RCPT from
fr-srvcomm[192.168.1.170]: 451 4.3.5 : Recipient address rejected:
Server configuration problem; from= to= proto=ESMTP helo=
2022-10-31 08:59:37
postfix/smtpd[6632]: warning: problem talking to server
private/policyd-spf: Connection reset by peer
2022-10-31 08:59:37
postfix/smtpd[6632]: warning: premature end-of-input on
private/policyd-spf while reading input attribute name
2022-10-31 08:59:37
postfix/spawn[6636]: warning: command /usr/bin/policyd-spf exit status 1
2022-10-31 08:59:36
postfix/smtpd[6632]: warning: premature end-of-input on
private/policyd-spf while reading input attribute name
2022-10-31 08:59:36
postfix/spawn[6636]: warning: command /usr/bin/policyd-spf exit status 1
2022-10-31 08:59:34
postfix/smtpd[6632]: connect from fr-srvcomm[192.168.1.170]
2022-10-31 08:59:34
postfix/postscreen[6631]: WHITELISTED [192.168.1.170]:33462
2022-10-31 08:59:34
postfix/postscreen[6631]: CONNECT from [192.168.1.170]:33462 to
[192.168.1.160]:25
When I disable policyd-spf it's works without issue.
* main.cf:
policyd-spf_time_limit = 3600
smtpd_recipient_restrictions =
check_policy_service unix:private/policyd-spf
* master.cf:
policyd-spf unix - n n - 0 spawn
user=nobody argv=/usr/bin/policyd-spf
/etc/postfix-policyd-spf-python/policyd-spf.conf
* /etc/postfix-policyd-spf-python/policyd-spf.conf:
debugLevel = 2
TestOnly = 1
HELO_reject = Fail
Mail_From_reject = Fail
PermError_reject = False
TempError_Defer = False
skip_addresses = 127.0.0.0/8,::ffff:127.0.0.0/104,::1
Whitelist = 192.168.1.0/24
--------------------------------------------------
Ce message et toutes les pièces jointes (ci-après le "message") sont établis à
l’intention exclusive des destinataires désignés. Il contient des informations
confidentielles et pouvant être protégé par le secret professionnel. Si vous recevez ce
message par erreur, merci d'en avertir immédiatement l'expéditeur et de détruire le
message. Toute utilisation de ce message non conforme à sa destination, toute diffusion
ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse de
l’émetteur. L'internet ne garantissant pas l'intégrité de ce message lors de son
acheminement, l'expéditeur décline toute responsabilité au titre de son contenu. Bien que
ce message ait fait l’objet d’un traitement anti-virus lors de son envoi, l’émetteur ne
peut garantir l’absence totale de logiciels malveillants dans son contenu et ne pourrait
être tenu pour responsable des dommages engendrés par la transmission de l’un d’eux.
Pensez environnement ! N’imprimez cet email que si c’est nécessaire.
This message and any attachments (the "message") are intended solely for the
addressee(s). It contains confidential information, that may be privileged. If you
receive this message in error, please notify the sender immediately and delete the
message. Any use of the message in violation of its purpose, any dissemination or
disclosure, either wholly or partially is strictly prohibited, unless it has been
explicitly authorized by the sender. As its integrity cannot be secured on the internet,
the sender decline any liability for the content of this message. Although the sender
endeavors to maintain a computer virus-free network, the sender does not warrant that
this transmission is virus-free and will not be liable for any damages resulting from any
virus transmitted.
Think environment! Print this email only if necessary.
--------------------------------------------------