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 "aa...@tvema.ru" action "trap"

and again I'm stuck on: smtp failed-command command="RCPT
TO:<aa...@tvema.ru> ORCPT=rfc822;aa...@tvema.ru" result="550 Invalid
recipient: <aa...@tvema.ru>"

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

simultaneously, it count aa...@tvema.ru as invalid recipient.

please help me, how is should be used?

Reply via email to