Skip site navigation (1)Skip section navigation (2)
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.=20

My problem stemmed from the fact that I neglected to run mergemaster as=20
carefully as I should have. (But it didn't seem to be working very well..=
=2E)

Anyway, I left out three things:

1.) First, in /etc/defaults/rc.conf, there should be an MTA section right=
=20
above the Misc Administration section. This is NEW code! Add it! See exam=
ple=20
below:

##############################################################
###  Mail Transfer Agent (MTA) options  ######################
##############################################################

mta_start_script=3D"/etc/rc.sendmail"
                        # Script to start your chosen MTA, called by /etc=
/rc.
# Settings for /etc/rc.sendmail:
sendmail_enable=3D"YES"   # Run the sendmail inbound daemon (YES/NO/NONE)=
=2E
                        # If NONE, don't start any sendmail processes.
sendmail_flags=3D"-L sm-mta -bd -q30m" # Flags to sendmail (as a server)
sendmail_submit_enable=3D"YES"    # Start a localhost-only MTA for mail=20
submission
sendmail_submit_flags=3D"-L sm-mta -bd -q30m -ODaemonPortOptions=3DAddr=3D=
localhost"
                                # Flags for localhost-only MTA
sendmail_outbound_enable=3D"YES"  # Dequeue stuck mail (YES/NO).
sendmail_outbound_flags=3D"-L sm-queue -q30m" # Flags to sendmail (outbou=
nd=20
only)
sendmail_msp_queue_enable=3D"YES" # Dequeue stuck clientmqueue mail (YES/=
NO).
sendmail_msp_queue_flags=3D"-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=20
doesn't have anything to do with the sendmail.cf file. They are separate=20
entities.) If you don't have it, copy it from=20
/usr/src/contrib/sendmail/cf/cf/submit.cf

3.) Make sure you have installed /etc/rc.sendmail. You can find it here:=20
/usr/src/etc/rc.sendmail

That's it. Make sure your mqueue and clientmqueue directory permissions a=
re as=20
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>