On Sep 9, 2007, at 21:25, Ben Scott wrote: > What would be needed to configure Postfix on SATURN to rewrite > "From" addresses (masquerade, in Sendmail terms) for Steven's machines > to be <@syslang.net>? Don't forget it has to rewrite mail from PLUTO > as well as locally-originated mail.
For the simple case like this you can get away with: masquerade_domains = syslang.net and if you want to get fancy: masquerade_classes = envelope_sender, envelope_recipient, header_sender, header_recipient and possibly: masquerade_exceptions = root For more complex stuff there's a 'virtual' table that has all kinds of other rules. > I regard sendmail.cf as I do object code: Opaque, intended for > machine and not human consumption, and best generated by other > programs. I understand there are those who actually manipulate > sendmail.cf directly. For some reason the problems I seem to run into seem to do not have an .mc macro defined. :( Sometimes I can find a hint online, but the community seems to be sparse. Try searching on how to change the hostname sendmail sends for HELO greeting (no peeking below). It took me what I thought was too long, like a few hours to find it. Maybe I was having a Bad Google Day, I dunno. For the archives: --- submit.cf~ 2007-05-23 11:56:08.000000000 -0400 +++ submit.cf 2007-09-13 01:34:17.000000000 -0400 @@ -65,6 +65,7 @@ # my official domain name # ... define this only if sendmail cannot automatically determine your domain #Dj$w.Foo.COM +Djlibrescu.bfccomputing.com # host/domain names ending with a token in class P are canonical CP. -Bill ----- Bill McGonigle, Owner Work: 603.448.4440 BFC Computing, LLC Home: 603.448.1668 [EMAIL PROTECTED] Cell: 603.252.2606 http://www.bfccomputing.com/ Page: 603.442.1833 Blog: http://blog.bfccomputing.com/ VCard: http://bfccomputing.com/vcard/bill.vcf _______________________________________________ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/