LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-18-2002, 05:56 PM   #1
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
Fetchmail, Sendmail, at home without FQDN


I have been using fetchmail for quite a while to go out and get my mail and store it local. Then I acces it via Pine.

I have tried to setup Sendmail to act as the local delivery agent, but I can't seem to get it to work. I think fetchmail is currently using Procmail to deliver. When I try to use Sendmail, I get a bunch of this:


fetchmail: POP3> RETR 16
fetchmail: POP3< +OK
reading message 16 of 16 (18006 octets)
fetchmail: SMTP> MAIL FROM:<user@hmdelivery.com> BODY=8BITMIME SIZE=18006
fetchmail: SMTP< 250 2.1.0 <user@hmdelivery.com>... Sender ok
fetchmail: SMTP> RCPT TO:<Kevin@localhost>
fetchmail: SMTP< 550 5.1.1 <Kevin@localhost>... User unknown
fetchmail: SMTP listener doesn't like recipient address `Kevin@localhost'
fetchmail: SMTP> RCPT TO:<Kevin@localhost>
fetchmail: SMTP< 550 5.1.1 <Kevin@localhost>... User unknown
fetchmail: can't even send to Kevin!
fetchmail: SMTP> RSET
fetchmail: SMTP< 250 2.0.0 Reset state
................ not flushed


What I want to end up with is a way to connect remotely to my Linux box using any IMAP client and see the mail that Fetchmail has retrieved. I am pretty sure that I will have to have Sendmail and IMAP server running to do this.

Is anyone out there doing anything similar?
A stickky problem with Sendmail is that I have no real domain name and I think it really wants that.

If I can get Sendmail working properly as the delivery agent, then I can go on to fighting with the IMAP part of it.


Any help is greating appreciated,

KevinJ
 
Old 12-18-2002, 06:32 PM   #2
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Original Poster
Rep: Reputation: 30
what about Qmail instead of Sendmail? Anyone have any thoughts on that?

-K
 
Old 12-18-2002, 09:12 PM   #3
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Kevin - not being a sendmail expert myself (just talking about it will give me nightmares - m4 macros chasing me down the street) it looks like sendmail is using fetchmail. try grep'ing through your main.cf files to see what references you can find.
 
Old 12-18-2002, 11:14 PM   #4
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Original Poster
Rep: Reputation: 30
well.. the difference without Sendmail is this....


$ fetchmail
22 messages for kevin at mail.server.net (317885 octets).
reading message 1 of 22 (1533 octets) .fetchmail: SMTP connect to localhost failed
fetchmail: can't raise the listener; falling back to /usr/bin/procmail -d %T not flushed
reading message 2 of 22 (1532 octets) . not flushed

and so on and so on, until all messages are read and delivered.

The thing is... I am wondering if I need Sendmail at all anyway.

Hrmm... this might actually work without having Sendmail at all. I can use the SMTP server at my hosting place...

-KevinJ
 
Old 12-19-2002, 11:22 AM   #5
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Original Poster
Rep: Reputation: 30
Well.. I think I have it fixed. I made a whole lot of changes to sendmail that didn't do diddly to fix my problem.


Turns out that Sendmail will not parse usernames that start with capital letters!!!! I changed "Kevin" to "kevin" and BAMMM it works.

Can you freaking believe that???

-kevinj
 
  


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
setup fetchmail or sendmail satishpatel Linux - Software 1 03-08-2005 12:21 AM
Fetchmail / Sendmail dunmarie Linux - Software 0 11-04-2004 04:13 AM
sendmail, procmail, fetchmail manjunja Linux - Software 0 07-10-2003 02:39 AM
Sendmail and Fetchmail stchow Linux - General 0 02-10-2002 05:43 AM
Sendmail/Fetchmail/POP3 mwmethe Linux - General 1 06-08-2001 10:06 PM

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

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