Re: setting up mail and/or sendmail to use third party SMTP gateway.

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

 



-------- Original Message  --------
Subject: setting up mail and/or sendmail to use third party SMTP gateway.
From: RThimble@xxxxxxxxxxxxxxxx
To: fedora-list@xxxxxxxxxx
Date: 02/06/2008 12:28 PM

Everyone,

I have been getting bogged down and confused with the documentation on setting up mail to send to a SMTP gateway. The problem is there is no internal MX record(s) in DNS and we will not be adding any. I want to send output to my corporate email account from our snort sensors when rules are changed through oinkmaster. Any ideas on where I can start would be useful.
Thank you


What I think you want to do is setup your local sendmail to usea a "smart relay host" This can be accomplished two ways:


edit /etc/mail/sendmail/cf and look for:

# "Smart" relay host (may be null)
DS

and change it to

# "Smart" relay host (may be null)
DSmail.mydomain.com

then issue the command "service sendmail restart"


That is the easiest way. The "better" way is to edit the file: /etc/mail/sendmail.mc and find:

dnl # be sent out through an external mail server:
dnl #
dnl define(`SMART_HOST', `smtp.your.provider')dnl
dnl #

and change it to:

define(`SMART_HOST', `mail.mydomain.com')dnl

Note the quotes are ` and '

Then issue the command "make restart"

You would, of course, change "mail.mydomain.com" to the name of your local smtp server.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux