i'm sorry to bother you again, but it seem that I made a trap for myself.

I spend couple of hours changing configs and comparing smtpd behavior.
It looks like rcpt-to condition works and do not works simultaneously.

For now I have simplified my config to contain this strings:

action "trap" maildir "/home/kasak/spam"
match from any for rcpt-to "[email protected]" action "trap"

and again I'm stuck on: smtp failed-command command="RCPT
TO:<[email protected]> ORCPT=rfc822;[email protected]" result="550 Invalid
recipient: <[email protected]>"

So, it actually knows about [email protected], because otherwise, the
next line "for domain tvema.ru" should work (and it work on other
recipients)

simultaneously, it count [email protected] as invalid recipient.

please help me, how is should be used?

Reply via email to