>
> Modify qmail-smtpd to not write that header or see FAQ 5.5.
>
> Stefan
OK.. cool... except that i don't see how FAQ 5.5 has anything to do
with it. Still, if i can get away without modifying any binaries, i'll
be happy....
maybe you could be a little more explicit with what you mean? or maybe
you have a different FAQ? attached is what i have for sec 5.5, and the
online version doesn't seem to use numbers like that. There is a section
on "user masquerading" but it just deals with the defaulthost
attached is what i have for 5.5 of the FAQ
vielen Dank!
914
5.5. How do I fix up messages from broken SMTP clients?
Answer: Three steps. First, put
| bouncesaying 'Permission denied' [ "@$HOST" != "@fixme" ]
| qmail-inject -f "$SENDER" -- "$DEFAULT"
into ~alias/.qmail-fixup-default. Second, put
fixme:fixup
into /var/qmail/control/virtualdomains, and give qmail-send a HUP.
Third, follow the procedure in question 5.4, but set RELAYCLIENT to the
string ``@fixme'':
tcp-env: 1.2.3.6, 1.2.3.7: setenv = RELAYCLIENT @fixme
Here 1.2.3.6 and 1.2.3.7 are the clients' IP addresses. If you are using
tcpserver instead of inetd and tcpd, put
1.2.3.6:allow,RELAYCLIENT="@fixme"
1.2.3.7:allow,RELAYCLIENT="@fixme"
into /etc/tcp.smtp, and run tcprules as in question 5.4.