-----BEGIN PGP SIGNED MESSAGE-----
Hello Einar,
Wednesday, October 03, 2001, 3:13:47 PM, you wrote:
>> Hmm. I use neither qmailqueue nor qmailfilter nor smtp-auth, so I
>> suppose
>> this can be done easier by simply using qmail-tmda, no?
> The qmailqueue patch is needed by qmail-qfilter. We have been
> running the qmailqueue patch for a long time now, since
> qmailscanner (scan4virus as it first was called) required
> qmailqueue patch at first. qmail-qfilter is a stand-alone program
> that is taking qmail-queues place for filtering purpose before it
> delivers to qmail-queue.
What virus scanner app do you use, then? And on what OS? (I think the
only one which is any good on FreeBSD would be Kaspersky AVP). The
Linux version appears to have a demo (which only scans, but that
would
be enough on a server, but for FreeBSD, there doesn't seem to be any
demo ;-)
> smtp-auth is needed by TMDA when you as a user relay e-mails
> through the server, and require TMDAs address rewrites.
I don't think I'll support that. Filtering everything through
tmda-inject sounds SLOW.
> My mailer sends mails as [EMAIL PROTECTED], but when sending an
> e-mail to [EMAIL PROTECTED], TMDA rewrites my address to
> [EMAIL PROTECTED]
Uhm not my problem. I'm not going to use TMDA anyway ;-).
> TMDA ignores the files if they don't exists. TMDA creates the
> directory (if ~/.tmdarc exists) .tmda .tmda/pending, but not
> .tmda/lists. However if the directory "lists" exists, it
> autocreates logfile and whitelist. The other files is not needed,
> except when you need them for rewriting etc.
This is correct. However, you NEED to watch out that all files are
owner by vpopmail, dirs should have chmod 700 whereas the files
should
have 600. Else it won't do anything.
>> Then we ignore Jason's symlinking orgy and do it KISS:
>> .qmail-default gets to be
>> | /var/qmail/bin/qmail-tmda
Apropos, FreeBSD needs the following as $PWD isn't guaranteed set (or
maybe I'm wrong but otherwise it didn't work, you might consider to
change this for portability's sake):
- --
#!/bin/sh
export USR=`echo $EXT | cut -d\- -f1`
export HOME=`pwd`/$USR
env > /tmp/echoenvdotqmail
echo $HOME
if [ -r ~/.tmdarc ]; then
/usr/local/bin/tmda-filter
else
exit 0
fi
- --
> In a normal qmail solution, you don't use .qmail-default if you
> need to bounce unknown recipients. With vpopmail we have
> vdelivermail which does the bounce if the user don't exists. In
> this scenario TMDA with .qmail-default is the perfect choice.
ACK. The alternative of .qmail-username would probably confuse
qmailadmin so we don't do that.
>> and qmailadmin simply needs to invoke
>> /usr/local/bin/tmda-keygen -b > [users maildir]/.tmdarc
>> to activate TMDA.
> Correct!
Not 100%ly. You must ensure that import os stays there. So it is:
echo import os > [users maildir]/.tmdarc
/usr/local/bin/tmda-keygen -b >> [users maildir]/.tmdarc
I've got a KISS guide case anyone is interested.
>> Now editing the lists themselves in qmailadmin takes more work.
>> Bill?
Again, it would be sufficient if qmailadmin would load them into
<textarea>s so the users can edit them.
Best regards,
Gabriel
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5i
iQEVAwUBO7sE08Za2WpymlDxAQHTLQf8CwbP9/o41IkMwVnjf53KR9mJXPyMHLde
il3KUVtaVxbfnFZz3ZKyDvsOqHR5jcwPLYEyNHCxUuOgZm1WAxtp3xi+KyLBiVRz
L8PY6yVSxW7pN4vV/qWd9z/sBguAqJnMdh3wTlgZ1cxpEcpTVleczB+yLyP++p6S
/wurWUmAlHAEYxLriVNwVqBLmxEzxWyXxV8nOGiS4u9MmC5k1Dm019NPoUKChcDh
lBq3ijUOOjkuD3b72DGsHjiF6R8iuNPP0Xhh5SarliPNpkrrDj8zRp3OaJ5EPXiw
L2QHdDaVj2Vb8jbQqYkcKZRNwaXyQwBOsJhu13C4ofdibNqF75s/QA==
=0ICt
-----END PGP SIGNATURE-----