LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   why pop3 stops my receiving email? (https://www.linuxquestions.org/questions/linux-networking-3/why-pop3-stops-my-receiving-email-175756/)

htic22 04-28-2004 09:19 PM

why pop3 stops my receiving email?
 
Before I use pop3 for remote retriving e-mail I used
imap, remote tel net 143 port is OK, but due to Mozilla
browser's own problem, it did not work; however, my receving
rmail from the server itself was fine; now I activated my pop3 server,
I was happy that I can retrive email from the remote server,
unfortunately it was indeed a problem, since I can only
receive email from the same domain (my own domain), not from
any other email account from outside? Even after I disable
my imap server, it sill does not work, why?

Thx,
HTM

fancypiper 04-28-2004 09:35 PM

Perhaps you need fetchmail to get your mail from the pop3 server?

# Common e-mail tools
sendmail - postfix - sends mail to local users (and internet when configured correctly)
fetchmail - gets mail from internet accounts (non-Hotmail type)
procmail - sorts and delivers into separate mailboxes
mutt - mail client that sucks less than all the others
Email the Linux Way
Suresh Ramasubramanian's email guide
The Linux Mail User HOWTO
The Linux Electronic Mail Administrator HOWTO
SquirrelMail web mail
Why use Hotmail when there is LinuxMail?

htic22 04-28-2004 10:47 PM

not email client issue
 
It is not email client isse.

The strange thing is in iptables, I opened both 25 and 110 ports,
they are both remotely telnetable, and I was happy at that time.

Now after I activate my pop3 service for remote email retrieveing,
I found I could not receive email from out side, after
did an netstat -nlp, I found my port 25 is still open as
110, but remotly and locally telnet 25 port failed, what succeeds
is only telnet 127.0.0.1

Why is that?
Thx.
HTM

fancypiper 04-29-2004 12:17 AM

What is in your /etc/hosts file?

Code:

# Duron 950 uilleann /etc/hosts file:  This file describes a number of hostname-to-address
#              mappings for the TCP/IP subsystem.  It is mostly
#              used at boot time, when no name servers are running.
#              On small systems, this file can be used instead of a
#              "named" name server.  Just add the names, addresses
#              and any aliases to this file...
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/hosts,v 1.8 2003/08/04 20:12:25 azarah Exp $
#
127.0.0.1      uilleann        uilleann.phils  localhost
192.168.0.1    tinwhistle      tinwhistle.phils
192.168.0.2    uilleann        uilleann.phils


htic22 04-29-2004 01:23 AM

you are right
 
Here is my current /etc/hosts:

my_ip my_domain my_domain.com my_domain

Now I chang it to:

127.0.0.1 my_ip my_domain my_domain.com my_domain
my_ip my_domain my_domain.com my_domain

I ran service restart xinetd, looks like remote telnet still fails

My problem is I use sendmail, and it requires me to open
25 port at 127.0.0.1 only, while I also use pop3, and it require
me to open my IP's 25 port, so I revised my iptable to open
25 port, will that have an impact?

Thx,
HTM

fancypiper 04-29-2004 01:42 AM

Did you re-configure sendmail for "smarthost"?
Code:

divert(-1)
dnl This is the macro config file used to generate sendmail.cf
dnl file. If you modify this file you will have to regenerate
dnl sendmail.cf by running this macro config through the m4
dnl preprocessor:
dnl
dnl        m4 /home/fancy/Documents/sendmail.mc > /etc/sendmail.cf <--Change to your path
dnl
dnl You will need to have the sendmail-cf RPM installed for this
dnl to work, if you use an rpm build of sendmail
dnl
dnl include(`../m4/cf.m4')
dnl
dnl If you compile sendmail from a tarball, use the include above.
dnl In this setup, you should create the file as cf/cf/config.mc
dnl (in the sendmail source tree: eg. /usr/src/sendmail-8.11.6/cf/cf
dnl Now give the command "sh Build config.cf".  Now copy the file
dnl config.cf as /etc/mail/sendmail.cf (please backup first!)
dnl
dnl If you are using the RPM build of sendmail, use the
dnl include statement given below instead
dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')
define(`confDEF_USER_ID',``8:12'')
OSTYPE(`linux')
undefine(`UUCP_RELAY')
undefine(`BITNET_RELAY')
define(`confCF_VERSION',`dialup-1.3')
define(`SMART_HOST', `smtp.yourisp.com') <--Change this
define(`confAUTO_REBUILD')
define(`confTO_CONNECT', `1m')
define(`confTO_IDENT',0)
define(`confTRY_NULL_MX_LIST',true)
define(`confDONT_PROBE_INTERFACES',true)
define(`confCON_EXPENSIVE',true)
define(`confDELIVERY_MODE', `queued')
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')
define(`ALIAS_FILE',`/etc/mail/aliases')
MASQUERADE_AS(`yourisp.com') <--Change this
FEATURE(`masquerade_envelope')
FEATURE(`smrsh',`/usr/sbin/smrsh')
FEATURE(`mailertable',`hash -o /etc/mail/mailertable')
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable')
FEATURE(redirect)
FEATURE(always_add_domain)
FEATURE(use_cw_file)
FEATURE(`use_ct_file')
FEATURE(local_procmail)
MAILER(smtp)
MAILER(procmail)
FEATURE(`access_db')
FEATURE(`blacklist_recipients')
FEATURE(`accept_unresolvable_domains')
FEATURE(`accept_unqualified_senders')
dnl FEATURE(`relay_based_on_MX')

I think I found this on Suresh Ramasubramanian's email guide.


All times are GMT -5. The time now is 02:19 AM.