Martin Brandenburg <mar...@martinbrandenburg.com> wrote: > I thought it would be appropriate to change OpenSMTPD to reject empty > addresses; however, line 1513 of smtp_session.c specifically accepts > empty addresses. What is the use case of that?
Error replies. If the error message cannot be delivered, it will not trigger _another_ error reply. Years ago, I've seen bounce loops where some MTA was rewriting empty addresses to something else, and you can quickly end up with a situation where all your transport bandwidth is consumed by errors messages going back and forth. Not pretty. > Does the RFC say that empty envelope addresses must be accepted? Yes. > Perhaps OpenSMTPD could substitute the address in the from header > as envelope from if it is empty. Sendmail turns empty envelope addresses into MAILER-DAEMON on delivery to mailers that don't handle empty addresses. OpenSMTPD should do so, to. -- Christian "naddy" Weisgerber na...@mips.inka.de