- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Configuring pop3 mail server
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2003 08:13 AM
тАО01-20-2003 08:13 AM
ipop3
pop3s
imap
imaps
I've tried to set up this pop3 mail server, but when I try and send mail from the pop3 client. I get a message saying that it cannot connect to port 25 (ssl) on the server. I can retreive my mail from the pop3 server with the client, but not send.
Any ideas of things to try?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2003 09:32 AM
тАО01-20-2003 09:32 AM
Re: Configuring pop3 mail server
Mail is sent via SMTP. You will need to install and configure a SMTP server. The most common of these would be:
Sendmail
Postfix
Exim
Any of those should get you going...
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2003 12:36 PM
тАО01-20-2003 12:36 PM
Re: Configuring pop3 mail server
or
service iptables stop
Make sure the firewall isn't messing with you.
check the configuration of which firewall you are using in /etc/sysconfig
Make sure port 110 is open for popmail and 25 is open for sendmail
When doing sendmail, you need to be strict about what if any servers are allowed to relay on port 25. If you are exposed to the net, you don't want to be a spam relay center.
About half the time when something doesn't work on my two Linux boxes(upon which a web hosting biz rests) its the flipping firewall. Or to be more accurate, what sysadmin(me) did to the firewall.
P
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2003 12:45 PM
тАО01-20-2003 12:45 PM
Re: Configuring pop3 mail server
contents of /etc/xinetd.conf
[root@jerusalem root]# cd /etc/
[root@jerusalem etc]# more xinetd.conf
#
# Simple configuration file for xinetd
#
# Some defaults, and include /etc/xinetd.d/
defaults
{
instances = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}
includedir /etc/xinetd.d
pop3s file in the above directory.
Counter intuitive as it is no to let the service enable.
# default: off
# description: The POP3S service allows remote users to access their mail # using an POP3 client with SSL support such as fetchmail.
service pop3s
{
socket_type = stream
wait = no
user = root
server = /usr/sbin/ipop3d
log_on_success += HOST DURATION
log_on_failure += HOST
disable = no
}
For sendmail ...
chkconfig --level 345 sshd on
serivce sendmail start
Actually a littel nicer than HP-UX huh?
Should have been all one post.
P
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2003 12:46 PM
тАО01-20-2003 12:46 PM
Re: Configuring pop3 mail server
service sendmail start
darn it. them fingers are not listening.
P
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2003 04:04 PM
тАО01-20-2003 04:04 PM
Re: Configuring pop3 mail server
RedHat, by default, limits sendmail to listening on the local intarface only.
To change this, you will need to modify /etc/mail/sendmail.mc and rebuilt your sendmail.cf using the 'm4' command. i.e.
m4 /etc/mail/sendmail.mc > /etc/sendmail.cf
(This is assuming RH7 or earlier. sendmail.cf lives in /etc/mail/ on RH8).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2003 08:30 PM
тАО01-20-2003 08:30 PM
Re: Configuring pop3 mail server
Attached, tested and production.
P
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2003 08:42 PM
тАО01-20-2003 08:42 PM
Re: Configuring pop3 mail server
In RH8, it does that as well!
You just need to change to /etc/mail/, and issue 'make'.
To make life even easier, if you start/stop sendmail using /etc/init.d/sendmail start/stop, it does all of that for you anyway!
.. once again, this is on a RH box ..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2003 02:11 AM
тАО01-21-2003 02:11 AM
Re: Configuring pop3 mail server
First of all, thanks for the info, but I still have the same problem.
I'm running RH8.
I've switched off the firewall, stopped and started all of the services, but still no joy.
I've had a look at netstat -a, and here is what is says: -
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:32768 *:* LISTEN
tcp 0 0 *:imaps *:* LISTEN
tcp 0 0 *:printer *:* LISTEN
tcp 0 0 *:pop3s *:* LISTEN
tcp 0 0 localhost.localdo:32781 *:* LISTEN
tcp 0 0 *:pop2 *:* LISTEN
tcp 0 0 *:pop3 *:* LISTEN
tcp 0 0 *:imap *:* LISTEN
tcp 0 0 *:sunrpc *:* LISTEN
tcp 0 0 *:x11 *:* LISTEN
tcp 0 0 *:http *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 *:telnet *:* LISTEN
tcp 0 0 localhost.localdom:smtp *:* LISTEN
tcp 0 0 *:https *:* LISTEN
I'm thinking that it might be something to do with the smtp line, but not sure.
I started off trying to configure a pop3 client on a remote machine, but with no joy, so I'm now trying a pop3 client actually on the server, just to try and eliminate any network problems.
Any more help that you might have, or anything you want to know about my machine would be helpful.
Regards
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2003 02:28 AM
тАО01-21-2003 02:28 AM
Solutionyour output of netstat clearly suggests that sendmail is only listening in 127.0.0.1 at port 25.
tcp 0 0 localhost.localdom:smtp *:* LISTEN
For sending mails from POP3 client , the POP3 client should be able to connect to the server SMTP port 25.
So to enable sendmail to listen on port 25 on LAN interface IP address , do this.
Edit /etc/sendmail.cf
there is a line like this already
O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA
Put this new line.
O DaemonPortOptions=Port=smtp,Addr=90.0.0.50, Name=MTA
Where 90.0.0.50 is the IP address of the LAN interface.
Replace the IP address of your Server's.
Save the file and reboot.
Now netstat -an will show smtp port listening on the server's IP address also.
Hope your problem is solved.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2003 03:47 AM
тАО01-21-2003 03:47 AM
Re: Configuring pop3 mail server
I have found the problem was that Sendmail was only listing to the local host address.
Thanks again
Steve