A while ago, I had a perfectly running fetchmail/qmail system.  Fetchmail
delivered all my mails to X@localhost where X was either my name or my wife's
(our email addresses ar [EMAIL PROTECTED]), and qmail delivered to x, which is the
account name on the linux box (see home.tvd.be/ws35056/linux/mail.htm

Now it has all gone wrong, and I want to recover the good old days.

My .fetchmailrc reads:

poll mail.tvd.be with proto POP3 
user "mb10056" with password "F7NK8TXx" to * here
 options forcecr 

and qmail is listening on port 25.  Below is an exrtract from fetchmail -v -v

About to rewrite To: [EMAIL PROTECTED]
Rewritten version is To: [EMAIL PROTECTED]

fetchmail: no local matches, forwarding to postmaster
fetchmail: SMTP< 220 saskia.tvd.be ESMTP
fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-P350.tvd.be
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250 8BITMIME
fetchmail: forwarding to localhost
fetchmail: SMTP> MAIL FROM:<[EMAIL PROTECTED]>
fetchmail: SMTP< 250 ok
fetchmail: SMTP> RCPT TO:<postmaster@localhost>
fetchmail: SMTP< 250 ok

And the following has been added to my mail headers
X-Fetchmail-Warning: recipient address [EMAIL PROTECTED] didn't match any local name

despite have the relevant alias files

[root@P350 alias]# ls -la
total 15
drwxr-sr-x   2 alias    qmail        1024 Jul  6 21:29 .
drwxr-xr-x  10 root     qmail        1024 Jun 29 22:53 ..
-rw-r--r--   1 alias    nofiles      1155 Jun 29 22:48 .Xdefaults
-rw-r--r--   1 alias    nofiles        24 Jun 29 22:48 .bash_logout
-rw-r--r--   1 alias    nofiles       230 Jun 29 22:48 .bash_profile
-rw-r--r--   1 alias    nofiles       124 Jun 29 22:48 .bashrc
-rw-r--r--   1 root     qmail           5 Jul  6 21:29 
.qmail-liesbeth:devriendt-rw-r--r--   1 root     qmail           0 Jun 29 22:51 
.qmail-mailer-daemon
-rw-r--r--   1 root     qmail           4 Jun 30 21:40 .qmail-postmaster
-rw-r--r--   1 root     qmail           0 Jun 29 22:51 .qmail-postmaster~
-rw-r--r--   1 root     qmail           4 Jul  6 20:16 .qmail-root
-rw-r--r--   1 root     qmail           0 Jun 29 22:51 .qmail-root~
-rw-r--r--   1 root     qmail           4 Jun 29 23:32 .qmail-simon:hampton
-rw-------   1 alias    qmail        3637 Jul  6 21:19 Mailbox                  

/var/maillog simply confirms that fetchmail was sending the mail to postmaster,
and this is what is happening for all mails

If I put tvd.be in rcpthosts or locals I fear i will either create relay
possibilities in the former case, and not be able to email other TVD
subscribers in the latter.

How can I once more get fetchmail to pass mails to X@localhost faithfully

Simon

--
--------------------
http://home.tvd.be/ws35056/
Latest pictures of Saskia: 20 June
Latest pictures of Ludovic: 20 June

Reply via email to