1833883 Members
1855 Online
110063 Solutions
New Discussion

mail

 
Scott Martin_7
Occasional Contributor

mail

can anyone help me with forwarding my in hp ux
i have it set up to forward but it's not working
2 REPLIES 2
Scott Martin_7
Occasional Contributor

Re: mail

sorry for the miss type i need help with forwarding mail from the HP ux 11 box to my exchange server

Mel Burslan
Honored Contributor

Re: mail

edit /etc/mail/sendmail.cf

find the line starting with DS
if there isn't one, create one as follows:

DSmyexchangeserver.domain.com

edit /etc/mail/aliases and add your username as

username user@domain.com

then execute

/usr/sbin/newaliases

start and stop sendmail by

/usr/sbin/killsm
/sbin/init.d/sendmail start



let the exchange server admins know that you want to forward mail to their server so that they allow your server for mail relay.

then test it with :

echo test | sendmail -v username

hope this helps
________________________________
UNIX because I majored in cryptology...