Hi, I'm trying to use Postfix as an MTA. I don't want to deliver any mail locally, just relay everything to an external mail server. I would also like everything that runs though this MTA to be sent as a particular user, however I don't want messages intended for users on the system such as root to be delivered. I have gotten everything to work except I am getting messages for the root user sent to the sendas address. If the system users have to be delivered, that is fine, I can just use the aliases to redirect them to a single user and then deal with the mail there. I would prefer that they go to a black hole though. I've been trying to find a solutions to this for some time now and haven't been successful so far. Any direction you can provide is appreciated. Thanks, Casper
My configuration looks like this. # Main Conf File # Server Stuff myorigin = testdomain.int masquerade_domains = testdomain.int relayhost = [10.0.22.25] inet_interfaces = 127.0.0.1 alias_database = hash:/etc/aliases # SASL Auth stuff smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_sasl_security_options = Generic map file @localhost.localdomain <sendas email> @localhost <sendas email> @localdomain <sendas email> @testdomain.int <sendas email>