A minor change request
Alfred Ganz <[email protected]> Mon, 14 Jul 2008 15:29:05 -0400
| Newsgroups | gmane.mail.spam.tmda.user |
|---|---|
| Message-ID | <[email protected]> |
Ladies and Gentlemen, Here is a minor change to tmda-inject that I would like to ask for: In tmda-inject, in main() at: # tmda-sendmail/inject socket.getfqdn() is used to provide the hostname in the Received header. Would it be possible to change this to use Util.gethostname() instead? The reasons for this request has to do with the fact that my mail domain name is not the same as the hostname, as a matter of fact the hostname is not otherwise known to the outside world. Because of this I would like to be able to overwrite the hostname in the Received header, and Util.gethostname() in its current form allows me to do that. In order to keep internal hostnames from leaking out, I am doing something similar for the headers created by the mailer as well. BTW I have been using a hacked in the above way version of tmda-inject for several years, I just think it might be of use to someone else. Thanks, AG -- ---------------------------------------------------------------------- Alfred Ganz alfred-ganz:at:agci.com AG Consulting, Inc. (203) 624-9667 440 Prospect Street # 11 New Haven, CT 06511 ----------------------------------------------------------------------