-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, 09 May 2013 14:44:29 -0700, jerry.mersel wrote:
> In one particular local domain I have users
> whose mail should go through the mailgates and other users (from the
> same domain) whose mail should go directly to the smtp server and not
> use the mailgates.
> Can someone advise me how to handle this.
> I tried using virtualusertable but it did not do the trick.
in
sendmail.mc:
VIRTUSER_DOMAIN_FILE(`/etc/mail/virtual-host-domains')
in virtual-host-domains:
example.com
in mailertable:
example.com ESMTP:[
mail.example.com]
in virtusertable:
# add exceptions here that do NOT go to the main server
us...@example.com somea...@gmail.com
us...@example.com localuser2name
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
iEYEARECAAYFAlGNFYYACgkQL6j7milTFsH4jQCfb3chgSIXwIDkInic0G19GIM1
0/UAn15/IQ1Q742AGSI9Cn/6VonhUg6x
=ZvOy
-----END PGP SIGNATURE-----