Operating System - HP-UX
1833611 Members
3593 Online
110062 Solutions
New Discussion

how to setup mail account and address in HP-UX

 
twtandigi.com.my
Frequent Advisor

how to setup mail account and address in HP-UX

Hi,

I am currently trying to set up the mail account for the users in the HP-UX 11 system that i have in the office.
The first question i would like to enquire is
1. how do i set up the mail service?
2. how do it set up the dowmain name?
3. can i get the system to send out the mail?

Regards,
Calvin
4 REPLIES 4
Michael Tully
Honored Contributor

Re: how to setup mail account and address in HP-UX

The mail service is not too hard as long as you have an exchange server in which to use.

Add the following to the /etc/mail/sendmail.cf file

# "Smart" relay host (may be null)
DSmetxxx1 (Replace metxxx1 with your exchange server name)

Save the file.

The domain name should be included in the /etc/resolv.conf file

domain mydomain.com
nameserver 10.63.100.2
nameserver 10.63.100.3

The sendmail process daemon will forward the mail to the exchange server.

Restart the sendmail daemon
# /sbin/init.d/sendmail stop
# /sbin/init.d/sendmail start
Anyone for a Mutiny ?
Joseph Loo
Honored Contributor

Re: how to setup mail account and address in HP-UX

hi,

as pointed by Michael, you may need an exchange server, however, if other mail software that runs SMTP services, it will do just fine.

also ensure, for security reasons, that sendmail has the latest patch applied and if possible, do not let the daemon run but only queue for the mail request by inserting the following line to the cron job:

0,15,30,45 * * * * /usr/sbin/sendmail -q

regards.

what you do not see does not mean you should not believe
twtandigi.com.my
Frequent Advisor

Re: how to setup mail account and address in HP-UX

Is it possible to list down the steps on how to create a account.
what this error mean when the system starts up ?
mail: permission denied!
Fred Martin_1
Valued Contributor

Re: how to setup mail account and address in HP-UX

Update sendmail to latest version from HP's website. Have a look at /etc/rc.config.d/mailservs to make sure sendmail is set to start on boot.

Consider going to www.sendmail.org, and reading the FAQs there. There is an article on directory permissions, etc, that may be causing your startup problems.

When you create user accounts through SAM, you are creating mail accounts. Unix users can use mailx, or elm, etc. to send/receive email. If users are on a PC, they need to set their mail programs, like Outlook Express or Eudora, etc, to look at your unix server to send/receive email.
fmartin@applicatorssales.com