My Google-fu is letting me down with this one.
Is it possible to EITHER/preferably configure sendmail to...
- masquerade the From address of any mail intended for
[email protected]
to appear as[email protected]
and usesmtp.aaaa.com
to send it (with authentication) - AND masquerade any mail intended for
[email protected]
(including those that share To, CC or BCC with above) to appear as[email protected]
and usesmtp.bbbb.com
to send it (with different auth user/pwd) - AND use
smtp.cccc.com
for any other non-local address (again, with different auth) - AND store mail for local users, as it currently is in
/var/spool/mail/$USER
...OR configure sendmail to...
- use
smtp.aaaa.com
(with auth) to send any mail appearing to be From[email protected]
- AND use
smtp.bbbb.com
(different auth) to send any mail appearing to be From[email protected]
- AND use
smtp.cccc.com
(different auth) for any other non-local address - AND store mail for local users, as it currently is in
/var/spool/mail/$USER
...?
The sendmail server is not exposed externally, so this isn't a security/open-relay concern -- just trying to support a local app with limited mail config, that we're hoping to send to different parties with differing (mostly vanity) mail requirements.
I'm not a sendmail guy, by trade, and am only targeting sendmail because I understand it to be the de-facto on AIX7.1 and AIX7.2, which are the current- and next-validated OS for the proprietary app.
The server appears only to have an /etc/mail/sendmail.cf
file, rather than a sendmail.mc
(although a lot of /usr/samples/*/sendmail/*/*.m4
). The server reports Version AIX7.1/8.14.4
.
I think I need to enable mailertable
(for the relay), genericstable
(for the masquerade) and authinfo
(for the auth), and use some combination of those to get what I'm after but, without a sendmail.mc
, I'm at a loss as to how I do that.
0 Answers