пн, 23 окт. 2023 г. в 22:30, kasak <[email protected]>: > > 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?
I found the solution! This has not worked because I have no local user for "[email protected]" So, I added a virtual table with mapping [email protected] to the local user and now everything is fine!
