Re: Unable to run qmail-remote

Charles Cazabon <[email protected]> Fri, 22 Dec 2017 22:11:07 -0600
Newsgroups gmane.mail.qmail.general
Message-ID <[email protected]>
Niamh Holding <[email protected]> wrote:
> 
> JL> $ /var/qmail/bin/qmail-remote ventura-uk.com
> JL> [email protected] [email protected] < foo
> 
> /var/qmail/bin/qmail-remote: line 88: 21977 Segmentation fault      "$DKREMOTE" "$@" < "$tmp3"
> 
> But sending the same message to my gmail address works fine-
> 
> rK74.125.140.27 accepted message.
> Remote host said: 250 2.0.0 OK 1513952784 41si3073625wrt.321 - gsmtp

Sounds like you have a buggy patch applied to qmail, then.  If it was some
other cause - like hardware issues - it wouldn't always succeed with one
domain and fail with the other.

Finding out which patch or combination of patches causes the bug will not be
simple.  You may wish to try reverting to vanilla qmail and add the patches
you need back in one at a time -- i.e., don't use a big combined patch, just
patch in the features you need.  Add a patch, run the test case - if it
doesn't crash, move on to the next patch, etc.  Once it starts crashing,
you've found it.

Charles
-- 
--------------------------------------------------------------------------
Charles Cazabon
GPL'ed software available at:                  http://pyropus.ca/software/
Read http://pyropus.ca/personal/writings/12-steps-to-qmail-list-bliss.html
--------------------------------------------------------------------------