I was thinking , why do alot of people here mention running tcpserver
with multilog and storing it's logs apart from qmail logs :
This is what I use for the startup string for tcpserver
/usr/local/bin/tcpserver -R -H -x/etc/tcp.smtp.cdb -v -u 7770 -g 2108
0 smtp /var/qmail/bin/tcp-env /usr/sbin/relaylock
/var/qmail/bin/qmail-smtpd >> /var/log/qmail/current 2>&1
&
This works fine, And I can see in the qmail log all mail action along
with the ip information (where the mail came from).
Is there a problem with that i didn't stumble upon (yet) ?
Also, I would really apriciate if some answered my prevous question,
repeated below :
I know that this question is being asked from time to time here,
but I have never seen a descriptive answer to it.
I have to rewrite the FROM field from messages I recieve through
smtp. The only rewriting I have to do is if FROM = alex@a.b then i
rewrite to FROM = [EMAIL PROTECTED]. The username
stays the same, only rewrite the domail name.
I have tried to use the Fixup part from qmail faq, created virtual
domain, got Mess822, starting to use new-inject in
/alias/.qmail-catchall-default, but I am unable to reach a satisfiing set
of parameters for it.
Somehow I get the feeling that the virtdomail idea is not designed
for tis situation, or am I wrong ???
Help will be apriciated.
Alex.
|