John Peacock said the following on 29/11/2005 18:01:
> Robin Bowes wrote:
>
>> One thing: I currently use tcpserver to enable relaying using
>> pop-before-smtp, i.e.:
>>
>> -x /etc/tcp.smtp.cdb
>>
>> Is there anyway to do this using qpsmtpd-forkserver?
>
>
> My recommendation is to not use pop-before-smtp at all (it's just so
> `90's), and use SMTPAUTH instead (which all modern and not so modern
> clients will support).
I concur, but I've got to support what's there already.
> It depends completely on how your client is
> authenticating users; the included auth/auth_vpopmail_sql works out of
> the box for the most commonly (recommended) installation of vpopmail,
> for example.
You may have seen, I've implemented qppoprelay which seems to work fine.
I've since gone over to using SpeedyCGI so I'm back with the
tcpserver-based relay control.
>> I have used envdir in the past but I wasn't sure how your ${} constructs
>> work. For example, what does this do:
>>
>> ${DATALIMIT+"-d$DATALIMIT"}
>
>
> That is a shell construct that means:
>
> If $DATALIMIT exists, then append "-d$DATALIMIT" here.
>
> The other constructs do something similar, i.e. "${PORT-25}" means
>
> If $PORT exists use that value, otherwise use 25
>
> The reason I use that `run` file is that I can store it in my local svk
> repository and check it out on multiple boxes and just add the
> appropriate env/FILE and it Just Works(TM).
Cool. That's useful information.
Thanks,
R.
--
http://robinbowes.com
If a man speaks in a forest,
and his wife's not there,
is he still wrong?