society
Registered User
Hallo Leute,
Mail an Root kommt nicht mehr an seit Spamassassin läuft....
Ich möchte aber die Meldungen von Cronjobs z.b. bekommen. sonst geht alles bis auf das, ich hoffe ihr könnt mir helfen. Was kann ich tun damit es wieder läuft? Cronjobs laufen entweder als Root oder andere User aber nicht als nobody
Maillog:
Procmail
Aja der MTA ist Postfix *G*
Mail an Root kommt nicht mehr an seit Spamassassin läuft....
Ich möchte aber die Meldungen von Cronjobs z.b. bekommen. sonst geht alles bis auf das, ich hoffe ihr könnt mir helfen. Was kann ich tun damit es wieder läuft? Cronjobs laufen entweder als Root oder andere User aber nicht als nobody

Maillog:
Code:
Oct 18 11:35:08 hxx spamd[6132]: connection from localhost [127.0.0.1] at port 38709
Oct 18 11:35:08 hxx spamd[2685]: info: setuid to nobody succeeded
Oct 18 11:35:08 hxx spamd[2685]: Creating default_prefs [/var/lib/nobody/.spamassassin/user_prefs]
Oct 18 11:35:08 hxx spamd[2685]: Cannot write to /var/lib/nobody/.spamassassin/user_prefs: No such file or directory
Oct 18 11:35:08 hxx spamd[2685]: Couldn't create readable default_prefs for [/var/lib/nobody/.spamassassin/user_prefs]
Oct 18 11:35:08 hxx spamd[2685]: processing message <41738E4C.mail22C11L8A7@hxx.serverkompetenz.net> for nobody:65534.
Oct 18 11:35:08 hxx spamd[2685]: clean message (0.0/5.0) for nobody:65534 in 0.1 seconds, 624 bytes.
Oct 18 11:35:08 hxx postfix/local[2681]: 5E5B53FC0A9: to=<root@hxx.serverkompetenz.net>, orig_to=<root>, relay=local, delay=0, status=sent ("|/usr/bin/procmail")
Procmail
Code:
# Pipe the mail through spamassassin (replace 'spamassassin' with 'spamc'
# if you use the spamc/spamd combination)
#
# The condition line ensures that only messages smaller than 250 kB
# (250 * 1024 = 256000 bytes) are processed by SpamAssassin. Most spam
# isn't bigger than a few k and working with big messages can bring
# SpamAssassin to its knees.
#
# The lock file ensures that only 1 spamassassin invocation happens
# at 1 time, to keep the load down.
#
:0fw: spamassassin.lock
* < 256000
| spamc
# Work around procmail bug: any output on stderr will cause the "F" in
"From"
# to be dropped. This will re-add it.
:0
* ^^rom[ ]
{
LOG="*** Dropped F off From_ header! Fixing up. "
:0 fhw
| sed -e '1s/^/F/'
}
Aja der MTA ist Postfix *G*
Last edited by a moderator: