Good morning gents (and maybe ladies),

Prelimitary note: ;-)
I hear'd a lot of dspam and how great it's filtering spam so I want to give it a try on my dedicated server.

First of all, as you can read above, I'm new to dspam. So if I ask some stupid questions, please apologize and point me to an proper link/howto/readme/man/whatever. I've read a lot of howto's, doc's and googled around, but I think I have a problem to understand them well.

My setup is an up-to-date Debian GNU/Linux 4.0 with postfix and mysql, where the servers FQDN is mail.domainA.de.
I followed the howto's on
http://www.howtoforge.com/virtual_users_and_domains_with_postfix_debian_etch
steps 1 to 8 and
http://www.howtoforge.com/etch_postfix_dspam_clamav
so I have virtual domains/users stored in a mysql database.

What is working ?
Well, postfix at all, deliver mail tagged or quarantine it.

I have running 2 domains on this server, as mentioned above running virtual domains/users, where domainA is part of the FQDN and listed in the DB, as well as domainB which is only listed in the DB as virtual domain.

Because of using both domains myself, all I want is to have a common [EMAIL PROTECTED] and no(t)[EMAIL PROTECTED] for domainA (and domainB), or even only one for both, if it is possible. All users should learn into a common "training file" so I setup a group "dspam" as mentioned in the 2nd howto.

As per dpsam's README it says I only need ONE spam/no(t)spam alias for a whole domain, if I use the "The Simple Way" and all I have to do is: "uncomment the appropriate UIDInSignature option in dspam.conf:" what I did and "Now all you'll need is a single system-wide alias" e.g. " spam:"|/usr/local/bin/dspam --user root --class=spam --source=error " what is in my case /usr/bin/dspam.

I assume, that it is meant to put it in /etc/aliases or even /etc/postfix/aliases and postmap it, what I did, or aliasing via database.

So, setup is working when I forward mail to [EMAIL PROTECTED] but only if I insert an source [EMAIL PROTECTED] mapped to [EMAIL PROTECTED] in the forward-table of the configuration. Otherwise it gives me an error saying user not found in virtual alias map.

Ok, that's it for learning spam and it's working... it seems, but what'*s about no(t)spam ?
If I follow what is mentioned above, either in /etc/aliases
and/or in the DB it gave me several errors.

When using the /etc/aliases method I get a "died with status 1" err or message and I asked google for that. Setup to trust nobody and make the config's readable to everybody worked as long as it has to write some data in the appropriate directorys and allowing "world" to read/write but... it can't be the way it's meant to be. Even if I follow the other howtos and hints found in google, sending mail to no(t)[EMAIL PROTECTED] doesn't work.

You can state me as "confused" about this issue.

This post is maybe to long to attach further config's so I ask only for "shed some light on me". Target is to have a domain wide spam@ and nospam@ alias with a "virtual" setup and get it working as assumed.

In case Norman Maurer is still active on this list...
mysql> GRANT USAGE ON hoefing.fridge TO 'norman.maurer'@'hoefings_castle';

I know... that's not much information about the setup, but maybe it helps to spread people with nearly same setup from them without to get "in touch" with me.

Thanks a lot

Christian Hoefing

Reply via email to