LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-14-2005, 02:27 AM   #1
cellist
Member
 
Registered: Oct 2003
Location: Cincinnati, OH
Distribution: Ubuntu 12.04
Posts: 145

Rep: Reputation: 16
Fetchmail and postfix... or any MTA for that matterHelp


Help, I've tried everything I know. I've done every possible web search there is to be done with regard to this problem. I'm too frustrated to be coherent, so I'll be brief:
a. I want to use fetchmail to check my school mail account.
b. I have postfix installed
c. Fetchmail fails with error 10 (can't find localhost smtp)
d. Telnetting to localhost smtp times out.
e. I've found absolutely nothing that deals with how to open the smtp port when postfix has been (presumably) configured correctly by dpkg (yes, using Debian Sarge on a ppc mac)

.fetchmailrc is as follows (with the appropriate values filled in naturally):

poll [remote mail server] with proto POP3 and options no dns user [my username] with password [my password] is [local user] here smtphost localhost

Please help, someone, I'm ready to throw the whole network out the window, all three computers plus wireless router in quick succession. I'm sure it's a stupid configuration file, but I can't figure it out. Thanks.

Last edited by cellist; 12-14-2005 at 02:29 AM. Reason: Bad html
 
Old 12-14-2005, 08:01 PM   #2
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
If you tried telneting localhost 25 and got "connection refused", that's because postfix is not running. Did you check to make sure it is running? If it's not, run the binary. After you run it and it doesn't run, check the logs to see why it failed.

-twantrd
 
Old 12-14-2005, 11:00 PM   #3
cellist
Member
 
Registered: Oct 2003
Location: Cincinnati, OH
Distribution: Ubuntu 12.04
Posts: 145

Original Poster
Rep: Reputation: 16
I don't get connecion refused. I should have said that. It simply times out. Postfix is definitely running. There is nothing interesting in the logs.
 
Old 01-03-2006, 11:48 PM   #4
WindowBreaker
Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 228

Rep: Reputation: 40
cellist:
You need to see which programs are listening on which ports, etc. For that, please run the following command:
Code:
netstat -lnpt
and post the results.

If postfix is running (in which case you'll see master listening on port 25), then it may be a postfix setting. Check your postfix's config file settings (usually found in /etc/postfix/main.cf), or post the output from the following command:
Code:
postconf -n
which will show us the postfix settings not left at their defaults. Pay close attention to the following settings:
Quote:
mynetworks
smtpd_helo_restrictions
smtpd_client_restrictions
There may be missing postfix files, or files with the wrong permissions set. To check that out, do:
Code:
postfix check
Have your tried running:
Code:
postfix reload
The output will be:
Quote:
postfix/postfix-script: fatal: the Postfix mail system is not running
if postfix wasn't running, in which case you should start it with:
postfix start
After doing "postfix start", wait about 10 seconds, and then re-run "postfix reload". If it still says postfix isn't running, then postfix is unable to successfully start, and you should check out your mail log file(s).
egrep '(fatal|warning|error)' /var/log/maillog
Note: Your maillog file may be elsewhere.

Keep us posted.

Last edited by WindowBreaker; 01-03-2006 at 11:51 PM.
 
Old 01-27-2006, 10:38 AM   #5
cellist
Member
 
Registered: Oct 2003
Location: Cincinnati, OH
Distribution: Ubuntu 12.04
Posts: 145

Original Poster
Rep: Reputation: 16
Wow, lots of information. I'll try all these things and let you know what I find out. Thanks for the reply.
 
  


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
mta, relay & fetchmail ? creolophus Linux - Newbie 1 12-04-2005 01:23 AM
Mailman (MTA = Postfix) problems (...group...) (Gentoo) jeroenvrp Linux - Software 0 07-19-2004 11:12 AM
smtp? mua? mta? lda?postfix? AWWWW hotrodowner Linux - Networking 22 06-13-2003 10:08 AM
Selecting Postfix as MTA in RH9 Asdsl Linux - Networking 2 04-08-2003 01:11 PM
server side anti virus for mail traffic; postfix as mta markus1982 Linux - Software 4 03-09-2003 09:17 AM

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

All times are GMT -5. The time now is 07:42 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
Open Source Consulting | Domain Registration