LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-16-2003, 08:24 PM   #31
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30

David,
I just checked:
Sendmail was not running as a service.I had deselected it,for some reason.
Do you think this could be the cause of the problem?

Ok, I did the tests as you said (thanks for the idiot -proof language. I appreciate it) and the mail was sent and recieved ok.
Also the
telnet localhost 25 and

telnet localhost smtp worked too.

So I think it was the fact that I didn't have sendmail running.
Would you agree?
 
Old 05-16-2003, 08:50 PM   #32
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
no doubt, this was the problem
 
Old 05-16-2003, 09:06 PM   #33
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
David,
I'd just like to thank you for helping me and explaining things in a clear logical manner.

I want you to know I really appreciate your help.
Thanks,
Ludwig
 
Old 05-16-2003, 09:24 PM   #34
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
No problem, that's why we're here.
 
Old 05-18-2003, 06:11 AM   #35
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
For completeness sake, you don't need sendmail running as a service to be able to fetch mail from a remote POP3 account and deliver mail to local users.

"man fetchmail" says: "If no port 25 listener is available, but your fetchmail configuration was told about a reliable local MDA, it will use that MDA for local delivery instead." meaning you will only need running sendmail when you where somehow unable to generate a proper fetchmail configuration file.

Running any network service (out of the box) without proper configuration should be advised against.
 
Old 05-18-2003, 12:04 PM   #36
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
here is some info on using an MDA using -m

-m <command>, --mda <command>
(Keyword: mda) You can force mail to be passed to
an MDA directly (rather than forwarded to port 25)
with the -mda or -m option. Be aware that this
disables some valuable resource-exhaustion checks
and error handling provided by SMTP listeners; it's
not a good idea unless running an SMTP listener is
impossible. If fetchmail is running as root, it
sets its userid to that of the target user while
delivering mail through an MDA. Some possible MDAs
are "/usr/sbin/sendmail -oem -f %F %T",
"/usr/bin/deliver" and "/usr/bin/procmail -d %T"
(but the latter is usually redundant as it's what
SMTP listeners usually forward to). Local delivery
addresses will be inserted into the MDA command
wherever you place a %T; the mail message's From
address will be inserted where you place an %F. Do
not use an MDA invocation like "sendmail -oem -t"
that dispatches on the contents of To/Cc/Bcc, it
will create mail loops and bring the just wrath of
many postmasters down upon your head.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fetchmail - How does i configure it? saudoi Linux - Software 1 05-21-2005 09:05 AM
How to configure path to needed *.h files ??? ababkin Linux - Newbie 2 04-02-2004 11:40 AM
Fetchmail ./configure problem k4ution Linux - Software 3 11-28-2003 12:48 PM
Help needed on network configure(RH9) icepig Linux - Software 3 11-15-2003 09:07 AM
fetchmail-ssl: how to configure? DJ_Cyberdance Linux - Newbie 1 11-10-2003 06:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:07 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