Richard Smith wrote:
I'm back... but not without a serious problem.
So you still need the help of our "pretty little heads"?
fetchmail: SMTP> RCPT TO:<fetchmail(_at_)localhost> <-------------------
### See !!!
What's wrong? Fetchmail has to give your MTA a complete envelope with a
recipient. By default this is the user that called fetchmail.
You have to tell fetchmail that
a) gotworms.co.uk is a local domain. This can be easily done with the
... tadaa! ... localdomains keyword
b) there is not only one rcpt for this mailbox, but any local-part is
ok, so fetchmail should extract the rcpt (you need to have a header-line
that specifies envelope rctp to do this reliably). Look for multidrop
configuration in the manpage.
set invisible # doesn't really work... since fetchmail rewrites
regardless
invisible has nothing to do with rewriting.
The Message is frozen, since it cannot deliver to
/home/fetchmail/Maildir... cos it doesn't exist.
If you have local users that should get no mail, you should alias them
to another account or /dev/null.
smtpname "richard(_at_)gotworms(_dot_)co(_dot_)uk"
is "richard(_at_)gotworms(_dot_)co(_dot_)uk" here
it means the headers are re-written and TMDA doesn't work.
What did you expect? You tell fetchmail that all mail should be directed
to "richard(_at_)gotworms(_dot_)co(_dot_)uk".
b) Why fetchmail REALLY doesn't like me...
Well, if you treat it right, it will even LOVE you (and vice versa).