Click to See Complete Forum and Search --> : Qmail & Fetchmail


gmoreno
04-27-2001, 05:41 PM
I got qmail configured. I got the gabe.mine.nu and if I get mail like to gmoreno@gabe.mine.nu I get it in my Mailbox. But if I download mail from pop.yahoo.com fetchmail downloads it but I cand find out where it is. It seems like the mail just disapears.
I get this error from QMAIL which I think could be the problem but I am not sure it is #4.1.2 Sorry, I couldn't find any host by that name.

Please help

bdl
04-27-2001, 07:56 PM
Are you running named on your system? Perhaps Fetchmail is trying to hand the messages from your isp off to the local mailserver, in this case qmail, and can't lookup the hostname. I'm unfamiliar with qmail, but I can tell you that most mailservers require a valid DNS structure to run and deliver mail.
Is 'gabe.mine.nu' a FQDN? Do you have a static IP and a valid reverse entry? Please post a little more information and I'm sure we can get it working.

gmoreno
04-27-2001, 08:10 PM
I have a Dynamic Ip and I have that domain name from dyndns.org

plasmid
04-27-2001, 09:05 PM
I have qmail and fetchmail working on my system, so it can be done :)

First, qmail will deliver to your home directory, not your spool, so you may be getting it and not even know it.

second, make sure fetchmail is set to give the proper user name for your user on your local system...otherwise qmail will reject the transfer.

here is what my .fetchmailrc file looks like, try using it to build your own. my local name is plasmid on my box "localhost.localdomail"....on the system I'm getting mail from "bogus.isp.net" my name is dimsalp. IO

# Configuration creaded by fetchmailconf
set postmaster "plasmid"
set nobouncemail
set properties ""
poll bogus.isp.net
user 'dimsalp' there with password '****' is
plasmid@localhost.localdomain here options keep warnings 3600
antispam 571 550 501 554


hope this helps you
-plasmid

gmoreno
04-28-2001, 01:22 AM
I do have my Maildir(qmail) in my home directory... Actually when I get mail like at gmoreno@gabe.mine.nu I arrives in that directory but when I use fetchmail the mail is lost. Fetchmail dosent give me any error messages..

Craig McPherson
04-28-2001, 01:48 AM
Originally posted by gmoreno:
<STRONG>Fetchmail dosent give me any error messages..</STRONG>

That just means that fetchmail passed the mail off to your mailserver properly. The mailserver can then choose to accept or reject it. You'll need to check your mailserver logs to see what the problem is.

I use Exim, and I lost a bunch of e-mail one time using fetchmail because I (unknowingly) had Exim configured not to accept more than 10 messages per session. If I downloaded 110 messages with fetchmail, 100 were gone into the Ether. D'oh.

gmoreno
04-28-2001, 02:27 AM
yup I think that something like that is going on. I am not downloading 100 e-mails but my e-mail is being lost by fetchmail

gmoreno
04-28-2001, 08:25 PM
Ok I think this will help A LOT. I think that the problem is that Qmail dosent know who gmoreno@localhost is. How can I tell it that it is me.

Date:
28 Apr 2001 15:36:09 -0000
From:
MAILER-DAEMON@gabe.mine.nu | Block Address | Add to Address Book
To:
esclavosoy@yahoo.com
Subject:
failure notice

Hi. This is the qmail-send program at gabe.mine.nu.
I'm afraid I wasn't able to deliver your message to the following
addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

&lt;gmoreno@localhost&gt;:
Sorry, I couldn't find any host named localhost. (#5.1.2)

--- Below this line is a copy of the message.

Return-Path: &lt;esclavosoy@yahoo.com&gt;
Received: (qmail 620 invoked from network); 26 Apr 2001 23:29:15 -0000
Received: from localhost.ptld.uswest.net (HELO localhost) (127.0.0.1)
by localhost.ptld.uswest.net with SMTP; 26 Apr 2001 23:29:15 -0000
X-Apparently-To: esclavosoy@yahoo.com via web13803.mail.yahoo.com
Received: from pop.mail.yahoo.com
by localhost with POP3 (fetchmail-5.4.0)
for gmoreno@localhost (multi-drop); Thu, 26 Apr 2001 16:29:15 -0700
(PDT)
Received: from web13808.mail.yahoo.com (216.136.175.18)
by mta107.mail.yahoo.com with SMTP; 25 Apr 2001 11:54:19 -0700 (PDT)
Message-ID: &lt;20010425185418.78072.qmail@web13808.mail.yahoo.co m&gt;
Received: from [198.36.177.109] by web13808.mail.yahoo.com; Wed, 25 Apr
2001 11:54:18 PDT
Date: Wed, 25 Apr 2001 11:54:18 -0700 (PDT)
From: Gabriel M Moreno &lt;esclavosoy@yahoo.com&gt;
Subject: Cuban
To: esclavosoy@yahoo.com
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="0-894429689-988224858=:74334"
X-Fetchmail-Warning: recipient address esclavosoy@yahoo.com didn't
match any local name

--0-894429689-988224858=:74334
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

paper

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/

plasmid
04-28-2001, 10:56 PM
it looks like qmail is set up for email on a system called gabe.mine.nu...so it probably won't deliver mail to a system called localhost. There are ways to set up qmail to deliver to other systems, or other system names that is...but thats kind of beyond me. have fetchmail deliver your mail to your user name at your machines name (I'm guessing that is gabe.mine.nu from your qmail message)

-plasmid