[darcs-users] push and send

David Roundy droundy at abridgegame.org
Fri Mar 19 11:10:49 UTC 2004

On Fri, Mar 19, 2004 at 08:21:25AM +0100, Gour wrote:
> Here is the header:
> Return-Path: <gour at gaura.nitai.hr>
> Delivered-To: alias-isdn-wxruby at qualitycode.com
> Received: (qmail 6414 invoked by uid 204); 19 Mar 2004 07:12:56 +0100
> Received: from gour at gaura.nitai.hr by gaura by uid 1001 with qmail-scanner-1.16 
>  (.  Clear:. 
>  Processed in 0.281809 secs); 19 Ožu 2004 06:12:56 -0000
> Date: 19 Mar 2004 07:12:55 +0100
> Message-ID: <20040319061255.6405.qmail at gaura.nitai.hr>
> To: wxruby at qualitycode.com
> From: gour at mail.inet.hr
> Subject: darcs patch
> Cc: gour at mail.inet.hr
> DarcsURL: http://qualitycode.com/repos/wxruby/
> Content-Type: multipart/mixed; boundary="aaack"
> X-Qmail-Scanner-1.16: added fake MIME-Version header
> MIME-Version: 1.0
> The problem is, imho, that Return-Path: header contains: gaura.nitai.hr
> which is just my localhost domain, but not fqdn, and therefore
> destination server is (probably) marking the message as a spam.
> When I use mutt as a normal mailer, all the messages have correct
> Return-Path: header containg mail.inet.hr domain (which is fqdn).

I think this is probably a qmail configuration problem.  All the headers
before the To: header are added by qmail.  On the other hand, somehow mutt
is doing things right... Hmmm.

> What can be done that dialup users can more easily send darcs patches?
> Maybe some switch to use external mailer or ..?

Well, I'd try first experimenting a bit to see why qmail isn't giving the
right Return-Path.  You can call it directly by taking the above messaging,
editing out all the headers but To, From, Subject and Cc, and then calling 

/usr/lib/sendmail < cleaned_message

This should reproduce the result that darcs gives (i.e. the wrong
Return-Path).  If it doesn't, then we'll have a clue what's going wrong.

As a (very) crude hack, you could temporarily replace sendmail with a shell
script (or perl script or whatever) that writes its arguments and stdin to
log files to find out how mutt is calling sendmail--this is assuming that
mutt actually does call sendmail.

I think I've run out of ideas, but this is definitely something I'd like to
make sure "just works", at least as far as is possible.
David Roundy

More information about the darcs-users mailing list