Hi qmailers,
Is there any other intelligent way of wrapping autoturn after qmail-smtpd
than the one described in serialmail-0.75/AUTOTURN:
3. Replace
/var/qmail/bin/qmail-smtpd
with
sh -c '
/var/qmail/bin/qmail-smtpd
cd /var/qmail/autoturn
exec setlock -nx $TCPREMOTEIP/seriallock \
maildirsmtp $TCPREMOTEIP autoturn-$TCPREMOTEIP- $TCPREMOTEIP AutoTURN
'
in the tcpserver invocation in your boot scripts. Reports from
maildirsmtp will be sent to the same place as reports from tcpserver.
Aaaargh, I don't want to spawn a shell (even lightweight) in such
an execution path..
A small C wrapper would be nice, anyone already written such a thing?
Or even spawn a kind of maildir2smtp from within qmail-smtpd
upon ETRN command request?
TIA, regards.
--
\|/ ____ \|/
~@- / oO \ -@~ Philippe Strauss
/__( \__/ )__\ home email/finger address: <[EMAIL PROTECTED]>
\__U_/
"If you pick up a starving dog and make him prosperous, he will not bite
you. This is the principal difference between a dog and a man."
-- Mark Twain
--