Egoitz Aurrekoetxea: > Good afternoon, > > Can a Postfix instance have a destination based milter (for being able to > bypass DMARC check for some customers that ask for it) and finally for > everybody a filter action calling Amavis?.
SMTP does not receive any destination until after the fourth step: 1 - receive connection 2 - receive ehlo 3 - receive mail from 4 - receive rcpt too (there may be more than one!) 5 - receive data 6 - receive headers 7 - receive body 8 - receive end of nessage Engaging a Milter in the middle of an SMTP conversation is problematic, especially because Millters cannot skip SMTP protocol stages, and because Milters can reply with 'reject' at many SMTP protocol stages. Wietse