Re: Sendmail woes

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

 



Cédric Chausson wrote:

Actually my hosts files reads :

127.0.0.1 keerah localhost.localdomain

instead of 127.0.0.1 keerah localhost.localdomain

So hostname returns : keerah. That is soemthing i put during the installation process.

OK -



To send mail I use Balsa but I have cron jobs that are supposed to send mail mail and they use sendmail/mail command.


a mail agent which adds a legitimate 'from' address.


Which one ?

balsa works as you said - however if your computer is sending mail unattended, you will have to teach sendmail what the fully qualified domain name is supposed to be -

I switched to postfix awhile back so my sendmail
may be a bit rusty, but you'll configure sendmail
such that it has a legitimate fully qualified domain
name in the sendmail.cf (or use the sendmail.mc
and generate the sendmail.cf)

in sendmail.cf you can modify the Dj option
e.g.

Djacme.com

and when sendmail starts up it will assume the
hostname acme.com - note that you should have
some connection to acme.com or it is pointless.

You could also set it up to relay mail through
you isp via the smart host "DS" option:

DSsmtp.my-isp.com

Joe





[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux