Stephen Warren wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Robert P. Thille wrote: >> ... >> fix the only thing I consider a 'real' bug, which is not-invoking >> sendmail_program with '-f <mailfrom>' when in 'pure-proxy' mode. > > Robert, > > For my education, could you explain this part of the patch a bit more? > Doesn't sendmail provide a sensible default envelope sender even without > the -f option? What problems were you seeing that this change solves? > BTW, I'm not a /usr/sbin/sendmail expert, so feel free to point out if > it's blindlingly obvious!
Well, I was having issues, perhaps because I'm running qmail, and its 'sendmail' didn't seem to have a good default. I figured it should use the user it was running under, but it didn't and the mail-from was '[EMAIL PROTECTED]'. Looking at the qmail source, that seemed to be the expected behavior if sendmail (qmail's) wasn't passed the -f and if none of the three environment variables that qmail pays attention to were set. > As an aside, I notice that TMDA's tmda-sendmail script (intended as a > drop-in replacement for /usr/sbin/sendmail) completely ignores the -f > option... That seems broken. If you're going to accept a bounce address over SMTP (the envelope sender), or via the command line, then throw it away, how can the bounces get back to their intended sender? Is it intended simply as an anti-forgery mechanism? It (the envelope sender) may not have been an issue for any of my 'users' (family members :-), but I noticed it when I was testing and it seemed like something that should be fixed. Robert -- Robert Thille 7575 Meadowlark Dr.; Sebastopol, CA 95472 Home: 707.824.9753 Office/VOIP: 707.780.1560 Cell: 707.217.7544 [EMAIL PROTECTED] YIM:rthille http://www.rangat.org/rthille Cyclist, Mountain Biker, Freediver, Kayaker, Rock Climber, Hiker, Geek May your spirit dive deep the blue, where the fish are many and large! _________________________________________________ tmda-workers mailing list ([email protected]) http://tmda.net/lists/listinfo/tmda-workers
