hello misc!
I already wrote similar question to opensmtpd list, but nobody replied.
Maybe there are more subscribers here.
I cannot understand how rcpt-to match directive works!
White trying to understand, I have simplified config to this ( i cropped
listen lines ):
action "tomailer" relay host 172.16.0.25 tls no-verify
action "trap" maildir "/home/kasak/spam"
match from any for rcpt-to "aapot@tvema.ru" action "trap"
match from any for domain "tvema.ru" action "tomailer"
the idea is to catch some emails to specific spoled address and to teach
spam filter. But when I send test email there, smtpd reject it:
smtp failed-command command="RCPT TO: <aapot@tvema.ru>" result="550
Invalid recipient: <aapot@tvema.ru>"
other mails, to other mailboxes successfully go to "tomailer".
please help!
No comments:
Post a Comment