Ing. Daniel Manrique
2005-07-20 18:49:15 UTC
Hey! I'm trying to configure dspam 3.5.2 on a qmail-based system and I've
run into a problem trying to configure a single spam alias
(***@mydomain.com) using MySQLUIDInSignature.
My dspam configuration is as follows:
./configure --prefix=/usr/local/dspam/ --with-storage-driver=mysql_drv \
--enable-debug --with-mysql-includes=/usr/local/include/mysql/ \
--with-mysql-libraries=/usr/local/lib/mysql/ --enable-virtual-users \
--enable-preferences-extension --enable-neural-networking
dspam is actually working; however the single spam alias feature is not.
The readme says to configure something like:
|/usr/local/bin/dspam --user root --class=spam --source=error
it says:
"The 'root' user represents any existing user on the system. It is
necessary to supply a username on the commandline or DSPAM will bail on an
error, however the user will be changed internally once the signature is
read."
However I've found this doesn't work as advertised; I still have to pass
the correct --user parameter.
My global spam alias runs as user "alias" (a qmail system) and as such,
dspam gets run as "alias" (which is on the list of trusted users) and I
get the following error:
1025: [07/20/2005 13:41:42] Signature retrieval for
'1,42de98d72747865519259' failed
1025: [07/20/2005 13:41:42] Unable to find a valid signature. Aborting.
1025: [07/20/2005 13:41:42] process_message returned error -5. dropping
message.
This happens whenever the user I specified with "--user" is different from
the user who received the email; if, say, the email belongs to john, the
only way to get dspam to process this correctly is to say "--user john" on
the command line.
if I give each user a user-spam configuration (with a .qmail-file), so
that dspam gets invoked as that particular user, everything works fine.
However this defeats the announced purpose of the single spam alias.
can someone suggest a solution to this problem? is the MySQLUIDInSignature
feature not working? I see the correct user id as part of the signature
however dspam doesn't seem to be "switching" to that user for the
remainder of the process and so when it tries to match the signature to
the working user.
thanks in advance!
- Roadmaster
run into a problem trying to configure a single spam alias
(***@mydomain.com) using MySQLUIDInSignature.
My dspam configuration is as follows:
./configure --prefix=/usr/local/dspam/ --with-storage-driver=mysql_drv \
--enable-debug --with-mysql-includes=/usr/local/include/mysql/ \
--with-mysql-libraries=/usr/local/lib/mysql/ --enable-virtual-users \
--enable-preferences-extension --enable-neural-networking
dspam is actually working; however the single spam alias feature is not.
The readme says to configure something like:
|/usr/local/bin/dspam --user root --class=spam --source=error
it says:
"The 'root' user represents any existing user on the system. It is
necessary to supply a username on the commandline or DSPAM will bail on an
error, however the user will be changed internally once the signature is
read."
However I've found this doesn't work as advertised; I still have to pass
the correct --user parameter.
My global spam alias runs as user "alias" (a qmail system) and as such,
dspam gets run as "alias" (which is on the list of trusted users) and I
get the following error:
1025: [07/20/2005 13:41:42] Signature retrieval for
'1,42de98d72747865519259' failed
1025: [07/20/2005 13:41:42] Unable to find a valid signature. Aborting.
1025: [07/20/2005 13:41:42] process_message returned error -5. dropping
message.
This happens whenever the user I specified with "--user" is different from
the user who received the email; if, say, the email belongs to john, the
only way to get dspam to process this correctly is to say "--user john" on
the command line.
if I give each user a user-spam configuration (with a .qmail-file), so
that dspam gets invoked as that particular user, everything works fine.
However this defeats the announced purpose of the single spam alias.
can someone suggest a solution to this problem? is the MySQLUIDInSignature
feature not working? I see the correct user id as part of the signature
however dspam doesn't seem to be "switching" to that user for the
remainder of the process and so when it tries to match the signature to
the working user.
thanks in advance!
- Roadmaster