Re: [Hampshire] Sendmail local users

Top Page

Reply to this message
Author: Chris Aitken
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Sendmail local users
> I use fetchmail to collect mail from my ISPs POP3 service and that
> presents the mail to sendmail as <username>@localhost. All is well as
> the mail is accepted and shunted off to procmail. I use the ISPs tools
> to set aliases and suchlike on their system so it all ends up in the
> correct POP3 boxes. No problem there.
>
> However, when a local user (for instance, my brother) wants to send me
> an email he addresses it as first.lastname@??? and then his mail
> client connects to port 25. Sendmail rejects this as first.lastname is
> an "Unknown User".
>
> Which part of sendmail is it that can translate first.lastname into
> username, and how can I turn that feature on?


Try /etc/aliases. I thnk it is in the format:
username: alias1, alias2
Where alias1 could be "firstname.lastname"

Chris