Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'I did it :)' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
I did it :)
Authored by: scotts on Jun 06, '02 01:37:42AM

For me these were required:
chmod go-w / /etc /etc/mail /usr /var /var/spool /var/spool/mqueue
chown root / /etc /etc/mail /usr /var /var/spool /var/spool/mqueue

As well the niutil commands from the read me (/etc/mail/README) were required to get sendmail to look at my config:

niutil -create . /locations/sendmail
niutil -createprop . /locations/sendmail sendmail.cf /etc/mail/sendmail.cf

While not required to get sendmail working, I did rebuild my sendmail.cf file from the m4 file as it was working but with some errors.

[XXXXXXX:/etc] root# mail -vvv -s "More testing" root
this better work or its going in to the lake
.
EOT
Msmtp: Warning: first argument in [IPC] mailer must be TCP or FILE
Mesmtp: Warning: first argument in [IPC] mailer must be TCP or FILE
Msmtp8: Warning: first argument in [IPC] mailer must be TCP or FILE
Mdsmtp: Warning: first argument in [IPC] mailer must be TCP or FILE
Mrelay: Warning: first argument in [IPC] mailer must be TCP or FILE
Warning: .cf file is out of date: sendmail 8.12.2 supports version 10, .cf file is version 9

But after the errors the message was sent.

I would not recommend setting the don't blame sendmail option, this passage in the config file motivates me to look deeper and fix the cause.

# override file safeties - setting this option compromises system security,
# addressing the actual file configuration problem is preferred
# need to set this before any file actions are encountered in the cf file
#O DontBlameSendmail=safe

Hope This Helps; Scott



[ Reply to This | # ]