1827448 Members
5139 Online
109965 Solutions
New Discussion

INCOMING MESSAGES.

 
SOLVED
Go to solution
Gonzalez Eduardo
Occasional Contributor

INCOMING MESSAGES.

I would like to know how to configure sendmail in HP-UX 10.20 for incoming messages
from our mail-server. Each e-mail received by our mail-server (eg.xxx@xxx.com) must be sent to our unix server with HP-UX 10.20.

1 REPLY 1
Shannon Petry
Honored Contributor
Solution

Re: INCOMING MESSAGES.

Lots of ways to accomplish this, some may be easier than mine, but here it is.
First, DNS and Sendmail work very well together. Make sure that DNS records are straight. Next, user ID's for recipients must exist in some format on the machine. Even if it is only in the aliases file, that is okay. Make one general user, and have everyone aliased to that user. (it would just be a huge mailbox).
Next, the file /etc/mail/relay-domains should have an entry for the server that is sending the mail, the domain, etc...
Next make sure that /etc/mail/aliases is filled out correctly for all users who will be receiving email. I.E. (Some places do this for scanning e-mail).
/etc/passwd has an entry for "mailscan" as a user ID.
/etc/mail/aliases would have
my.name : mailscan
her.name : mailscan
his.name : mailscan
would send "his.name, her.name, and my.name" to the "mailscan" mailbox.
Next, run /usr/sbin/newaliases to rebuild the aliases database. If the relay-server was not previously in /etc/mail/relay-domains then kill -1 "sendmail's-pid" or /sbin/init.d/sendmail stop and /sbin/init.d/sendmail start.

Hope this was what you were looking for!
Shannon
Microsoft. When do you want a virus today?