Date: Thu, 22 Aug 2002 08:31:51 -0400 From: Matthias Trevarthan <trevarthan@wingnet.net> To: freebsd-stable@freebsd.org Subject: Re: sendmail Problems Message-ID: <200208220831.51482.trevarthan@wingnet.net> In-Reply-To: <000001c249a6$15db0830$0800a8c0@p4> References: <000001c249a6$15db0830$0800a8c0@p4>
next in thread | previous in thread | raw e-mail | index | archive | help
I just had this same problem.
My problem stemmed from the fact that I neglected to run mergemaster as
carefully as I should have. (But it didn't seem to be working very well...)
Anyway, I left out three things:
1.) First, in /etc/defaults/rc.conf, there should be an MTA section right
above the Misc Administration section. This is NEW code! Add it! See example
below:
##############################################################
### Mail Transfer Agent (MTA) options ######################
##############################################################
mta_start_script="/etc/rc.sendmail"
# Script to start your chosen MTA, called by /etc/rc.
# Settings for /etc/rc.sendmail:
sendmail_enable="YES" # Run the sendmail inbound daemon (YES/NO/NONE).
# If NONE, don't start any sendmail processes.
sendmail_flags="-L sm-mta -bd -q30m" # Flags to sendmail (as a server)
sendmail_submit_enable="YES" # Start a localhost-only MTA for mail
submission
sendmail_submit_flags="-L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost"
# Flags for localhost-only MTA
sendmail_outbound_enable="YES" # Dequeue stuck mail (YES/NO).
sendmail_outbound_flags="-L sm-queue -q30m" # Flags to sendmail (outbound
only)
sendmail_msp_queue_enable="YES" # Dequeue stuck clientmqueue mail (YES/NO).
sendmail_msp_queue_flags="-L sm-msp-queue -Ac -q30m"
# Flags for sendmail_msp_queue daemon.
##############################################################
### Miscellaneous administrative options ###################
##############################################################
2.) you need to make sure you have submit.cf in the /etc/mail directory. (This
doesn't have anything to do with the sendmail.cf file. They are separate
entities.) If you don't have it, copy it from
/usr/src/contrib/sendmail/cf/cf/submit.cf
3.) Make sure you have installed /etc/rc.sendmail. You can find it here:
/usr/src/etc/rc.sendmail
That's it. Make sure your mqueue and clientmqueue directory permissions are as
follows:
[8:30]:[/var/spool]% ls -al | grep mqueue
drwxrwx--- 2 smmsp smmsp 512 Aug 22 08:20 clientmqueue/
drwxr-xr-x 3 root daemon 8192 Aug 22 08:30 mqueue/
And you should be good to go.
Matthias
On Thursday 22 August 2002 02:35 am, Hutterer wrote:
> After updating to 4.6.2-RELEASE my sendmail does not work.
>
> Get this error-messages: Anyboy an idea to fix this???
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208220831.51482.trevarthan>
