This may be generic and not just IBM AIX specific, but I'm implementing on AIX 7.
Been reading up today, and setup sendmail on my power5 system and all went well, can collect, send etc no problem but..
I wanted to direct any email sent to my domain that is incorrect to be passed to single mailbox.
So, the answer my friends, is virtusertabl & virtusertable.db which I have set up thus:
Code:
Select all
# virtusertable
# makemap hash /etc/mail/virtusertable.db < /etc/mail/virtusertable
#
# <email address> <local account>
@mydomain.com [email protected]
I have created the has db using
Code:
Select all
makemap hash /etc/mail/virtusertable.db < /etc/mail/virtusertable
but, I am missing something.
sendmail has been restarted, also sendmail -bi (which I think reads the alias files, not sure.
sendmail.mc
Code:
Select all
# /etc/mail/sendmail.mc
FEATURE('virtusertable', 'hash -o /etc/mail/virtusertable.db')dnl
Now, are you meant to to create the sendmail.cf from the sendmail.mc like
Been a long time since I messed with sendmail and I don't ever recall configuring it that much.
I suppose, the question is, how does sendmail.cf use sendmail.mc ?