View Full Version : Need Help With Sendmail.
Kaj
November 25th, 2008, 02:20
Hello!!
I want to use sendmail to generate security reports etc for my system.
I don't need it to send or receive mail via the outside etc...No
incoming connections or anything like that, what is the best way to go
about this?
Thanks..
Kitche
November 25th, 2008, 02:47
well it already does this
but I believe you want sendmail_enable="NONE" in your /etc/rc.conf to stop sendmail for outside email really
SirDice
November 25th, 2008, 09:23
well it already does this
but I believe you want sendmail_enable="NONE" in your /etc/rc.conf to stop sendmail for outside email really
That will prevent sendmail from running at all. You want sendmail_enable="NO". That will make sendmail run in local-submit-only mode.
Mel_Flynn
November 25th, 2008, 09:38
And really, you want to edit /etc/aliases and run newaliases afterwards, to set the root account to your email address. Otherwise you will have to view the mail locally all the time (it'll be in /var/mail/root).
DutchDaemon
November 25th, 2008, 13:12
Sendmail in its default install (with the default setting in /etc/defaults/rc.conf) will only handle locally generated mail (system mail, cron output etc.). If the 'root' address is pointed to some external email address (using /etc/mail/aliases), it will deliver this mail to the best of its ability, otherwise it will append the mail to /var/mail/root. So what you want is how it is right now.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.