Gary Smith: > > > > When it comes to envelope, specifically "mail from:" and "rcpt > > > to:", my understanding is that these will never have comments in > > > them and be just plain email addresses j...@example.com, > > > bou...@jack@bou...@example.com, etc, but never "jack" <j...@example.com> > > > (or <j...@example.com> (i.e. the <> ). In the sample python > > > server, it passes in mailfrom and rcptto's and I'm just trying to > > > get a feel for the format to expect those addresses in. > > > > That depends on how Postfix is configured. > > > > Remember, Postfix passes the RCPT TO and MAIL FROM commands to the > > filter as received. By default, Postfix allows non-standard forms > > (such as your examples). If this is a problem then you will need > > to configure "strict_rfc821_envelopes = yes" in main.cf. > > > > Wietse, I see what you are saying. What are the potential risks > of losing legitimate email turning it on? Or, better question > WWWD? I have yet to see a non-conformer in the saved envelopers > that we have, so I suspect that most modern MTA's are should > conform.
If you are talking only to MTAs then the odds of false rejects are small. BTW Postfix does not log MAIL FROM/RCPT commands. Postfix logs the addresses that it pulls out from the MAIL FROM/RCPT commands. Wietse