Pali Roh?r: > Hello, it is possible to accept emails with 5xx status code?
By replying with 5XX after SMTP end-of-data. Wietse > Why such behavior? I want to return 5xx status codes when email is > reject (to prevent sending bounces), but I would like to store copy of > rejected emails in case some inspection would be needed in future. > Storing copy of those emails into one "shared" mailbox is enough (no > need to properly deliver these emails into local accounts). > > I have configured spamassassin via milter, so if spamd mark email as > spam, then postfix reject it via 5xx status code and does not produce > any bounce. Similarly, I have configured some header_checks for > rejecting emails to prevent generating bounces. > > -- > Pali Roh?r > pali.ro...@gmail.com >