LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-11-2004, 04:06 PM   #1
Cynthia Blue
Member
 
Registered: Dec 2002
Location: SLC Utah USA
Distribution: SuSe 9.1
Posts: 102

Rep: Reputation: 15
Email Setup


I'm trying to get postfix going. I'm also attemping IMAP using courier-IMAP. I run on SuSe pro 9.1.

Currently my port 25 is down, and I'm assuming that is why i cannot ping mail.cynthiablue.net successfully. I have it configured thru the firewall okay, and Shield's Up tells me it is closed, not stealthed. So I'm assuming a service I need is not running.

Meanwhile, I'm trying to pop and imap my server from my internal network. These are the errors I get from my mail.log:
IMAP error:
Quote:
Nov 11 15:01:01 linux imapd: Connection, ip=[::ffff:10.0.0.2]
Nov 11 15:01:01 linux imapd: LOGIN, user=cynder, ip=[::ffff:10.0.0.2], protocol=IMAP
Nov 11 15:01:01 linux imapd: Failed to create cache file: maildirwatch (cynder)
Nov 11 15:01:01 linux imapd: Error: Input/output error
Nov 11 15:01:01 linux imapd: Check for proper operation and configuration
Nov 11 15:01:01 linux imapd: of the File Access Monitor daemon (famd).
POP error:
Quote:
Nov 11 15:01:04 linux pop3d: Connection, ip=[::ffff:10.0.0.2]
Nov 11 15:01:04 linux pop3d: LOGIN, user=cynder, ip=[::ffff:10.0.0.2]
Nov 11 15:01:04 linux pop3d: pop3d: No such file or directory
Nov 11 15:01:04 linux pop3d: LOGOUT, user=cynder, ip=[::ffff:10.0.0.2], top=0, retr=0
I'm curious if I need my postfix to be compiled with mySQL, and I'm using the automagic postfix that just came with SuSe 9.1, so not sure if I need mySQL in there, or if it is there.

I'm thinking perhaps I don't have pop to see the proper mail directory. It appears as though my mail directory is /var/mail/user, and this is how I have it in main.cf.

I would love some help this is driving me batty.
Thanks.
 
Old 11-11-2004, 04:53 PM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
try to telnet on port 25
if you connect then you know the port is open, if not then you need to check your /etc/services file to see if it is.

DISCLAIMER-I run Slackware and red hat, you may not have a services file.
 
Old 11-11-2004, 07:19 PM   #3
Cynthia Blue
Member
 
Registered: Dec 2002
Location: SLC Utah USA
Distribution: SuSe 9.1
Posts: 102

Original Poster
Rep: Reputation: 15
Thanks but I know it's closed because of Sheilds Up.
 
Old 11-11-2004, 07:24 PM   #4
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
ok
did you check your /etc/services file
 
Old 11-11-2004, 07:40 PM   #5
Cynthia Blue
Member
 
Registered: Dec 2002
Location: SLC Utah USA
Distribution: SuSe 9.1
Posts: 102

Original Poster
Rep: Reputation: 15
Well, services file says
smtp 25/tcp mail..
smtp 25/udp mail..

I don't understand if that means the port is open, or just defined. It looks like every port known to man is in that file.
 
Old 11-11-2004, 07:54 PM   #6
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
try
www.webmin.com

It is a web based GUI to configure a lot of programs, postfix and courier are included
 
Old 11-11-2004, 07:58 PM   #7
Cynthia Blue
Member
 
Registered: Dec 2002
Location: SLC Utah USA
Distribution: SuSe 9.1
Posts: 102

Original Poster
Rep: Reputation: 15
Already have it, it hasn't helped me get that darn port 25 open.
 
Old 11-11-2004, 08:04 PM   #8
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
post output of:
netstat -atp
 
Old 11-11-2004, 08:08 PM   #9
Cynthia Blue
Member
 
Registered: Dec 2002
Location: SLC Utah USA
Distribution: SuSe 9.1
Posts: 102

Original Poster
Rep: Reputation: 15
Quote:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:mysql *:* LISTEN 4617/mysqld
tcp 0 0 *:sunrpc *:* LISTEN 3991/portmap
tcp 0 0 *:ndmp *:* LISTEN 4095/perl
tcp 0 0 *:ftp *:* LISTEN 8873/xinetd
tcp 0 0 *:ipp *:* LISTEN 4910/cupsd
tcp 0 0 localhost:smtp *:* LISTEN 8839/master
tcp 0 0 *:889 *:* LISTEN 8769/fam
tcp 0 0 linux.site:ndmp linux.sit:kyoceranetdev TIME_WAIT -
tcp 0 0 linux.site:ndmp linux.site:jstel TIME_WAIT -
tcp 0 0 10.0.0.3:ansoft-lm-1 ads.ipowerweb.:www-http TIME_WAIT -
tcp 0 0 10.0.0.3:dab-sti-c 66.102.7.99:www-http ESTABLISHED 10528/konquerorKP0p
tcp 0 0 10.0.0.3:rdrmshc 66.102.7.99:www-http ESTABLISHED 10529/konqueror5mIO
tcp 0 0 10.0.0.3:asprovatalk 66.102.7.104:www-http ESTABLISHED 10531/konquerorfhbZ
tcp 0 0 10.0.0.3:bridgecontrol web1.linuxques:www-http TIME_WAIT -
tcp 0 0 10.0.0.3:gmrupdateserv web1.linuxques:www-http TIME_WAIT -
tcp 0 0 10.0.0.3:amt-esd-prot mx.linuxquesti:www-http ESTABLISHED 10454/konquerorvxfs
tcp 0 0 10.0.0.3:cardax mx.linuxquesti:www-http TIME_WAIT -
tcp 0 0 *op3 *:* LISTEN 4901/couriertcpd
tcp 0 0 *:imap *:* LISTEN 4903/couriertcpd
tcp 0 0 *:www-http *:* LISTEN 5236/httpd2-prefork
tcp 0 0 *:ssh *:* LISTEN 4565/sshd
tcp 0 0 localhost:smtp *:* LISTEN 8839/master
tcp 0 0 10.0.0.3:imap 10.0.0.2:empire-empuma ESTABLISHED 8914/imapd
tcp 0 0 10.0.0.3:imap 10.0.0.2:ng-umds ESTABLISHED 7829/imapd
tcp 0 0 10.0.0.3:imap 10.0.0.2:sstsys-lm ESTABLISHED 8917/imapd
Thanks for helping.
 
Old 11-11-2004, 08:17 PM   #10
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
open this with a text editor
/etc/init.d/courier-pop3

post the contents, also do a ls -l in the /etc/init.d/ directory and post that also
 
Old 11-11-2004, 09:21 PM   #11
Cynthia Blue
Member
 
Registered: Dec 2002
Location: SLC Utah USA
Distribution: SuSe 9.1
Posts: 102

Original Poster
Rep: Reputation: 15
Okay I got port 25 open. For some reason it wasn't taking the inet_interfaces setting to all. It was rejecting that, even changing it with webmin. I had to change it in the config file then stop postfix then start it, and 25 is open now.

However, imap and pop3 are still giving the above errors. Ugh.
 
Old 11-11-2004, 09:50 PM   #12
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
can you telnet to port 25
 
Old 11-12-2004, 11:28 AM   #13
Cynthia Blue
Member
 
Registered: Dec 2002
Location: SLC Utah USA
Distribution: SuSe 9.1
Posts: 102

Original Poster
Rep: Reputation: 15
Yes, I can even send emails thru that telnet to port 25.

I'm really thinking I don't have my directories set up somewhere. I'm not in front of the computer anymore now... but mail is in /var/mail/user... I believe. And I see that file, and webmin can access the mail in there, but the pop and IMAP are not able to access it somehow.

Maybe the restarts are taking again, and I need to stop, then start after changing settings. Or, maybe I need to completely uninstall the postfix/imap/pop packages then reinstall them and start from scratch.

It can't possibly be this hard. When I had RH8, the email just worked. Ugh. I'm really considering Mandrake, after all the SuSe problems I've been having.
 
Old 11-12-2004, 01:19 PM   #14
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
I would go Slackware, but i'm biased.

always stop and start services when changes are made, i don't trust restart scripts.
 
  


Reply



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 Server Setup gmalleus Linux - General 1 08-11-2005 02:33 PM
A few email setup questions.... Mr. Eek Linux - Software 2 11-04-2003 08:35 PM
Where to start for email setup rpotts Linux - General 3 10-14-2003 06:33 PM
want to setup an email server Finlay Linux - Networking 2 03-16-2003 02:59 AM
Help with email server setup..?? dalk Linux - Newbie 0 09-20-2001 10:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:20 AM.

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
Open Source Consulting | Domain Registration