LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 04-28-2004, 10:19 PM   #1
htic22
LQ Newbie
 
Registered: Apr 2004
Posts: 29

Rep: Reputation: 15
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
 
Old 04-28-2004, 10:35 PM   #2
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
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?
 
Old 04-28-2004, 11:47 PM   #3
htic22
LQ Newbie
 
Registered: Apr 2004
Posts: 29

Original Poster
Rep: Reputation: 15
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
 
Old 04-29-2004, 01:17 AM   #4
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
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
 
Old 04-29-2004, 02:23 AM   #5
htic22
LQ Newbie
 
Registered: Apr 2004
Posts: 29

Original Poster
Rep: Reputation: 15
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
 
Old 04-29-2004, 02:42 AM   #6
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
email client cant recieve POP3 email johnharry Linux - Networking 8 12-27-2006 05:20 AM
What email program can work with email header on pop3 server TruongAn Linux - Software 0 01-13-2005 12:48 PM
modem stops receiving data positron Linux - Newbie 3 07-21-2004 04:32 AM
Slow when receiving pop3 messages Marty McFly Linux - Newbie 1 10-24-2003 02:07 PM
Problem receiving email from email server sharon Linux - Newbie 3 07-11-2003 04:57 AM


All times are GMT -5. The time now is 08:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration