Am 15.07.2011 22:25, schrieb James D. Parra: > Hello, > > I want to restrict postfix to only send mail to our domain, yet to no others. > In other words, I want to set it up to not send mail to any outside address > and only to accounts within our domain (anyuser@our_domain_only.com). This is > a test server and is not a mail server, per say. Postfix will only be send > mail for users who are logged into it. (SuSE 11.4) > > Could someone point me to a howto for mail restrictions when sending.
default_transport = error:5.1.2 mail to remote domains not permitted local_transport = error:5.1.2 local transport not permitted relay_transport = error:5.1.2 relay transport not permitted virtual_transport = error:5.1.2 virtual transport not permitted this works if your domain(s) have a explicit transport entry like "dbmail-lmtp:127.0.0.1:24" or whatever matches to your MDA
signature.asc
Description: OpenPGP digital signature