Howto Qmail with spamassassin

By Sylvestre Ledru June 2003
Version francaise
Return to the linux page

(02/04/2002), Bug fix :
I just add a little bug fix for some OS which remove the +x on qmail-queue (the qmail-scanner is not concerned)
(01/11/2003), Qmail-scanner :
I had a new way of calling spamassassin client using qmail-scanner.
(23/07/2003), Preferences :
Matthew Francis sent me a quite good howto explaining how to get user preferences for spamassassin. It is available here.
(08/06/2003), Localisation :
If you want to change the language of the spam report (ie why the email has been tagged as a spam), just change the locales to your language (dpkg-reconfigure locales under debian) and install gettext (apt-get install gettext) and you will have the appropriate version (french for example)...
(11/03/2005), Update :
After almost two years without updates, my other howto about qmail is much more complet and uptodate, I clean this one :
- first method deprecated
- new version of spamassassin 3.0.X
- use of netqmail instead of qmail
- new version of qmail-scanner with the q-s-st patch (activation of Spamassassin just for a domain)

If you like this howto and you want to thank me for my work : here is my wishlist on Amazon - France or my Amazon US wishlist :)
If you are a corporation and you make some business thanks to my howto, we'll love to have a present from you (or just tell me who is using my howto).
Thank to Scott Kinkade for his cash donation. I really do appreciate.

If you want more informations about the intallation of qmail, I wrote a long howto about.
I wrote this howto because there is a lack of documentation about qmail with spamassassin.

This howto has been designed for qmail with vpopmail but it should work without a lot of modifications with something else than vpopmail.

Spamassassin is a very powerfull program which checks if the receveid email is a spam or not. The analys is based on a list of mark. If the sum of all the mark exceed a specified amount (for example 5), the email will be tagged (****SPAM**** in the topic).
With this, it is very easy to create a rule which will move all emails into a specific directory (i.e. trash:)

If you want to link Qmail with spamassassin, it is quite easy.
First, install spamassassin and install razor and pyzor if you want to use it.

Under debian :

apt-get install spamassassin You should use the "debian unstable or testing" version of spamassassin which, most of the time, will find more spam.



Under other system (Redhat, Suse, Solaris ...) : The latest version of spamassassin today is the version 3.0.2. The installation is almost the same, only a few directives changed.

wget http://useast.spamassassin.org/released/Mail-SpamAssassin-2.55.tar.gz
tar -zxvf Mail-SpamAssassin-2.55.tar.gz
cd Mail-SpamAssassin-2.55
perl Makefile.PL
make
make install
cp spamd/debian-rc-script.sh /etc/init.d/spamassassin You can replace debian by redhat, solaris, netbsd, suse ...
chmod +x /etc/init.d/spamassassin



Then, edit /etc/spamassassin/local.cf
Version 2.5X :

required_hits 6.0
rewrite_subject 1
report_header 1
use_terse_report 1
defang_mime 1
dns_available yes
dcc_add_header 1
use_pyzor 1 (Only if you have installed pyzor)
use_razor2 (Only if you have installed razor2)
use_dcc 1

Version 3 :

#Number of points to tag the spam required_hits 5.0 # Add the result in the header always_add_headers 1 # change the subject rewrite_subject 1 report_safe 1 use_terse_report 1 # dns checks (warning : increase the process length) dns_available yes dcc_add_header 0 # Don't skip the relay black list skip_rbl_checks 0 use_dcc 1 dcc_timeout 10 # Remote verification use_pyzor 1 pyzor_timeout 10 pyzor_add_header 1 # Never from the previous results auto_learn 1 # use the bayes filter use_bayes 1 # Where spamassassin must store these informations : bayes_path /var/qmail/spamassassin/ # Where he stores the auto white list results : auto_whitelist_path /var/qmail/spamassassin/auto_whitelist

If you want to have detailled information about spamassassin processing, add the line in the local.cf file : timelog_path /var/log/spamassassin, run the daemon with the -D option (so, specify it in the /etc/default/spamassassin file under debian), create the directory with appropriate rights (should be vpopmail). In the directory, you will have for each email a file which sum up the spamassassin process (it is a debug option !).

I use these rules. Feel free to change ! Documentation about this is available here : perldoc Mail::SpamAssassin::Conf

In /etc/default/spamassassin (if this file does not exist, create it)
Change ENABLED to 1, then add these options : - "-m 10 -v --auto-whitelist" for the version 2.5X.
- "-v -m 10 -u vpopmail --nouser-config" for the version 3
With that stuff, you can launch spamd which is bascilly a spamassassin deamon (provide great performances).
-m 10 => 10 childs
-v => vpopmail config
--auto-whitelist => Use auto whitelist (friend list)
Instead of spamassassin, you have to use spamc in order to test email.
There are some options "-c -u vpopmail" which enabled the creation of preferences for a domain or a user but it does not work very well for me.
/etc/init.d/spamassassin start


Next, the modification of qmail in order to check emails.
Basically, there are two kind of configuration for qmail :
- the fastest/easiest way is to change the qmail-queue in order to "introduce" the spamasssin check.Deprecated
- the cleanest way is to use qmail-scanner.

Changing the qmail-queue program

cp /var/qmail/bin/qmail-queue /var/qmail/bin/qmail-queue.orig
chown qmailq:qmail qmail-queue
chown qmailq:qmail qmail-queue.orig
chmod u+s qmail-queue.orig
chmod o+r,+x qmail-queue.orig qmail-queue Not fundamental but sometime it is necessary (depends the system)

mkdir /home/vpopmail/.spamassassin
cd /home/vpopmail
chmod 777 /home/vpopmail/.spamassassin

chown -R qmailq:qmail .spamassassin
chmod u=rwx,g=rx,o= /home/vpopmail/.spamassassin

Now, delete the content of the executable which manage the queue.

echo -n > /var/qmail/bin/qmail-queue

Then, edit the qmail-queue file and add this inside :

#!/bin/sh
/usr/bin/spamc | /var/qmail/bin/qmail-queue.orig

I agree that it is a quick/dirty method. It causes some issues with the injection of a bounce in the queue. (qmail-queue is not planned to work this way).

With qmail-scanner - Visit http://sylvestre.ledru.info/howto/howto_qmail_vpopmail.php for more informations

First, you have to patch qmail with the qmailqueue-patch or install netqmail which has already this plugin.
Qmail with the patch :

wget http://qmail.agarik.com/qmail-1.03.tar.gz
tar -zxvf qmail-1.03.tar.gz
cd qmail-1.03
wget http://qmail.mirrored.ca/moni.csi.hu/pub/glibc-2.3.1/qmail-1.03.errno.patch
wget http://sylvestre.ledru.info/howto/qmail/qmailqueue-patch
patch -p1 < qmail-1.03.errno.patch
patch -p1 < qmailqueue-patch

With netqmail :

wget http://qmail.agarik.com/netqmail-1.05.tar.gz
tar -zxvf netqmail-1.05.tar.gz
cd netqmail-1.05/
./collate.sh
cd netqmail-1.05

Add the QMAILQUEUE parameter to the /etc/tcp.smtp file :

127.0.0.1:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"
198.168.1.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"
:allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"

Rehash tcpserver :

/usr/local/bin/tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp
chmod 644 /etc/tcp.smtp.cdb

And then, install qmail-scanner with qmail-scanner-st
. qmail-scanner-st is a patched version a qmail-scanner which enabled great features like auto delete/reject/quarantine spam over a specified score but also to select which scanners will be used for a domain and even for a user, then, it is possible to configure the spamassassin / antivirus just for one domain/user.

wget http://unc.dl.sourceforge.net/sourceforge/qmail-scanner/qmail-scanner-1.25.tgz wget http://xoomer.virgilio.it/j.toribio/qmail-scanner/download/q-s-1.25st-20050207.patch.gz
gunzip q-s-1.25st-20050207.patch.gz
tar -zxvf qmail-scanner-1.25.tgz
cd qmail-scanner-1.25/
patch -p1 < ../q-s-1.25st-20050207.patch
groupadd qscand
useradd -c "Qmail-Scanner Account" -g qscand -s /bin/false qscand
./configure --qs-user qscand --qs-group qscand --spooldir /var/spool/qmailscan --qmaildir /var/qmail --bindir /var/qmail/bin --qmail-queue-binary /var/qmail/bin/qmail-queue --admin-fromname "Mail admin" --admin postmaster --domain vladimir.avence.info --notify sender,admin,recips --local-domains `cat /var/qmail/control/rcpthosts | tr "\n" " "` --silent-viruses auto --unzip 1 --add-dscr-hdrs 1 --archive 0 --redundant yes --log-crypto 0 --scanners "fast_spamassassin" --scanners-per-domain yes --sa-subject "*****SPAM*****" --sa-delete 5 --install 1

After the installation, if you want to change your preferences, you have to edit the /var/qmail/bin/qmail-scanner-queue.pl file. In this file, you can also add option for the spamassassin client.
If you want to enable/disable some scanners, edit the /var/spool/qmailscan/scanners_per_domain.txt
To rehash the scanner per domain file : /var/qmail/bin/qmail-scanner-queue.pl -p
To rehash the quarantine attachement file : /var/qmail/bin/qmail-scanner-queue.pl -g

trunks.ecranbleu.org:sa,ps,clamdscan_scanner

# sa = spamassassin
# ps = perl scanner



This should be enough to use SpamAssassin on the whole system.
I have to try to find how it can be linked with vpopmail in order to create preference for a specific domain or a specific user. (if someone knows : sylvestre@ecranbleu.org)

Problems :
- link with vpopmail
This howto is inspired and corrected from :
http://www.euronet.nl/users/erhnam/linux/qmail/qmail.htm.

Author : kevin binsfield (kbinsfie_at_rocketmail.com) poste le 04/12/2003 14:40
Comment :
Under install qmail-scanner-

./configure for english directions says to configure langauge in French. Since you have in red test to change domain name, add to change language preference.

Reply to this comment

Author : Sean Treadway (seant.at.oncotype.dk) poste le 12/12/2003 11:04
Comment :
The way we setup spamassassin to be active for a single vpopmail domain is to add spamc to the pipeline in the .qmail-default file located in the vpopmail domain directory.

| /usr/local/bin/spamc -t 45 | /usr/local/vpopmail/bin/vdelivermail '' bounce-no-mailbox

This will check spam for all incoming mails without modification of the base qmail system. We trust all outgoing mails so we don't need to check them when they are queued.
Reply to this comment

Author : vb () poste le 25/12/2003 09:14
Comment :
If you use the qmail-queue substitution method, don't forget to restart qmail after substituting qmail-queue.
Reply to this comment

Author : () poste le 08/01/2004 19:20
Comment :
anyone know how to filter out flagged spam with maildrop using this example for all domains in the vpopmail domains dir?
Reply to this comment

Author : arthur () poste le 23/01/2004 08:22
Comment :
If you're using RedHat, instead of modifying /etc/default/spamassassin create /etc/sysconfig/spamassassin and put int something like:
SPAMDOPTIONS="-d -m10 -v -a"

-d is to enable daemon mode (like ENABLE=1 in the /etc/default/spamassassin)
Reply to this comment

Author : arthur () poste le 23/01/2004 08:41
Comment :
also, be sure to put the site config file in /etc/mail/spamassassin/local.cf instead of /etc/spamassassin/local.cf
Reply to this comment

Author : Marek Panek (spam_at_maras.bz) poste le 31/01/2004 14:09
Comment :
Great tutorial.
Reply to this comment

Author : Corey (lewt_at_warcry.com) poste le 20/02/2004 00:24
Comment :
I'm getting

warning: trouble injecting bounce message, will try later

Can someone help me on fixing this issue..
Reply to this comment
Author : Bruno (info_at_codefabrik.ch) poste le 08/12/2004 16:04
Comment :
That's when you have installed spamassassin the cheap way with inserting the spamc in a qmail-queue script replacement calling the original qmail-queue after checking the mail for spam.

I had the same problem - the bounces aren't going out with this implementation. The only - imho - solution is to setup qmail-filter.

BUT: There's another problem, because qmail-filter needs a ./configure-parameter describing all your local domains. That's not really useful when using vpopmail on the mailserver...

I didn't find any solution on this. Please post if you know more - thanks.
Reply to this comment

Author : Jackie (exter_c_at_hotmail.com) poste le 17/12/2004 14:37
Comment :
This is how I resolved this


http://forum.lucidnow.com/viewtopic.php?t=3

Reply to this comment
Author : Kalan (no_at_thanks.com) poste le 25/06/2005 00:57
Comment :
Worked wonders for me as well thanks a ton!
Reply to this comment



Author : Asif (iqbala_at_qwestip.net) poste le 01/03/2004 03:49
Comment :
I like the shell version of spamc pipe it to qmail-queue.orig. I wonder if there is a solution of using qmail-spamc that comes with the Mail::SpamAssassin/qmail folder ?
Reply to this comment

Author : John (chee_ls at yahoo dot com) poste le 02/03/2004 07:05
Comment :
I'm currently using qmail for 3 accounts. Would like to install qmail-scanner and ScanAV. So I skipped all above and start from "With qmail-scanner".

I think I successfully patched qmailqueue-patch as I can see 2 files
Makefile
qmail.c

then continue, when I reach ./configure... to install qmail-scanner, I receive error:
cannot find evidence of QMAILQUEUE in...

what should I do? should I start over again from "With qmail-scanner"?
Reply to this comment

Author : manik (manikkalal03_at_rediffmail.com) poste le 16/03/2004 12:56
Comment :
I installed qmail+spamassassin with this document.But the error is,mails are not coming into queue, so is not received by the end-user.Thanks for any help
Reply to this comment
Author : doug (douglas_at_rvhnet.com) poste le 13/08/2005 06:32
Comment :
I have the same problem now, it won't deliver to the end user. it accepts the mail etc. but doesn't deliver.
Reply to this comment
Author : doug (douglas_at_rvhnet.com) poste le 13/08/2005 08:47
Comment :
ok heres the deal, this is how I fix that problem and I think it pertains to upgrading.

First remove the domain from locals, all that should be there is the FQDN, such as box1.blah.com and not blah.com itself.

restart and try that.
if still not working try

svc -t /service/qmail-send

What I believe is happening is that qmail-send see's that its local domain and trys to delivery to the users on the box itself and not in vpopmail.

Btw this is a awesome HOWTO. If I wasn't broke so bad I would donate some money.

-doug
Reply to this comment



Author : Søren Pedersen (-) poste le 17/03/2004 00:20
Comment :
I had a problem that the /usr/bin/spamc | just returned empty mails .. turned out I had two versions installed and when I replaced spamc with "spamassassin" it worked like a charm.. Not sure if anyone can use this to anything interesting anyways ;)
Reply to this comment

Author : Legi0n () poste le 25/03/2004 13:44
Comment :
Spamc works with the spamd daemon. This is much faster than piping mail to spamassassin. make sure spamd is running if you are going to send mail to spamc.
There are rc scripts for spamd in the directory you un-tar'd Mail-SpamAssassin-2.xx.tar.gz look in "spamd" directory
Reply to this comment

Author : Craig Bruenderman (craig_at_bruenderman.org) poste le 27/03/2004 21:18
Comment :
With Netqmail 1.05, is the QMAILQUEUE patch already applied?
Reply to this comment
Author : sopi20 (webmaster_at_gma.sk) poste le 04/05/2004 16:22
Comment :
i am interested too... I know there's noe patch to qmail-queue aplied, but weather it is the right one.... i dont know...
Reply to this comment

Author : Stephan Seitz (sseitz_at_necron-x.net) poste le 08/06/2004 10:46
Comment :
netqmail 1.05 has the QMAILQUEUE patch already applied.
Refer to netqmail-1.05/netqmail-1.05.patch
Reply to this comment


Author : Delphius (lars dot fredrik ^at^ proletaria.net) poste le 28/03/2004 13:00
Comment :
genious!
Reply to this comment

Author : ggoud (goudmaekg_at_yahoo.fr) poste le 02/04/2004 14:34
Comment :
Sorry for this temporarely mail address.

I installed spamassassin with your excellent howto, but I ve some problem when I want to send mail. I've got error 451 qq, and the smptd log say the file /var/spool/qmailscan/tmp already exists.

I don't understant what it will, the folder is own by qscand:qscand.

I use Redhat 7.1, with qmail 1.03,vpopmail and qmail-scanner1.20 (I've a lot of error when tried to use 1.21)

Thanks in advance

Gilles
Reply to this comment
Author : nberry (nberry_at_internet49.com) poste le 30/04/2004 06:59
Comment :
did you increase your softlimit for qmail-smtpd?
Reply to this comment
Author : waraxtle (ingax198002121_at_virgilio.it) poste le 03/02/2006 19:39
Comment :
do you see the permission or own for qmail-queue file in /var/qmail/bin. the first group of permission are rwxs.
Reply to this comment



Author : ggoud (goudmaekg_at_yahoo.fr) poste le 06/04/2004 12:54
Comment :
Hello,

I finally find what happened.

I've Rav install on this computer too and there was a conflict between us. They write 2 times the same mail in the temporarly file.

Reply to this comment

Author : Nisha (nishathomson) poste le 08/04/2004 21:55
Comment :
manik,

I cam across the same problem. Increase the softlimit in qmail-smptd/run file..If that doesn't work too, it might be the problem with locale settings.
In qmail-smptd/run , add LANG= export LANG .

-Nisha
Reply to this comment

Author : Dario (dario.bestetti_at_opservices.com.br) poste le 17/04/2004 18:25
Comment :
I've installed spamassassin and qmail-scanner and they are both working. Problem is that it's not stopping email spams. Looking into the log (qmail-queue.log) it says that it tagged the messages as spam but delivers it without any modification to my email. I'm using also vpopmail. Any hints ?
Reply to this comment
Author : nberry (nberry_at_internet49.com) poste le 30/04/2004 06:57
Comment :
look at your email's headers.. spamassassin should be adding details about its scans there.
Reply to this comment
Author : VolVE (volve_at_volved_dot_com) poste le 22/06/2004 12:41
Comment :
This tutorial somehow causes SA to function differently during testing as versus being invokved from qmail-scanner. I have run multiple tests and am unable to make SA obey the /etc/spamassassin/local.cf directives when invokved from qmail-scanner. Simple directives of 'rewrite_subject 1' do not work from qmail-scanner, however X-Spam-Level headers ARE added to all e-mails. To have the subject line changed, one must configure qmail-scanner with '--scanners "fast_spamassassin=[SUBJECT PREFIX TEXT]"' which certainly seems like a kludge at best.

If anyone can figure out why qmail-scanner is not allowing SA to see /etc/spamassassin/local.cf, I'd be enternally grateful. (This also defeats the point of having Razor2 or Pyzor installed, because as detailed above, they won't ever be invoked.)

Thanks all, excellent tutorials otherwise! :)

-VolVE
Reply to this comment
Author : Taliesin (Taliesin_at_heavenly-existance.net) poste le 26/08/2004 10:38
Comment :
onfigure qmail-scanner with '--scanners "verbose_spamassassin"'

By doing hte above, it has a more verbose output, and reads from the config file for me, try that and see how you go!
Reply to this comment



Author : Arnoud (post24_at_yahoo.com) poste le 05/05/2004 17:32
Comment :
Please don't forget the comments on the SA website:
" Once identified, the mail can then be optionally tagged as spam for later filtering using the user's own mail user-agent application."

This means the SPAM will still be delivered, just marked as SPAM (look at the messages source) create a server or client filter rule to dump the SPAM mail in another folder like Trash or Spam
Reply to this comment
Author : steve (z34steve.at.yahoo.com) poste le 19/05/2004 17:34
Comment :
Hi,

What is the best way to make qmail discard messages that have been tagged as spam by SA, without passing them on to the recipient?

Thank you!!!
Reply to this comment
Author : () poste le 07/10/2004 23:49
Comment :
Reply to this comment




Author : Vagner Marques (vagner_at_easywork.com.br) poste le 06/05/2004 04:33
Comment :
Hi,

Do you have any ideia of correct path, permissions and options to use the ~/.spamassassin/user_pref with vpopmail??
I have all work fine, but my personal preference dosn´t work :o(
Reply to this comment

Author : Gono (david_stiller_at_blackbit.de) poste le 17/05/2004 09:11
Comment :
On PLESK-Systems use yum from atomicrocketturtle.com. It's a very comfortable and reliable installation routine. It also includes ClamAV and qmail-scanner, if you wish to.
Reply to this comment

Author : santiago (w_wilfredo_at_yahoo.com) poste le 19/08/2004 18:53
Comment :
I need to uninstall spamassin without cause problem to qmail, because I haver serius problem with qmailscanner, it doestn permit me to send attachment. so how can I do to resolv this
Reply to this comment

Author : codefabrik (info_at_codefabrik.ch) poste le 20/09/2004 16:46
Comment :
I installed the Spamassassin/QMail with this manual yesterday and it works perfectly.
Reply to this comment

Author : hemberge (hemberge_at_embl.de) poste le 22/09/2004 20:10
Comment :
qmail-scanner 1.23 does not work properly with vpopmail, because it creates the scanned mail as root and does not change the ownership properly to qscand. Any idea?
Reply to this comment
Author : Bill (w0ls0n_at_yahoo.com) poste le 08/10/2004 02:09
Comment :
I am runnign qmail-scanner 1.23 and spamassassin: 2.64 without a problem. I am running the http://www.qmailrocks.org setup but this one is quite similar.
Reply to this comment
Author : phentermine (phentermine_at_fgngfdn.com) poste le 24/05/2006 10:58
Comment :
Hi! Good site! I like it! Thank you!
Reply to this comment



Author : ilker ARABACI (ilker_at_nxservers.com) poste le 19/10/2004 17:10
Comment :
is there anyone know a tool, webmail addon or a qmailadmin patch for .spamassassin folder configuration under vpopmail user mailboxes..?
Reply to this comment

Author : cam () poste le 06/12/2004 08:09
Comment :
I tried this tutorial but it only messed up my queue structure and I had to rebuild qmail to fix the problem. It was giving messages like
"warning: trouble injecting bounce message, will try later"

also, you seem to have conflicting instructions. under "changing the qmail-queue program", you have these instructions:

chmod 777 /home/vpopmail/.spamassassin
chown -R qmailq:qmail .spamassassin
chmod u=rwx,g=rx,o= /home/vpopmail/.spamassassin

so is it chmod 777 or 750?

Reply to this comment

Author : orrin (orrinenn_at_yahoo.com) poste le 24/12/2004 02:09
Comment :
I've tried this how-to but it killed my qmail. Qmail is no longer sorting my mail. I am getting the same problem manik is recieving
Reply to this comment

Author : rio (riotelsa_at_yahoo.com) poste le 09/01/2005 13:30
Comment :
Why qmail with spamassassin always create new directories under "/" folder like

no such user user@domain.com
no such user user@domain2.com etc. ?

im using linux redhat 9.


Reply to this comment

Author : anonymous (anonymous_at_cows.com) poste le 25/01/2005 06:55
Comment :
I'm using NetBSD 2.0-RELEASE. I installed spamassassin from pkgsrc. Running spamc manually runs okay. Running it via the modified qmail-queue program does not work. The error I get is:

"451 qq trouble creating files in queue (#4.3.0)"

What am I doing wrong?
Reply to this comment
Author : anonymous (anonymous_at_cows.com) poste le 25/01/2005 19:03
Comment :
I got that error resolved (qmail-queue had the wrong permissions).

Now I'm getting this error:

"451 qq temporary problem (#4.3.0)"
Reply to this comment
Author : dillan (jdillan_at_feebee.com) poste le 23/03/2005 09:39
Comment :
Make sure the permissions are right on the queue. Also make sure that any pipes are working in the right direction.
Reply to this comment
Author : Steve W. (stevew_at_anon.non) poste le 12/05/2005 18:00
Comment :
"Make sure the permissions are right on the queue."

Which are the right permissions? I'm getting the "451 qq trouble creating files in queue (#4.3.0)" error too.
Reply to this comment
Author : derdemo (derdemo_at_demoxx.de) poste le 20/05/2005 05:35
Comment :
hello,
i´ve the same problem and i can´t find a solution to fix the problem. the chmod of files are ok !

my os is suse 9.0 /qmail/

thanx demo
Reply to this comment
Author : aoualim (aoualim_at_atlas-blue.com) poste le 11/12/2005 01:41
Comment :
Make sur perms & owner info for qmail-queue are :
-rws--x--x qmailq qmail qmail-queue
Reply to this comment






Author : DNS exploit vulnerability (DNS exploit vulnerability) poste le 06/06/2005 00:19
Comment :
Reply to this comment

Author : rico (rzemachado_at_yahoo.co.uk) poste le 16/06/2005 10:50
Comment :
I get this problem 451 temporary problem (#4.3.0) when i tried to send mail out.

I am using qmail, vpopmail, clamav, spamasssassin and qmailscanner.

any ideas?
Reply to this comment
Author : imane (elghouatimane_at_yahoo.fr) poste le 02/08/2005 13:18
Comment :
you must to be sure that the permission of qmail-queue is u+s and chmod qmailq:qmail
Reply to this comment

Author : Xawiers () poste le 09/11/2005 09:35
Comment :
inclrease softlimit to 10000000 in smtpd service
(run file of daemontools qmail-smtpd service)
Reply to this comment


Author : Rob(NY) (rob_at_jung.ws) poste le 14/12/2005 21:57
Comment :
How do i install SpamAssassin 3.1, i currectly have 2.6 can i install directly over 2.6? I'm running SuSE 9.2

Thanks,
Rob
Reply to this comment

Author : Brian (bgshea_at_gmail.com) poste le 22/01/2006 22:47
Comment :
A helpfull script to run the configure script, also so if I ever have to
rebuild my system from scratch, i have a record of how my packages were
built, please feel free to use/modify this.

***** PLEASE NOTE THAT I'VE ENCLOSED THE LOCAL DOMAIN IN DOUBLE QUOTES ***
This was required because I have more than 1 domain listed in my rcpthosts.
This my be because i didnt follow this howto to the 't' but nontheless
it functions the same.

Also seems that --scanners-per-domain does not exist (newer release change, dont
know this is my first time though this)

Instead of --scanners-per-domain I used --setting-per-domain which seems to be the
intended configure option (someone please correct me if I'm wrong).

-- START OF SCRIPT ---

#!/bin/bash

qs_user="qscand"
qs_group="qscand"
local_domains=`cat /var/qmail/control/rcpthosts | tr "\n" " "`

# This makes up the user@domain as described by ./configure --help
email_user="postmaster"
domain="nan-example.com"

echo "Craeting Group and User accounts, these might fail if they alread exist!"

groupadd $qs_group
useradd -c "Qmail-Scanner Account" -g $qs_group -s /bin/false $qs_user

./configure --qs-user $qs_user \
--qs-group $qs_group \
--spooldir /var/spool/qmailscan \
--qmaildir /var/qmail \
--bindir /var/qmail/bin \
--qmail-queue-binary /var/qmail/bin/qmail-queue \
--admin-fromname "Mail admin" \
--admin $email_user \
--domain $domain \
--notify admin,recips \
--local-domains "\"$local_domains\"" \
--silent-viruses auto \
--unzip no \
--block-password-protected yes \
--add-dscr-hdrs all \
--archive no \
--redundant yes \
--log-crypto no \
--install \
--sa-sql yes \
--scanners "fast_spamassassin" \
--settings-per-domain yes \
--sa-subject "*****SPAM*****" \
--lang en_GB

-- END OF SCRIPT --

Make sure you get the last newline after --lang en_GB
Reply to this comment

Author : Stevie (stevie_at_mindstep.de) poste le 16/03/2006 14:03
Comment :
Does anyone know howto tell qmail/spamassassin/vpopmail to bounce (550) an identified spam message back to the sender? I think it would be best done at the smtp-level while communicating with the sender mail server?
Reply to this comment

Author : Sharad S. (ssharad_at_dns7.biz) poste le 07/07/2006 04:15
Comment :
Great Site ! Thanks lot for documentation. Sharad S.
Reply to this comment

Author : Tulor Kleone (kleone_at_aol.com) poste le 05/09/2006 15:17
Comment :
Congratulations on a great web site. I am a new computer user and finding you was like coming home. Continued success.
Reply to this comment

Author : gp6dquvh (yzisekyo_at_znbyl.com) poste le 20/04/2007 11:50
Comment :
http://malek.9999mb.com/1.htm http://malek.9999mb.com/2.htm http://malek.9999mb.com/3.htm http://malek.9999mb.com/4.htm http://malek.9999mb.com/5.htm http://4my8.blogspot.com/ http://malek.9999mb.com/6.htm http://malek.9999mb.com/7.htm http://malek.9999mb.com/8.htm http://malek.9999mb.com/9.htm http://malek.9999mb.com/10.htm http://malek.9999mb.com/11.htm http://malek.9999mb.com/12.htm http://malek.9999mb.com/13.htm http://malek.9999mb.com/14.htm http://malek.9999mb.com/15.htm http://malek.9999mb.com/16.htm http://malek.9999mb.com/17.htm http://malek.9999mb.com/18.htm http://malek.9999mb.com/19.htm http://malek.9999mb.com/20.htm http://malek.9999mb.com/21.htm http://malek.9999mb.com/22.htm http://malek.9999mb.com/23.htm http://malek.9999mb.com/24.htm http://malek.9999mb.com/25.htm http://malek.9999mb.com/26.htm http://malek.9999mb.com/27.htm http://malek.9999mb.com/28.htm http://malek.9999mb.com/29.htm http://malek.9999mb.com/30.htm http://malek.9999mb.com/31.htm http://malek.9999mb.com/32.htm http://malek.9999mb.com/33.htm http://malek.9999mb.com/34.htm http://malek.9999mb.com/35.htm http://malek.9999mb.com/36.htm http://malek.9999mb.com/37.htm http://malek.9999mb.com/38.htm http://malek.9999mb.com/39.htm http://malek.9999mb.com/40.htm http://malek.9999mb.com/41.htm http://malek.9999mb.com/42.htm http://malek.9999mb.com/43.htm http://malek.9999mb.com/44.htm http://malek.9999mb.com/45.htm http://malek.9999mb.com/46.htm http://malek.9999mb.com/47.htm http://malek.9999mb.com/48.htm http://malek.9999mb.com/49.htm http://malek.9999mb.com/50.htm http://malek.9999mb.com/51.htm http://malek.9999mb.com/52.htm http://malek.9999mb.com/53.htm http://malek.9999mb.com/54.htm http://malek.9999mb.com/55.htm http://malek.9999mb.com/56.htm http://malek.9999mb.com/57.htm http://malek.9999mb.com/58.htm http://malek.9999mb.com/59.htm http://malek.9999mb.com/60.htm http://malek.9999mb.com/61.htm http://081h.blogspot.com/ http://malek.9999mb.com/62.htm http://malek.9999mb.com/63.htm http://malek.9999mb.com/64.htm http://malek.9999mb.com/65.htm http://malek.9999mb.com/66.htm http://malek.9999mb.com/67.htm http://malek.9999mb.com/68.htm http://malek.9999mb.com/69.htm http://malek.9999mb.com/70.htm http://malek.9999mb.com/71.htm http://malek.9999mb.com/72.htm http://malek.9999mb.com/73.htm http://malek.9999mb.com/74.htm http://malek.9999mb.com/75.htm http://malek.9999mb.com/76.htm http://malek.9999mb.com/77.htm http://malek.9999mb.com/78.htm http://malek.9999mb.com/79.htm http://malek.9999mb.com/80.htm http://malek.9999mb.com/81.htm http://malek.9999mb.com/82.htm http://malek.9999mb.com/83.htm http://malek.9999mb.com/84.htm http://malek.9999mb.com/85.htm http://malek.9999mb.com/86.htm http://malek.9999mb.com/87.htm http://malek.9999mb.com/88.htm http://malek.9999mb.com/89.htm http://malek.9999mb.com/90.htm http://malek.9999mb.com/91.htm http://malek.9999mb.com/92.htm http://malek.9999mb.com/93.htm http://malek.9999mb.com/94.htm http://malek.9999mb.com/95.htm
Reply to this comment

Author : gp6dquvf (dmpfheba_at_purft.com) poste le 20/04/2007 11:50
Comment :
http://malek.9999mb.com/1.htm http://malek.9999mb.com/2.htm http://malek.9999mb.com/3.htm http://malek.9999mb.com/4.htm http://malek.9999mb.com/5.htm http://4my8.blogspot.com/ http://malek.9999mb.com/6.htm http://malek.9999mb.com/7.htm http://malek.9999mb.com/8.htm http://malek.9999mb.com/9.htm http://malek.9999mb.com/10.htm http://malek.9999mb.com/11.htm http://malek.9999mb.com/12.htm http://malek.9999mb.com/13.htm http://malek.9999mb.com/14.htm http://malek.9999mb.com/15.htm http://malek.9999mb.com/16.htm http://malek.9999mb.com/17.htm http://malek.9999mb.com/18.htm http://malek.9999mb.com/19.htm http://malek.9999mb.com/20.htm http://malek.9999mb.com/21.htm http://malek.9999mb.com/22.htm http://malek.9999mb.com/23.htm http://malek.9999mb.com/24.htm http://malek.9999mb.com/25.htm http://malek.9999mb.com/26.htm http://malek.9999mb.com/27.htm http://malek.9999mb.com/28.htm http://malek.9999mb.com/29.htm http://malek.9999mb.com/30.htm http://malek.9999mb.com/31.htm http://malek.9999mb.com/32.htm http://malek.9999mb.com/33.htm http://malek.9999mb.com/34.htm http://malek.9999mb.com/35.htm http://malek.9999mb.com/36.htm http://malek.9999mb.com/37.htm http://malek.9999mb.com/38.htm http://malek.9999mb.com/39.htm http://malek.9999mb.com/40.htm http://malek.9999mb.com/41.htm http://malek.9999mb.com/42.htm http://malek.9999mb.com/43.htm http://malek.9999mb.com/44.htm http://malek.9999mb.com/45.htm http://malek.9999mb.com/46.htm http://malek.9999mb.com/47.htm http://malek.9999mb.com/48.htm http://malek.9999mb.com/49.htm http://malek.9999mb.com/50.htm http://malek.9999mb.com/51.htm http://malek.9999mb.com/52.htm http://malek.9999mb.com/53.htm http://malek.9999mb.com/54.htm http://malek.9999mb.com/55.htm http://malek.9999mb.com/56.htm http://malek.9999mb.com/57.htm http://malek.9999mb.com/58.htm http://malek.9999mb.com/59.htm http://malek.9999mb.com/60.htm http://malek.9999mb.com/61.htm http://081h.blogspot.com/ http://malek.9999mb.com/62.htm http://malek.9999mb.com/63.htm http://malek.9999mb.com/64.htm http://malek.9999mb.com/65.htm http://malek.9999mb.com/66.htm http://malek.9999mb.com/67.htm http://malek.9999mb.com/68.htm http://malek.9999mb.com/69.htm http://malek.9999mb.com/70.htm http://malek.9999mb.com/71.htm http://malek.9999mb.com/72.htm http://malek.9999mb.com/73.htm http://malek.9999mb.com/74.htm http://malek.9999mb.com/75.htm http://malek.9999mb.com/76.htm http://malek.9999mb.com/77.htm http://malek.9999mb.com/78.htm http://malek.9999mb.com/79.htm http://malek.9999mb.com/80.htm http://malek.9999mb.com/81.htm http://malek.9999mb.com/82.htm http://malek.9999mb.com/83.htm http://malek.9999mb.com/84.htm http://malek.9999mb.com/85.htm http://malek.9999mb.com/86.htm http://malek.9999mb.com/87.htm http://malek.9999mb.com/88.htm http://malek.9999mb.com/89.htm http://malek.9999mb.com/90.htm http://malek.9999mb.com/91.htm http://malek.9999mb.com/92.htm http://malek.9999mb.com/93.htm http://malek.9999mb.com/94.htm http://malek.9999mb.com/95.htm
Reply to this comment


Comment closed because of the spam