fetchmail-friends
[Top] [All Lists]

Re: [fetchmail] exit with non zero code, 2nd

2002-09-16 11:52:49
Quoting from Matthias Andree's mail on Mon, Sep 16, 2002 at 12:40:39PM +0200:
An MDA cannot do this. You need an MTA for alias /expansion/. That's why
I suggested to have two separate options, named "mda" and "mta". We may
want to give them names that give the less experienced users a clue,
such as (mda) "mailbox_program" and (mta) "mailserver_inject_program" or
something.

Sorry. I think I went off the track. My point was not about groups
anyway.

My point was about mapping full email addresses -> local usernames
with localdomains and mda.

You can use "aka" if you want to keep the mapping (I did not test this
though.), or you can inject into an MTA and use its virtual users
mapping.

aka is meant for aliases of the mailserver. It will do this mapping as
you say, but it may also unintentionally parse some other received
line for local addresses. Something like:

Received: ... by mailserver ... [no for <address>]
Received: ... by server1.domain ... for <user(_at_)domain>

In the above case, with

poll "mailserver" localdomains "domain"

only the first line is correctly parsed for addresses. Since, there is
no address there, the To: and Cc: lines will presumably be parsed.
However, with

poll "mailserver" aka "domain"

the second line will also be parsed for addresses. This may lead to
mails not being received by certain users.

Such a situation might occur with one mailserver and one domain being
shared by servers, each handling a subset of users. Of course, I am
not sure if such contrived headers will actually occur.

Sunil Shetye.