Also dies ist jetzt exemplarisch für einen User "sartre" unter der Domain "deinedomain.de". Also hier bitte eure Daten eintragen. /home/vpopmail/domains ist nicht bei allen der Pfad. Bei einigen von euch ist der /var/vpopmail/domains
Also einfach auf eure Bedürfnisse anpassen.
Wie ihr seht, habe ich einiges von scythe42 übernommen, de, ich an dieser Stelle nochmal für das schöne Tut danke
mkdir spam
cd spam
*** Installation von Procmail ***
Code: Select all
wget http://www.procmail.org/procmail-3.22.tar.gz
tar -zxf procmail-3.22.tar.gz
cd procmail-3.22
make
make installcd ..
***** Installation HTML-Parser *****
Code: Select all
wget http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-3.26.tar.gz
tar -zxf HTML-Parser-3.26.tar.gz
cd HTML-Parser-3.26
perl Makefile.PL
make
make install cd ..
***** Installation Time-HiRes *****
Code: Select all
wget http://search.cpan.org/CPAN/authors/id/J/JH/JHI/Time-HiRes-1.38.tar.gz
tar -zxf Time-HiRes-1.38.tar.gz
cd Time-HiRes-1.38
perl Makefile.PL
make
make install cd ..
*** Installation von SpamAssassin ***
Code: Select all
wget http://spamassassin.taint.org/devel/Mail-SpamAssassin-2.50.tar.gz
tar -zxf Mail-SpamAssassin-2.50.tar.gz
cd Mail-SpamAssassin-2.50
perl Makefile.PL
./configure --prefix=/usr --sysconfdir=/etc
make
make install Code: Select all
cat > /etc/mail/spamassassin/local.cf << "EOF"
# Siehe 'perldoc Mail::SpamAssassin::Conf' für Details
#
require_hits 5
rewrite_subject 0
fold_headers 0
spam_level_stars 0
report_header 1
use_terse_report 1
defang_mimo 0
skip_rbl_checks 1
check_mx_attempts 1
check_mx_delay 0
EOFsu vpopmail
maildirmake -f shit /home/vpopmail/domains/deinedomain.de/sartre/Maildir/
exit
cd /home/vpopmail/domains/deinedomain.de/
Code: Select all
vi .qmail-default
| preline procmail -p -m ./sartre/procmailrcCode: Select all
vi procmailrc
### Spam Assassin
:0fw
| /usr/bin/spamc
:0e
{
EXITCODE=$?
}
### Toss Spam into a Folder
:0:
* ^X-Spam-Status: Yes
./sartre/Maildir/.shit/
:0w
|/home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
### Deliver the rest into Maildir normally
:0
*
./sartre/Maildir/chown vpopmail.vchkpw procmailrc
chmod 700 procmailrc
Ihr solltest sicher sein, das SpamAssassin auch läuft. Wenn es dies nicht tut, dann startet es mit
/usr/local/bin/spamd -d -v -u vpopmail
So und zum Schluss senden wir uns selbst mal eine Testmail, die wenn alles richtig funzzt im Ordner .shit liegen müsste :)
Testmail ***
Betreff: Get the right home loan NOW, while rates are low!
This offer is being sent to you as a member of Spin For Millions. If you feel you are receiving this message in error or do not wish to receive future messages, please see the unsubscribe instructions at the bottom of this email.
HYPERLINK "http://tfs1.hsm-mailerdirect.com/images ... _email.gif"
HYPERLINK "http://www.spinformillions.com/rdr/r.as ... =17&u=1550"
HYPERLINK "http://tfs1.hsm-mailerdirect.com/images/p/dot.gif"
HYPERLINK "http://tfs1.hsm-mailerdirect.com/images/p/dot.gif"
HYPERLINK "http://tfs1.hsm-mailerdirect.com/images/p/dot.gif"
HYPERLINK "http://hsm-mailerdirect.com/images/p/roof.gif"
Today's low rates may soon be gone!
Get the right home loan NOW!
HYPERLINK "http://tfs1.hsm-mailerdirect.com/images ... y.jpg"This is your chance to receive the cash you need at the low rates you want! Click here!
GetSmart can help find the perfect mortgage for you. Just click on the option below that best meets your needs:
HYPERLINK "http://click.sfm.email-publisher.com/ma ... "Refinance
your existing mortgage
lower your payments
HYPERLINK "http://click.sfm.email-publisher.com/ma ... onsolidate
your debt
simplify your life
HYPERLINK "http://click.sfm.email-publisher.com/ma ... YbJe/"Home Equity financing
get extra cash
HYPERLINK "http://click.sfm.email-publisher.com/ma ... /"Purchase a home
there's never been a better time
Here's how it worksâ?¦ After completing a short form, we will automatically sort through our database of over 100 lenders to find the ones most qualified to meet your needs. Up to three lenders will then contact you and compete for your business. The search is free and there's no obligation to continue. It's that easy, so HYPERLINK "http://click.sfm.email-publisher.com/ma ... bJe/"click here to get started now!
If you previously asked to be excluded from GetSmart or Providian product offerings and solicitations, they apologize for this e-mail. Every effort was made to ensure that you were excluded from this e-mail. However, if GetSmart does not have your current e-mail address in their database, they are unable to prevent this e-mail from reaching you. If you do not wish to receive promotional e-mail from GetSmart, HYPERLINK "http://www.getsmart.com/rdremoveme?cnum ... 1002"click here and let us know.
Please note: Services currently offered through the GetSmart Mortgage Search are limited to U.S. residents with properties located in the U.S. (excluding Arizona, as well as Puerto Rico, the U.S. Virgin Islands, Guam, and other U.S. Territories).
HYPERLINK "http://click.sfm.email-publisher.com/na ... YEaaiYbJe/"
HYPERLINK "http://sfm.tfmb.net/?aaabxV.aaiYbJ.aaaB ... er@baba.de
"Click here to unsubscribe from these mailings.