Operating System - HP-UX
1825665 Members
4512 Online
109686 Solutions
New Discussion

Re: Please recomend me pop3 or imap4 client for HPUX 11.0 for hp9000

 
SOLVED
Go to solution
Pavel Kotkov
New Member

Please recomend me pop3 or imap4 client for HPUX 11.0 for hp9000

Please recomend me pop3 or imap4 client for HPUX 11.0 for hp9000 with CLI(Command Line Interface ) support.
I whant to make script that automaticaly mail's message when some errors or events in system appears.

P.S.
If You know example of this script send it me please; If You can:)

BR.
7 REPLIES 7
Markus Oppel
Occasional Advisor
Solution

Re: Please recomend me pop3 or imap4 client for HPUX 11.0 for hp9000

Pavel, I dont understand
your question. Do you need
to send or recieve mails?
Because sending is always
done via the smtp protocol,
and this can be done even with
/bin/mail. Imap (and pop) is only
used for reading mails.
I nice imap client for unix is pine
(verion 4.x and above), which run in
a simple ascii terminal.
Markus Oppel
University of Vienna
Pavel Kotkov
New Member

Re: Please recomend me pop3 or imap4 client for HPUX 11.0 for hp9000

I'd try with sendmail by smtp, but unfortunetly my server is in intranet and when i'm sending mail into internet through my mail server, he(mail server)'s dropping my mail because he can't find in DNS my host.

Also what about scripts?
Do you know some examples?
Markus Oppel
Occasional Advisor

Re: Please recomend me pop3 or imap4 client for HPUX 11.0 for hp9000

Just send the mail
directly to the machine/mailserver which holds your address:
In a script:

#!/bin/sh

if [ event ]
then
/bin/mail pavel@pavels.mail.server < message
fi

where message is a file with your
notification.
Markus Oppel
University of Vienna
Shannon Petry
Honored Contributor

Re: Please recomend me pop3 or imap4 client for HPUX 11.0 for hp9000

I agree, you have to go to SMTP level and not to IMAP or POP. First there is no command line interface I can think of for IMAP and POP except for Pine. I do not think you can script Pine though. Just use mailx and sendmail to get your stuff through the mail.
As long as sendmail is setup to forward to your primary mail server it should be no problem.

Regards,
Shannon
Microsoft. When do you want a virus today?
Pavel Kotkov
New Member

Re: Please recomend me pop3 or imap4 client for HPUX 11.0 for hp9000

Thank you for response.
I'd try to send message to my mail server and it's realy works, but i need to send message to another internet mail server, hotmail or yahoo for example. Unfortunetly it doesn't work on my system. As i sad, my mail server just dropping my mail after looking in DNS. I saw outgoing trafiic by sniffer. He's trying to find my hpux host HPUX.HOST.PAVEL.DOMAIN.COM in DNS, and ofcause he can't. Even he will find, IP adress of my host will not be valid becase my host is in intranet and he's using my internal network adress.
How can i solve this problem?
Pavel Kotkov
New Member

Re: Please recomend me pop3 or imap4 client for HPUX 11.0 for hp9000

P.S. My mail server is Microsoft Exchange server 5.5?
Markus Oppel
Occasional Advisor

Re: Please recomend me pop3 or imap4 client for HPUX 11.0 for hp9000

you just have to tell your
sendmail machine to relay the mails
it gets from your intranet box (via a firewall, I guess) and send it to your exchange server. I guess you are using masquerading, so the sendmail machine will see the IP of your firewall. Now enable sendmail to relay messages from this address. It will send them, rewriting the sender to the exchange server, which thinks it comes from the sendmail machine - which has a official DNS entry.
Markus Oppel
University of Vienna