Hi,
I want force to qmail to use hostname mail.ndsoftware.net.
In the qmail's configuration i have the host of my computer :( !
I have edit all files in /var/qmail/control for mail.ndsoftware.net !
My DNS loookup and the host of my computer is not mail.ndsoftware.net.

I think of edit source :))
hostname.c

#include "substdio.h"
#include "subfd.h"
#include "readwrite.h"
#include "exit.h"

char host[256];

void main()
{
 host[0] = 0; /* sigh */
 gethostname(host,sizeof(host));
 host[sizeof(host) - 1] = 0;
 substdio_puts(subfdoutsmall,host);
 substdio_puts(subfdoutsmall,"\n");
 substdio_flush(subfdoutsmall);
 _exit(0);
}

I thinks of this file read the hostname of the computers, how modify for
only read mail.ndsoftware.net ?

Thanks for help.

Note: I search to add in headers X-Complaint-To:[EMAIL PROTECTED] !

Nicolas DEFFAYET, NDSoftware
http://www.ndsoftware.net - [EMAIL PROTECTED]
France: Tel +33 671887502 - Fax N/A
UK: Tel +44 8453348750 - Fax +44 8453348751
USA: Tel N/A - Fax N/A

Reply via email to