Add smtpd_sender_restrictions =
         permit_mynetworks
         check_client_access cidr: /etc/postfix/trusted_ips.cidr
         permit_sasl_authenticated
         check_sender_access inline: {
             {almogavers.net = Local REJECT sender from unauthorized client}
         }
This seemed to work, but since yesterday they have sent again the mails where the from and the for is the local mail itself, without the change-path is totally different. Is there any way to solve this?

This is the Headers:

From - Tue Feb 19 12:04:33 2019
X-Account-Key: account1
X-UIDL: 00019b2b5a2739cc
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
X-Mozilla-Keys:
Return-Path: <cont...@producoesstage.com.br>
X-Original-To: naz...@almogavers.net
Delivered-To: naz...@almogavers.net
Received: from localhost (localhost [127.0.0.1])
        by almogavers.net (Postfix) with ESMTP id E49457E0D1B
        for <naz...@almogavers.net>; Tue, 19 Feb 2019 12:03:39 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at ns.almogavers.net
Received: from almogavers.net ([127.0.0.1])
        by localhost (ns.almogavers.net [127.0.0.1]) (amavisd-new, port 10024)
        with ESMTP id giSctYV0inip for <naz...@almogavers.net>;
        Tue, 19 Feb 2019 12:03:33 +0100 (CET)
X-Greylist: delayed 10541 seconds by postgrey-1.36 at ns.almogavers.net; Tue, 
19 Feb 2019 12:03:32 CET
Received: from mcegress-30-lw-37.correio.biz (mcegress-30-lw-37.correio.biz 
[191.252.30.37])
        by almogavers.net (Postfix) with ESMTP id 4D2FD7E0A4F
        for <naz...@almogavers.net>; Tue, 19 Feb 2019 12:03:31 +0100 (CET)
X-Sender-Id: x-authuser|cont...@producoesstage.com.br
Received: from mcbain0004.email.locaweb.com.br (mcingress0005.correio.biz 
[10.30.225.40])
        by mcrelay.correio.biz (Postfix) with ESMTP id A8E4BAA117
        for <naz...@almogavers.net>; Tue, 19 Feb 2019 05:03:35 -0300 (-03)
X-Sender-Id: x-authuser|cont...@producoesstage.com.br
Received: from mcbain0004.email.locaweb.com.br
 (mcbain0004.email.locaweb.com.br [10.30.224.222])
        by 0.0.0.0:2500 (trex/5.9.14);
        Tue, 19 Feb 2019 05:03:37 -0300
X-LW-Relay: Bad
X-LW-SenderId: x-authuser|cont...@producoesstage.com.br
Received: from mcbain0004.email.locaweb.com.br (localhost [127.0.0.1])
        by mcbain0004.email.locaweb.com.br (Postfix) with ESMTP id DB261180B7F
        for <naz...@almogavers.net>; Tue, 19 Feb 2019 05:03:31 -0300 (-03)
Received: from proxy.email-ssl.com.br (bartf0013.email.locaweb.com.br 
[10.31.120.77])
        by mcbain0004.email.locaweb.com.br (Postfix) with ESMTP id C2F12180C3F
        for <naz...@almogavers.net>; Tue, 19 Feb 2019 05:03:31 -0300 (-03)
x-locaweb-id: 
_tZEaN0NsY7zyg7VxrJHAmJNEIJ4IdvWnzhVR4f_9RsA-MybeOLP2mW9-5C7Tadytowcp1rmFFun6-BF_4TOWqA2j2w9mQuFKjXpQU_QT7vqyjuySQB-c15pL6OZJRHhNwKtSsUqlCBi8X_HlXdvJMPNwrfSkidQpWFIGRLxWs9IgP9Oj8o8lVBMKL3h5ga6NP7oHxuIvpovD3xbhv8QAd1McTDtVO2bt9M4ytMxrFM=
 
NjM2ZjZlNzQ2MTc0NmY0MDcwNzI2ZjY0NzU2MzZmNjU3MzczNzQ2MTY3NjUyZTYzNmY2ZDJlNjI3Mg==
X-LocaWeb-COR: locaweb_2009_x-mail
X-AuthUser: cont...@producoesstage.com.br
Received: from [] (unknown [201.20.100.54])
        (Authenticated sender: cont...@producoesstage.com.br)
        by proxy.email-ssl.com.br (Postfix) with ESMTPA id 282761180C9E
        for <naz...@almogavers.net>; Tue, 19 Feb 2019 05:03:28 -0300 (-03)
X-Priority: 5 (Lowest)

--
*************************************************************************************************
Este mensaje y todos los archivos adjuntos son confidenciales y de uso 
exclusivo por parte
de su/sus destinatario/s. Si usted ha recibido este mensaje por error, le 
agradecemos que
lo notifique inmediatamente al remitente y destruya el mensaje. Queda prohibida 
cualquier
modificación, edición, uso o divulgación no autorizados. El Emisor no se hace 
responsable
de este mensaje si ha sido modificado, distorsionado, falsificado, infectado 
por un virus o
editado o difundido sin autorización.


***********************************************************************************************
This message and any attachments are confidential and intended for the named 
addressee(s) only.
If you have received this message in error, please notify immediately the 
sender, then delete
the message. Any unauthorized modification, edition, use or dissemination is 
prohibited.
The sender shall not be liable for this message if it has been modified, 
altered, falsified, infected
by a virus or even edited or disseminated without authorization.
***********************************************************************************************

Attachment: smime.p7s
Description: Firma criptográfica S/MIME

Reply via email to