First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 13836
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Nick Hadaway <nick@capital-internet.net>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andrea Barisani (RETIRED) <lcars@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 13836 depends on: Show dependency tree
Bug 13836 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-01-13 05:07 0000
With the new mail submission program feature sendmail looks up submit.cf for
sendmail mail when invoked from command line or by a program on the local
machine. Mails submitted by the msp if deferred are placed in the msp queue
located in /var/spool/clientmqueue. In /etc/init.d/sendmail a msp queue cleaning
daemon should be started.

example:

sendmail -Ac -q30m -L sendmail-msp

------- Comment #1 From Nick Hadaway 2003-01-13 21:52:50 0000 -------
-q30m is already being passed to the starting of sendmail.
If you have a cron daemon running then sendmail will do it's queue flushing properly.

------- Comment #2 From Andrea Barisani (RETIRED) 2003-01-14 04:06:28 0000 -------
sendmail -bd -q30m flush only /var/spool/mqueue

an additional instance is needed for flushing /var/spool/clientmqueue.


From sendmail/SECURITY:

The daemon must be started by root as usual, e.g.,

/PATH/TO/sendmail -L sm-mta -bd -q1h

(replace /PATH/TO with the right path for your OS, e.g.,
/usr/sbin or /usr/lib).

Notice: if you run sendmail from inetd (which in general is not a
good idea), you must specify -Am in addition to -bs.

Mail will end up in the client queue if the daemon doesn't accept
connections or if an address is temporarily not resolvable.  The
latter problem can be minimized by using

	FEATURE(`nocanonify', `canonify_hosts')
	define(`confDIRECT_SUBMISSION_MODIFIERS', `C')

which, however, may have undesired side effects.  See cf/README for
a discussion.  In general it is necessary to clean the queue either
via a cronjob or by running a daemon, e.g.,

/PATH/TO/sendmail -L sm-msp-queue -Ac -q30m

------- Comment #3 From Martin Holzer (RETIRED) 2003-01-15 14:19:32 0000 -------
*** Bug 13951 has been marked as a duplicate of this bug. ***

------- Comment #4 From Nick Hadaway 2003-01-19 18:24:20 0000 -------
The ebuild in portage has been updated with your suggestions. Log messages are
marked as sm-mta and sm-cm for the individual daemons.

------- Comment #5 From Target 2004-02-22 02:17:00 0000 -------
This fix is now detrimental to recent versions of sendmail. The two daemons
will step on each others' toes.

I commented out the clientqueue copy of the daemon in /etc/init.d/sendmail and
problems with empty messages/open failures went away. The single daemon is
flushing both queues (mqueue & clientmqueue).

------- Comment #6 From Andrea Barisani (RETIRED) 2004-02-22 03:13:52 0000 -------
That's not true, /var/spool/clientmqueue still needs a separate flushing
daemon. This is confirmed from the documentation and a simple test with 'lsof'
(also there is a logic in this behaviour).  Could you please post your
sendmail.mc? Maybe you got a non-standard configuration.  Also exactly what
kind of problems were you experiencing?

First Last Prev Next    No search results available      Search page      Enter new bug