Re: Sendmail on a LAN - SOLVED

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

 



  On 08/18/2010 04:20 PM, Patrick O'Callaghan wrote:
> On Wed, 2010-08-18 at 15:52 -0700, JD wrote:
>> Thanks to all who made important suggestions.
>> It now works.
> Adding SOLVED to the Subject kind of implies that you'll explain *how*
> it was solved. That's the point.
>
> poc
>
Well, it was not just one thing, but of all the tweaks I had to do,
only one turned out to be cruicial:
I had to comment out one line in sendmail.mc:

cd /etc/mail

edit sendmail.mc

DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl

i.e. add dnl to the start of the line, and that comments it out:

dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl

The minor changes are the common sense things that most mail admins know:

In sendmail.mc:

MASQUERADE_AS(`the.domain.name.that.resolves.to.your.router's.public.ip.address')dnl

You obtain one of these for free from dyndns.com

Uncomment the line

FEATURE(masquerade_envelope)dnl  (i.e. remove the leading # sign and 
leading dnl)

Uncomment the line

FEATURE(masquerade_entire_domain)dnl

Then

./make

service sendmail restart

There are other files that need administration, but that is out of the 
scope of this.

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux