Re: OpenSMTPd + Dovecot + mlmmj infinite loop while sending messages from localhost to any remote addresses

2020-03-10 Thread Martin
Update: signing by DKIM proxy must be the latest rule to prevent looping. Below is updated correct rules order. listen on lo0 port 1030 tag DKIM_OUT action "dkim-sign" relay host smtp://127.0.0.1:1030 match tag DKIM_OUT for any action "outbound" match from local for any action "dkim-sign"

Re: OpenSMTPd + Dovecot + mlmmj infinite loop while sending messages from localhost to any remote addresses

2020-03-10 Thread Martin
Finally fixed smtpd looping behavior. /etc/dkimproxy_out.conf points to message signing keys which have insufficient permissions to read. Affected rules: listen on lo0 port 1030 tag DKIM_OUT action "dkim-sign" relay host smtp://127.0.0.1:1030

Re: OpenSMTPd + Dovecot + mlmmj infinite loop while sending messages from localhost to any remote addresses

2020-03-10 Thread Martin
table reject-subnet file:/etc/mail/reject-subnet (contains 192.168.2.0/24) table reject-domain file:/etc/mail/reject-domain (contains nothing) table reject-domain file:/etc/mail/reject-domain-helo (contains nothing) action "local-aliases" lmtp "/var/dovecot/lmtp" rcpt-to alias action

Re: OpenSMTPd + Dovecot + mlmmj infinite loop while sending messages from localhost to any remote addresses

2020-03-10 Thread Reio Remma
Try running 'smtpd -d -T rules' and see what rule you're hitting. Or alternatively 'smtpctl trace rules' and look at maillog and later turn it off with 'smtpctl untrace rules'. match auth most likely doesn't work at all if you submit to port 25 without authentication. Good luck, Reio On

Re: OpenSMTPd + Dovecot + mlmmj infinite loop while sending messages from localhost to any remote addresses

2020-03-10 Thread Reio Remma
On 10/03/2020 15:18, Martin wrote: Hello list, Undefined problem with mail infinite looping if I send messages from mail server's localhost to any domains outside. If I sent mail from mail server itself (from localhost) to aliased addresses and virtuals on the same mail's server domain, all

OpenSMTPd + Dovecot + mlmmj infinite loop while sending messages from localhost to any remote addresses

2020-03-10 Thread Martin
Hello list, Undefined problem with mail infinite looping if I send messages from mail server's localhost to any domains outside. If I sent mail from mail server itself (from localhost) to aliased addresses and virtuals on the same mail's server domain, all the messages delivered fine even sent