Need Help With Sendmail.

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..
 
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
 
Kitche said:
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.
 
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).
 
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.
 
Back
Top