Bucl, Casper a écrit : > 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. >
It looks like you want: http://www.postfix.org/STANDARD_CONFIGURATION_README.html#firewall > [snip]