Operating System - HP-UX
1833188 Members
2825 Online
110051 Solutions
New Discussion

POP3 service cannot function in sentmail on HP v11.00

 
Kenneth_61
Frequent Advisor

POP3 service cannot function in sentmail on HP v11.00

Hi All,

Now, I am planning to move my domain lungyeuktau.com to other server with web, php and sentmail . I will request to update MX record on lungyeuktau.com later after I had setup the HP server properly. I don't need to consider the existing email accounts in old server. Just setup new one.

I am a newbie for sentmail. I had installed sendmail Sendmail-8.11.1 depot . Sentmail can start properly. I can telnet server with port 25. So, I guess that SMTP can function. But, port 110 POP3 cannot be telnet. I cannot receive email from my server.

Q1. What I can do ?
Q2. When this server receive SMTP email, I cannot find files on /var/spool/mqueue


ref: ========= See attachment also
/sbin/init.d
# ./sendmail start
/etc/mail/aliases: 6 aliases, longest 9 bytes, 76 bytes total
sendmail
#

# swist
sh: swist: not found.
# swlist
# Initializing...
# Contacting target "server"...
#
# Target: server:/
#

#
# Bundle(s):
#

HPUXEng32RT B.11.00.01 English HP-UX 32-bit Runtime Environment
Sendmail-811 B.11.00.01.005 Sendmail-8.11.1 special release upgrade
UXCoreMedia B.11.00.01 HP-UX Media Kit (Reference Only. See Description)
XSWGR1100 B.11.00.47.08 General Release Patches, November 1999 (ACE)
hpuxwsApache A.2.0.52.00 HP-UX Apache-based Web Server
hpuxwsTomcat A.4.1.29.04 HP-UX Tomcat-based Servlet Engine
hpuxwsWebmin A.1.070.02 HP-UX Webmin-based Admin
#
# Product(s) not contained in a Bundle:
#

PHCO_21187 1.0 cumulative SAM/ObAM patch
PHCO_23651 1.0 fsck_vxfs(1M) cumulative patch
PHCO_26111 1.0 libc cumulative header file patch
PHCO_27847 1.0 cumulative patch for syslogd(1M)
PHCO_29286 1.0 libc cumulative man page patch
PHCO_29330 1.0 libc configuration file patch.
PHCO_29956 1.0 libc cumulative patch
PHSS_30967 1.0 ld(1) and linker tools cumulative patch
8 REPLIES 8
Kenneth_61
Frequent Advisor

Re: POP3 service cannot function in sentmail on HP v11.00

On this server console, I can ping yahoo.com. Name resolution have no problem. On a PC with 192.168.1.103, I sent a email from outlook express to this HP server 192.168.1.2. HP server can "eat" the email. However, I cannot receive email from the server by pointing SMTP and POP3 to this HP on outlook express.
Sridhar Bhaskarla
Honored Contributor

Re: POP3 service cannot function in sentmail on HP v11.00

Hi Kenneth,

You will need to install POP server on your HP system. It retrieves the mail already received by sendmail and sends it to the POM clients.

You can download POP3 from here.

http://hpux.cs.utah.edu/hppd/hpux/Networking/Mail/qpopper-4.0.5/

However, IMAP is popularly used now-a-days than POP. But I don't have a source for it's binaries. You may have to compile it seperately.

-Sri

You may be disappointed if you fail, but you are doomed if you don't try
Kenneth_61
Frequent Advisor

Re: POP3 service cannot function in sentmail on HP v11.00

Sridhar Bhaskarla,

You are so quick !!
Kenneth_61
Frequent Advisor

Re: POP3 service cannot function in sentmail on HP v11.00

Can anyone tell me how to create email account for the local user ID in the server with sendmail and qpopper ? Now, I can telnet the server with 25 and 110 by your help.

I wonder to use makemap and use virtusertable. However , I don't know whether I need to create user directory on /var/mail . e.g. /var/mail/tangk

I cannot find useful setup doc. e.g. after I create a UNIX ID e.g. tangk. How to setup the email ?
Sridhar Bhaskarla
Honored Contributor

Re: POP3 service cannot function in sentmail on HP v11.00

Hi,

YOu said your HP server is already 'eating' (I assume receiving) the mail. If so, mail will be automatically deposited under /var/mail under each account's name. You don't need to create anything special to receive mail. All you have to do is to just create user's account and it is automatically eligible for receiving mail.

Configure your outlook for POP now and see if it receives the mail from the HP system.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Steven E. Protter
Exalted Contributor

Re: POP3 service cannot function in sentmail on HP v11.00

Any regular user created with the useradd command can be a popmailuser.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Kenneth_61
Frequent Advisor

Re: POP3 service cannot function in sentmail on HP v11.00

But, user ID is not equal to email address. e.g. Login ID is tangk. But, the email is not tangk@mydomain.com. I hope to set to kenneth.tang@mydomain.com. Could you tell me how ?
Sridhar Bhaskarla
Honored Contributor

Re: POP3 service cannot function in sentmail on HP v11.00

Hi,

You are talking about a different issue now. If you want to receive mail on your HP-Box if it is addressed to someuser@yourdomain.com, then you will have to configure a host that accepts the mail sent to yourdomain.com. Your DNS server is a good candidate. Setup aliases on that server like below

someuser: someuser@hphost.yourdomain.com

That way your hphost will start receiving mails addressed to someuser@yourdomain.com

Setup your sendmail.cf with Masquerading (DMyourdomain.com) so that mails sent outside with those user names will go like someuser@yourdomain.com.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try