Russ Allbery <[EMAIL PROTECTED]> writes:
> Bill Luckett <[EMAIL PROTECTED]> writes:

>> Can anyone point me to some documentation on how to use fixcr. I've
>> read that "you can simply run sh -c 'fixcr | qmail-smtpd' for your
>> outgoing mail relay." but where do you put that command? In the startup
>> script?

> It should go into the tool chain that you use to start qmail-smtpd.  In
> other words, if you currently start qmail-smtpd with:

>     tcpserver -v -R -u 91 -g 102 0 smtp qmail-smtpd 2>&1 \
>         | setuser qmaill /usr/local/bin/accustamp \
>         | setuser qmaill /usr/local/bin/cyclog /var/log/smtp &

> You would instead use:

>     tcpserver -v -R -u 91 -g 102 0 smtp sh -c 'fixcr | qmail-smtpd' 2>&1 \
>         | setuser qmaill /usr/local/bin/accustamp \
>         | setuser qmaill /usr/local/bin/cyclog /var/log/smtp &

Sorry to follow up to myself, but I should add that while I haven't been
following the fixcr discussion that closely (it's not a problem that I
have to deal with), the note "outgoing mail relay" seems to me to imply
that you *don't* want to be running fixcr on arbitrary *incoming* e-mail.
So you may want to only do this on the qmail-smtpd you're running on a
special relay host or on a different port than smtp.

Caveat sysadmin.

-- 
Russ Allbery ([EMAIL PROTECTED])         <URL:http://www.eyrie.org/~eagle/>

Reply via email to