Re: How to get mail to local destinations delivered?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 13, 2007 at 01:55:25PM +0000, Timothy Murphy wrote:
> Chris G wrote:
> 
> > It may well be of course that a trivial sendmail.mc/sendmail.cf will
> > do what I want, it's obvious that most of the contents of these files
> > are totally irrelevant to local mail delivery.
> 
> Did you ever post your sendmail.mc (with lines starting in dnl deleted),
> as I suggested you should several dozen posts ago in this thread?
> 
Yes, I posted it in reply to your request.


> I thought the default setup with sendmail was to deliver local mail
> (mail chris) locally?
> That's what my sendmail does.
> 
That depends!  :-)

If you connect to port 25 then, yes, the sendmail that's listening
on port 25 does deliver direct to local users.

However (and this is my issue) if your MUA (in my case mutt) uses
sendmail as its MTA (i.e. mutt runs sendmail to actually send its
mail, it doesn't connect direct to port 25) then *that* sendmail
appends its idea of the local hostname to the mail addressee.  By
default on my system that means that mail sent from mutt to 'chris'
actually gets sent to 'chris@xxxxxxxxx' which doesn#t work too well!

I suspect that other (well behaved!) low level senders of mail within
the system also call sendmail as an MTA to send their mail and that is
why mail to root from cron and similar programs is not working on my
system.

-- 
Chris Green


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux