Hi.
I'm having a hard time patching qmail with nullenvsender.patch.
Is this a permanent error, or is there something I can do?
The error says:
patching file qmail-smtpd.c
Hunk #1 FAILED at 112.
Hunk #2 succeeded at 222 (offset -113 lines).
Hunk #3 succeeded at 360 with fuzz 1 (offset -16 lines).
Hunk #4 succeeded at 280 (offset -166 lines).
Hunk #5 succeeded at 542 (offset -23 lines).
1 out of 5 hunks FAILED -- saving rejects to file qmail-smtpd.c.rej
qmail-smtpd.c.rej contains the following:
------------------BEGIN qmail-smtpd.c.rej -----------------
***************
*** 112,117 ****
void err_hmf() { out("553 sorry, your envelope sender domain must exist (#5.7.1)\r\n"); }
void err_smf() { out("451 DNS temporary failure (#4.3.0)\r\n"); }
void err_nogateway() { out("553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)\r\n"); }
#ifdef TLS
void err_nogwcert() { out("553 no valid cert for gatewaying (#5.7.1)\r\n"); }
#endif
--- 112,118 ----
void err_hmf() { out("553 sorry, your envelope sender domain must exist (#5.7.1)\r\n"); }
void err_smf() { out("451 DNS temporary failure (#4.3.0)\r\n"); }
void err_nogateway() { out("553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)\r\n"); }
+ void err_badbounce() { out("550 sorry, bounce messages should have a single envelope recipient (#5.7.1)\r\n"); }
#ifdef TLS
void err_nogwcert() { out("553 no valid cert for gatewaying (#5.7.1)\r\n"); }
#endif
-------------------------END qmail-smtpd.c.rej -----------------------
The patch is here:
The unpatched qmail-smtpd.c is here:
Thanks.
I'm having a hard time patching qmail with nullenvsender.patch.
Is this a permanent error, or is there something I can do?
The error says:
patching file qmail-smtpd.c
Hunk #1 FAILED at 112.
Hunk #2 succeeded at 222 (offset -113 lines).
Hunk #3 succeeded at 360 with fuzz 1 (offset -16 lines).
Hunk #4 succeeded at 280 (offset -166 lines).
Hunk #5 succeeded at 542 (offset -23 lines).
1 out of 5 hunks FAILED -- saving rejects to file qmail-smtpd.c.rej
qmail-smtpd.c.rej contains the following:
------------------BEGIN qmail-smtpd.c.rej -----------------
***************
*** 112,117 ****
void err_hmf() { out("553 sorry, your envelope sender domain must exist (#5.7.1)\r\n"); }
void err_smf() { out("451 DNS temporary failure (#4.3.0)\r\n"); }
void err_nogateway() { out("553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)\r\n"); }
#ifdef TLS
void err_nogwcert() { out("553 no valid cert for gatewaying (#5.7.1)\r\n"); }
#endif
--- 112,118 ----
void err_hmf() { out("553 sorry, your envelope sender domain must exist (#5.7.1)\r\n"); }
void err_smf() { out("451 DNS temporary failure (#4.3.0)\r\n"); }
void err_nogateway() { out("553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)\r\n"); }
+ void err_badbounce() { out("550 sorry, bounce messages should have a single envelope recipient (#5.7.1)\r\n"); }
#ifdef TLS
void err_nogwcert() { out("553 no valid cert for gatewaying (#5.7.1)\r\n"); }
#endif
-------------------------END qmail-smtpd.c.rej -----------------------
The patch is here:
The unpatched qmail-smtpd.c is here:
Thanks.