Re: qconfirm/vpopmail; sending doesn't modify envelope sender

Gerrit Pape <[email protected]>
Newsgroups gmane.comp.misc.pape.general
Message-ID <20060103145357.14324.qmail@da092fa5f4f914.315fe32.mid.smarden.org>
On Mon, Jan 02, 2006 at 05:21:49PM +0100, Charles M. Gerungan wrote:
> On 2-jan-2006, at 14:20, Gerrit Pape wrote:
> >>I did the whole process again, and at the end of qconfirm-conf -i is
> >>says: "Now use qconfirm-inject instead of qmail-inject to inject
> >>mail." How do I do that for that one e-mail address?
> >
> >I don't know vpopmail, this may not work at all, I'm not sure.  I
> >suggest you find out how to correctly send mail through qmail-inject,
> >and then simply replace qmail-inject with qconfirm-inject.
> 
> vpopmail only comes into play when receiving messages destined for a  
> local address, after qmail-send.
> 
> When sending messages, qmail-inject only comes into play when sending  
> mail locally, i.e. not from the network, correct?

Yes, when using qconfirm to send mail, it for now must be done locally
on the same machine that also handles the incoming mail.

> So how would you normally?sans vpopmail?use qmail-inject? I've tried  
> just symlinking qmail-inject to qconfirm-inject, but that didn't help  
> (which coincides with my previous paragraph).

See the qmail-inject man page, it's something like

 $ cat /my/mail/message |qmail-inject

To have qconfirm control the return path and message id as documented do
this instead

 $ cat /my/mail/message |qconfirm-inject

You can let e.g. mutt do the work:

 $ grep inject ~/.muttrc
 set sendmail="ssh a.mx.smarden.org qconfirm-inject"
 $ 

Regards, Gerrit.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.