On Fri, Dec 3, 2010 at 1:41 PM, Gorav - Impact Services <
[email protected]> wrote:

> Hi all,
>
> The issue is that fetchmail is trying to deliver the emails to
> u...@localhost rather than [email protected] as expected.
>
> Any suggestions what is missing or what needs to be corrected?
>
This is the intended behaviour of Postfix and not fetchmail. Local domains
as a declaration only tells fetchmail or postfix which mail domains it
should consider as local for local delivery as opposed to outside delivery
using SMTP.

In Postfix/sendmail, you will need a unique local user for every email id in
every domain if you want them as separate boxes. A pattern I used to follow
was name_domain for the user name. You will need to map the mail addresses
to the real users using the virtusertable file. Then you will see mails
getting delivered properly to the real users. In the absence of the
virtusertable, postfix simply strips the domain to figure out the username
and delivers it to that user.

Having just email ids also will not allow users to login unless they have
real users. I had for long searched for a module that allows folks to login
using their email addresses as opposed to their real user names (useful for
a mail only system) and found a couple of web frontends that did it by
reading the mapping in virtusertable.

Maybe some one in this list can write a PAM module for this purpose.

-- Mohan Sundaram
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to