Re: Repeated 421 try again later erros

2019-10-09 Thread gilles
definitely rspamd given the message

October 9, 2019 10:41 PM, "Reio Remma" mailto:r...@mrstuudio.ee?to=%22Reio%20Remma%22%20)> wrote:
On 09.10.2019 23:13, Matt Schwartz wrote: Hello List,
I am getting a lot of repeated 421 try again later errors from various lists 
that I am a member of. There is one in particular that is coming from 
outbound.foodtecsolutions.com (http://outbound.foodtecsolutions.com). Here is 
an excerpt from my /var/log/maillog. I am running OpenBSD 6.6-current #344. 
Oct 9 16:07:53 meow smtpd[19379]: a52386b4311e607e smtp connected 
address=52.201.148.113 host=outbound.foodtecsolutions.com 
(http://outbound.foodtecsolutions.com)
Oct 9 16:07:53 meow smtpd[19379]: a52386b4311e607e smtp failed-command 
command="DATA" result="421 try again later"
Oct 9 16:07:53 meow smtpd[19379]: a52386b4311e607e smtp disconnected 
reason=quit 
Below is my smtpd.conf file: 
pki "mail" cert "/etc/ssl/mail.crt" 
pki "mail" key "/etc/ssl/private/mail.key"

table aliases file:/etc/mail/aliases (javascript:false)
table credentials passwd:/etc/mail/credentials
table extras file:/etc/mail/extras (javascript:false)
table relays file:/etc/mail/relays (javascript:false)
table rejects file:/etc/mail/rejects (javascript:false)
table virtuals file:/etc/mail/virtuals (javascript:false)

filter check_rejects phase connect match rdns regex  
disconnect "554 Forbidden"
filter check_rdns phase connect match !rdns 
disconnect "554 No Reverse DNS Configured"
filter rspamd proc-exec "filter-rspamd"

listen on lo filter rspamd
listen on egress tls pki "mail" hostname "mail.goblackcat.com 
(http://mail.goblackcat.com)" 
filter {check_rejects, check_rdns, rspamd}
listen on egress port submission tls-require pki "mail" hostname 
"mail.goblackcat.com (http://mail.goblackcat.com)" 
auth  filter {check_rejects, check_rdns, rspamd}

action "local_mail" mbox alias 
action "virtual_mail" maildir "/var/vmail/%{dest.domain}/%{dest.user}" junk 
virtual 
action "outbound" relay

match for local action "local_mail"
match !from src  mail-from "@goblackcat.com (http://goblackcat.com)" 
reject
match from any for domain "goblackcat.com (http://goblackcat.com)" action 
"virtual_mail"
match auth from any for any action "outbound"
match for any action "outbound" 
I am out of ideas with which to troubleshoot. I am already running smtpd with 
-v switch for more verbosity. 
Thanks, 
Matt  
Greylisting at work?

Good luck,
Reio


Re: Repeated 421 try again later erros

2019-10-09 Thread gilles
October 9, 2019 10:13 PM, "Matt Schwartz"  wrote:

> Hello List,
> 
> I am getting a lot of repeated 421 try again later errors from various lists 
> that I am a member of.
> There is one in particular that is coming from outbound.foodtecsolutions.com. 
> Here is an excerpt
> from my /var/log/maillog. I am running OpenBSD 6.6-current #344.
> 
> [...]
>
> filter rspamd proc-exec "filter-rspamd"
> 

filter rspamd does greylisting



Re: Repeated 421 try again later erros

2019-10-09 Thread Reio Remma

On 09.10.2019 23:13, Matt Schwartz wrote:

Hello List,

I am getting a lot of repeated 421 try again later errors from various 
lists that I am a member of. There is one in particular that is coming 
from outbound.foodtecsolutions.com 
. Here is an excerpt from my 
/var/log/maillog. I am running OpenBSD 6.6-current #344.


Oct  9 16:07:53 meow smtpd[19379]: a52386b4311e607e smtp connected 
address=52.201.148.113 host=outbound.foodtecsolutions.com 

Oct  9 16:07:53 meow smtpd[19379]: a52386b4311e607e smtp 
failed-command command="DATA" result="421 try again later"
Oct  9 16:07:53 meow smtpd[19379]: a52386b4311e607e smtp disconnected 
reason=quit


Below is my smtpd.conf file:
pki "mail" cert "/etc/ssl/mail.crt"
pki "mail" key "/etc/ssl/private/mail.key"

table aliases file:/etc/mail/aliases
table credentials passwd:/etc/mail/credentials
table extras file:/etc/mail/extras
table relays file:/etc/mail/relays
table rejects file:/etc/mail/rejects
table virtuals file:/etc/mail/virtuals

filter check_rejects phase connect match rdns regex  \
        disconnect "554 Forbidden"
filter check_rdns phase connect match !rdns \
        disconnect "554 No Reverse DNS Configured"
filter rspamd proc-exec "filter-rspamd"

listen on lo filter rspamd
listen on egress tls pki "mail" hostname "mail.goblackcat.com 
" \

        filter {check_rejects, check_rdns, rspamd}
listen on egress port submission tls-require pki "mail" hostname 
"mail.goblackcat.com " \

        auth  filter {check_rejects, check_rdns, rspamd}

action "local_mail" mbox alias 
action "virtual_mail" maildir "/var/vmail/%{dest.domain}/%{dest.user}" 
junk \

        virtual 
action "outbound" relay

match for local action "local_mail"
match !from src  mail-from "@goblackcat.com 
" reject
match from any for domain "goblackcat.com " 
action "virtual_mail"

match auth from any for any action "outbound"
match for any action "outbound"

I am out of ideas with which to troubleshoot. I am already running 
smtpd with -v switch for more verbosity.


Thanks,
Matt


Greylisting at work?

Good luck,
Reio


Repeated 421 try again later erros

2019-10-09 Thread Matt Schwartz
Hello List,

I am getting a lot of repeated 421 try again later errors from various
lists that I am a member of. There is one in particular that is coming from
outbound.foodtecsolutions.com. Here is an excerpt from my /var/log/maillog.
I am running OpenBSD 6.6-current #344.

Oct  9 16:07:53 meow smtpd[19379]: a52386b4311e607e smtp connected
address=52.201.148.113 host=outbound.foodtecsolutions.com
Oct  9 16:07:53 meow smtpd[19379]: a52386b4311e607e smtp failed-command
command="DATA" result="421 try again later"
Oct  9 16:07:53 meow smtpd[19379]: a52386b4311e607e smtp disconnected
reason=quit

Below is my smtpd.conf file:
pki "mail" cert "/etc/ssl/mail.crt"
pki "mail" key "/etc/ssl/private/mail.key"

table aliases file:/etc/mail/aliases
table credentials passwd:/etc/mail/credentials
table extras file:/etc/mail/extras
table relays file:/etc/mail/relays
table rejects file:/etc/mail/rejects
table virtuals file:/etc/mail/virtuals

filter check_rejects phase connect match rdns regex  \
disconnect "554 Forbidden"
filter check_rdns phase connect match !rdns \
disconnect "554 No Reverse DNS Configured"
filter rspamd proc-exec "filter-rspamd"

listen on lo filter rspamd
listen on egress tls pki "mail" hostname "mail.goblackcat.com" \
filter {check_rejects, check_rdns, rspamd}
listen on egress port submission tls-require pki "mail" hostname "
mail.goblackcat.com" \
auth  filter {check_rejects, check_rdns, rspamd}

action "local_mail" mbox alias 
action "virtual_mail" maildir "/var/vmail/%{dest.domain}/%{dest.user}" junk
\
virtual 
action "outbound" relay

match for local action "local_mail"
match !from src  mail-from "@goblackcat.com" reject
match from any for domain "goblackcat.com" action "virtual_mail"
match auth from any for any action "outbound"
match for any action "outbound"

I am out of ideas with which to troubleshoot. I am already running smtpd
with -v switch for more verbosity.

Thanks,
Matt