On 2024-07-19 at 08:36:23 UTC-0400 (Fri, 19 Jul 2024 14:36:23 +0200)
Gerd Hoerst via Postfix-users <g...@hoerst.net>
is rumored to have said:

Hi !

My Mail server is setup with DKIM/DMARC/SPF and it working. My network is connected to this server with a vpn.

You need to provide more complete information. As stated at https://www.postfix.org/DEBUG_README.html#mail you should provide the output of these commands:

postconf -nf
postconf -Mf

Those provide the non-default settings from main.cf and master.cf.

You should also include relevant log messages.


Now some devices within network want to send messages to users inside and outside the domain.

i have a local postfix installation on an internal device which i use as "gateway" to my mailserver. the transport is setup to send all mail to this server. but for example if my scanner tries to send an email to a user on the mailserver i get this

<lj...@hoerst.net>: host 192.168.99.1[192.168.99.1] said: 550 5.7.1 Command
    rejected (in reply to end of DATA command)
(192.168.99.1 is the vpn interface of the regular mailserver)

Because that error came at the "end of DATA command" it was not due to any restrictions you have configured for earlier stages.

The most likely cause of this is a message filter of some sort, e.g. a milter, a content_filter, or SMTP proxy (e.g. Amavis). What mechanisms are available to exempt mail from filters depends on what that filter is and how it is integrated. Generally speaking, exemptions are done in the external filter, not in Postfix itself.


i send them via TLS and authentication...

in the mailserver is setup

smtpd_sender_restrictions = permit_mynetworks,
                            permit_sasl_authenticated,                             reject_non_fqdn_sender,                             reject_unknown_sender_domain

in mynetworks 192.168.99.1 is included...

So how can i manage the mailserver to accept all mail on vpn interface ?

Ciao Gerd

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo@toad.social and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to