Messaging
cancel
Showing results for 
Search instead for 
Did you mean: 

Need to send mails btw two servers

Sreer
Valued Contributor

Need to send mails btw two servers

Hi Gurus,

I need to send mails btw 2 servers
1 is hpux 11.23 other is Linux

My requirement is to send as root from Hpux node to -> root of the linux node?

Could you pls tell me the syntax?

send mail is working fine

both servers resolving their names perfectly.

thnx In advance.

Sree
2 REPLIES
F Verschuren
Esteemed Contributor

Re: Need to send mails btw two servers

as root:

mail root@name.???.com

what do you try to mail? if it is a file:

uuencode [file] [attachment name] | sendmail [root@ip]
ip can alos be the server name....
Tim Nelson
Honored Contributor

Re: Need to send mails btw two servers

Really need some more info.

are you just looking for a command ?

echo test|mailx -s subject root@other.server.com

or

are do you know the command and the mail is not being delivered ?

From hpux server
>echo test|sendmail -v root@other.server.com
>tail /var/adm/syslog/mail.log

On linux server
1) is sendmail running and configured to receive mail?
2) firewall down or configured to allow smtp ?
3) tail /var/log/messages

then reverse the above and check output/logs.