On Sun, 7 May 2000 at 06:19, Bob Williams wrote:
>But on the incoming side....I want to have Fetchmail get mail from my
>remote mailbox and send it to Postfix for distribution. I understand
>from the docs that Fetchmail by default sends mail to port 25 (which IS
>open for SMTP). I would think that at this point, mail would be
>distributed according to recipient addresses, rewriting, etc. But the
>mail always goes directly to the invoking user's mailbox, irrespective
>of the address. What am I doing wrong?
I don't know what you're doing, so honestly, I don't know what you're
doing wrong, either. But here goes nothing. :-)
1. I have something like this in my .fetchmailrc file:
poll <pop3 server> localdomains something.com.ph:
envelope "Received:"
user <login> pass "<pass>" to *
You may want to play around with the envelope setting, though. And make
sure to test the following (where my setup normally messes up):
a. One e-mail to more than one recipient on your localdomain. Does it get
to each of these recipients? Or does it go to your postmaster/default
user?
b. One e-mail with the explicit recipient(s) TO and/or CC to someone not
on your localdomain, but with a BCC to someone on your localdomain. Does
it get to that recipient? Or does it go to postmaster?
You may also want to read the Fetchmail manpages to check out the stuff I
recommended. It's not that easy to understand the Fetchmail manpages as
far as localdomains are concerned (I admittedly had to read it over a few
times), but I'm sure you'll manage.
>Do I need to have Fetchmail running in daemon mode for it to do this?
Nope. Daemon mode just means that fetchmail will be kept in memory,
polling at specified intevals. I prefer having a script called by cron at
specific times-of-day and/or time intervals (more flexibility) to run
fetchmail as the root user (who has the .fetchmailrc).
>Do I need to setup a config file rather than invoking it from the
>command line?
I did. It's up to you what you want to do. :-)
>Does it have to be in maildrop mode for it to do address checking?
I think so, but I'm not sure. AFAIK maildrop mode is the technical term
that ESR used. :-)
Good luck! :)
-+[ Jijo Sevilla ]+-
[EMAIL PROTECTED]
-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]