qmail-masq version 0.2 by Davide Giunchi (gdavide@mclink.it) http://www.folug.linux.it/qmail-masq.html This is a perl program that works with qmail, it masquerade the internal mail users address with an external one when sending email from local network users to the external internet users. It's useful when you have an internal qmail mail server that is configured with a nonexistent internet domain or a domain that you don't own, if you send an email from the internal network the adressee wouldn't be able to reply (or send a new mail to that address) because this address doesn't really exist. This program parse all mail, if one has field "From:" from an internal users and "To:" or "CC" or "BCC" to an external one, it modify the field "From" to make seems that the sender's email is another (it change the email but mantain the name of the sender). You could also define some "exception": mail users that will not be masquerade with the default adressee but with another specified one. It could be useful even if you own the external domain and coincide to the internal one but you don't want your personal address to be show, so all the reply will arrive to an unique email. All parameters like: internal domain, default email with wich masquerade, exceptions in masquerading and debug mode are settable from the configuration file /etc/qmail-masq.conf . This function is already build-in in sendmail and, in part, postfix but not in qmail, so as i like to use qmail i've written this program to make this function available. To install this program read the file INSTALL. You are encourage to contribute this program, if you have patch, suggestion or critics please contact me. Latest qmail-masq version can be found at http://www.folug.linux.it/qmail-masq.html If you find a bug enable the debug mode and then send me the original mail and /tmp/qmail-masq.log file, i will analize it. This program is Copyright(C) 2001 Davide Giunchi, and may be copied according to the GNU GENERAL PUBLIC LICENSE (GPL) Version 2 or a later version. A copy of this license is included with this package. This package comes with no warranty of any kind.