>> Having sorted PAM SMTPAUTH the user/client 172.25.120.2 is now treated
>> as  server's local user and filter rules using from local are matched.
>> Thence, amended
>>
>> [ accept from source 172.25.120.2 for any relay via
>> smtp://127.0.0.1:10027 ] to [ accept from source 172.25.120.2 for any
>> relay ] and DKIM is working now for that client as well.
>>
>> Appreciate the feedback/assistance provided here.
>
> The matching rule for you should now be:
>
> accept (from local) for any relay viasmtp://127.0.0.1:10027
>
> This rule matching would again bypass DKIM and is redundant:
>
> accept from source 172.25.120.2 for any relay
>

The way is set and working now:

listen on lo inet4 port 25 tls-require hostname mail mask-source tag lo
listen on lo inet4 port 587 smtps hostname mail mask-source tag lo
listen on eth0 inet4 port 25 tls-require auth hostname mail mask-source
tag lan
listen on eth0 inet4 port 587 smtps auth hostname mail mask-source tag lan
listen on lo port 10028 mask-source tag DKIM

accept tagged DKIM for any relay
accept for any relay via smtp://127.0.0.1:10027
accept from local for any relay
accept from source 172.25.120.2 for any relay


--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Reply via email to