Subject: Re: bin/32279: send-pr doesn't work when sendmail is configured to
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: david <forraid@gemair.com>
List: netbsd-bugs
Date: 12/11/2005 22:15:04
The following reply was made to PR bin/32279; it has been noted by GNATS.

From: david <forraid@gemair.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: bin/32279: send-pr doesn't work when sendmail is configured to
 queue and send via dial-up
Date: Sun, 11 Dec 2005 16:52:47 -0500

 Thank you for your suggestion.
 
 In order to support MUAs such as Thunderbird, I run the sendmail daemon
 to queue mail.  It appears to queue mail to /var/spool/mqueue by
 default.  It gives an access denied error when I set the queue to 
 /var/spool/clientmqueue.
 
 When calling sendmail as a MDA, it queues messages
 /var/spool/clientmqueue.  I was not explicitly flushing this queue upon
 dial-up.
 
 So I now have two config files and am calling sendmail twice to flush
 both queues at dial-up.  I think this should work.
 
 David
 
 Christos Zoulas wrote:
 
 >The following reply was made to PR bin/32279; it has been noted by GNATS.
 >
 >From: christos@zoulas.com (Christos Zoulas)
 >To: gnats-bugs@netbsd.org, gnats-admin@netbsd.org,
 >	netbsd-bugs@netbsd.org
 >Cc: 
 >Subject: Re: bin/32279: send-pr doesn't work when sendmail is configured to queue and send via dial-up
 >Date: Sun, 11 Dec 2005 00:55:53 -0500
 >
 > On Dec 11,  5:45am, david.forrai@gemair.com (david.forrai@gemair.com) wrote:
 > -- Subject: bin/32279: send-pr doesn't work when sendmail is configured to qu
 > 
 > | >Number:         32279
 > | >Category:       bin
 > | >Synopsis:       send-pr doesn't work when sendmail is configured to queue and send via dial-up
 > | >Confidential:   no
 > | >Severity:       non-critical
 > | >Priority:       low
 > | >Responsible:    bin-bug-people
 > | >State:          open
 > | >Class:          sw-bug
 > | >Submitter-Id:   net
 > | >Arrival-Date:   Sun Dec 11 05:45:00 +0000 2005
 > | >Originator:     David Forrai
 > | >Release:        NetBSD 2.0.2_STABLE
 > | >Organization:
 > | Self
 > | >Environment:
 > | NetBSD dpfpc.lan.invalid 2.0.2_STABLE NetBSD 2.0.2_STABLE (DPFPC2) #1: Thu Aug 11 23:07:55 EDT 2005  root@:/usr/src/sys/arch/i386/compile/DPFPC2 i386
 > | 
 > | >Description:
 > | I have configured sendmail to queue mail until invoked with the -q option while connected through dial-up.  I followed the directions specified in the NetBSD Guide.  I encounter no problems when sending mail using a MUA but send-pr doesn't work.  send-pr indicates that the message was sent successfully but the message does not show up in /var/spool/mqueue and is not sent.
 > | 
 > | I edited the send-pr script by changing the MAIL_AGENT variable to force reading /etc/mail/sendmail.cf and provide verbose output as shown:
 > | 
 > | MAIL_AGENT="/usr/sbin/sendmail -C/etc/mail/sendmail.cf -v -oi -t"
 > | 
 > | This time I received the messages as follows:
 > 
 > Can you try changing your sendmail.cf from:
 > 
 > O QueueDirectory=/var/spool/mqueue
 > 
 > to:
 > 
 > O QueueDirectory=/var/spool/clientmqueue
 > 
 > christos
 > 
 >  
 >