Page 1 of 1
Fehler in der mail.err
Posted: 2004-11-04 21:57
by cyberdoro
hi
habe bei mir in der mail.err diese fehler....
Code: Select all
Nov 4 21:17:37 p1513xxxx spamc[25578]: invalid usage
Nov 4 21:20:13 p1513xxxx spamc[25723]: invalid usage
Nov 4 21:34:48 p1513xxxx spamc[25878]: invalid usage
Nov 4 21:34:57 p1513xxxx spamc[25885]: invalid usage
Nov 4 21:36:42 p1513xxxx spamc[25910]: invalid usage
Nov 4 21:45:51 p1513xxxx spamc[26135]: invalid usage
kann mir einer eventuel sagen woher das kommen kann.
mfg
Re: Fehler in der mail.err
Posted: 2004-11-04 22:51
by squize
Du hast Spamassassin laufen, welches aber falsch konfiguriert zu sein scheint. Mehr kann man mit der Info nichts sagen. Also mal schauen, wie du Spamassassin eingebunden hast und dann schauen, wo die Fehlkonfiguration liegen.
Gruss
Marc
Re: Fehler in der mail.err
Posted: 2004-11-04 23:31
by cyberdoro
welche file brauchst du, um was sehn zu können!!!
hab schon alles zweimal gelesen und geschaut, aber nichts....
Re: Fehler in der mail.err
Posted: 2004-11-04 23:54
by cyberdoro
hier meine main.cf
Code: Select all
# INSTALL-TIME CONFIGURATION INFORMATION
#
# The following parameters are used when installing a new Postfix version.
#
# sendmail_path: The full pathname of the Postfix sendmail command.
# This is the Sendmail-compatible mail posting interface.
#
sendmail_path = /usr/sbin/sendmail
# newaliases_path: The full pathname of the Postfix newaliases command.
# This is the Sendmail-compatible command to build alias databases.
#
newaliases_path = /usr/bin/newaliases
# mailq_path: The full pathname of the Postfix mailq command. This
# is the Sendmail-compatible mail queue listing command.
#
mailq_path = /usr/bin/mailq
# setgid_group: The group for mail submission and queue management
# commands. This must be a group name with a numerical group ID that
# is not shared with other accounts, not even with the Postfix account.
#
setgid_group = maildrop
# manpage_directory: The location of the Postfix on-line manual pages.
#
manpage_directory = /usr/share/man
# sample_directory: The location of the Postfix sample configuration files.
#
sample_directory = /usr/share/doc/packages/postfix/samples
# readme_directory: The location of the Postfix README files.
#
readme_directory = /usr/share/doc/packages/postfix/README_FILES
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual, hash:/etc/postfix/confixx_virtualUsers, hash:/etc/postfix/confixx_localDomains
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
myhostname = p1513xxxx.pureserver.info
program_directory = /usr/lib/postfix
masquerade_domains =
mydestination = $myhostname, localhost.$mydomain
defer_transports =
disable_dns_lookups = no
relayhost =
content_filter = smtp:127.0.0.1:10024
mailbox_command = /usr/bin/procmail
mailbox_transport =
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000
#SMTPD Auth
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
#TLS Support
smtpd_use_tls = yes
#smtpd_tls_auth_only = yes
smtpd_tls_key_file = /etc/postfix/certs/smtp_key.pem
smtpd_tls_cert_file = /etc/postfix/certs/smtp_cert.pem
smtpd_tls_CAfile = /etc/postfix/certs/smtp.crt
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
meine master.cf
Code: Select all
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n - n - - smtpd -o content_filter=postfixfilter
# For AntiVir maildaemon
localhost:smtp-backdoor inet n - n - - smtpd -o content_filter=
smtps inet n - n - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#submission inet n - n - - smtpd
# -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
#628 inet n - n - - qmqpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 nqmgr
#tlsmgr fifo - - n 300 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
#relay unix - - n - - smtp
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
#localhost:10025 inet n - n - - smtpd -o content_filter=
#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# maildrop. See the Postfix MAILDROP_README file for details.
#
#maildrop unix - n n - - pipe
# flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
cyrus unix - n n - - pipe
user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
vscan unix - n n - 10 pipe
user=vscan argv=/usr/sbin/amavis ${sender} ${recipient}
procmail unix - n n - - pipe
flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient}
#spamassassin unix - n n - - pipe user=spamd:spamd argv=/usr/bin/spamc -r -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
postfixfilter unix - n n - - pipe flags=Rq user=spamd:spamd argv=/usr/bin/spamc -f -e /usr/sbin/sendmail -i -f ${sender} -- ${recipient}
# Spam & Ham
sa-spam unix - n n - - pipe user=spamd:spamd argv=/usr/local/bin/sa-wrapper.pl spam ${sender}
sa-ham unix - n n - - pipe user=spamd:spamd argv=/usr/local/bin/sa-wrapper.pl ham ${sender}
meine local.cf
Code: Select all
# START CUSTOM INCLUSION (see /root/confixx/safe/spamassassin.inc)
# SpamAssassin config file for version 2.5x
# generated by http://www.yrex.com/spam/spamconfig.php (version 1.01)
# How many hits before a message is considered spam.
required_hits 5.0
# Whether to change the subject of suspected spam
rewrite_subject 1
# Text to prepend to subject if rewrite_subject is used
subject_tag *****SPAM*****
# Encapsulate spam in an attachment
report_safe 1
# Use terse version of the spam report
use_terse_report 0
# Enable the Bayes system
use_bayes 1
# Enable Bayes auto-learning
auto_learn 1
# Enable or disable network checks
skip_rbl_checks 0
use_razor2 1
use_dcc 1
use_pyzor 1
# Mail using languages used in these country codes will not be marked
# as being possibly spam in a foreign language.
ok_languages all
# Mail using locales used in these country codes will not be marked
# as being possibly spam in a foreign language.
ok_locales all
# razor_config /man/man5/razor-agent.conf.5
# END OF CUSTOM INCLUSION
# START CONFIXX GENERATED SECTION
###
user_scores_dsn DBI:mysql:confixx:localhost;mysql_socket=/var/lib/mysql/mysql.sock
user_scores_sql_username confixx
user_scores_sql_password xxxxxxxx
user_scores_sql_table spampref
# END OF CONFIXX GENERATED SECTION
und hier ein auszug meiner mail.info
Code: Select all
Nov 4 23:31:21 p1513xxxx postfix/smtpd[27371]: connect from smtp.lists.idnt.net[195.127.237.155]
Nov 4 23:31:21 p1513xxxx postfix/smtpd[27371]: 3218FC025D5: client=smtp.lists.idnt.net[195.127.237.155]
Nov 4 23:31:21 p1513xxxx postfix/cleanup[27373]: 3218FC025D5: message-id=<haburi_newsletter_de.6@anonymous>
Nov 4 23:31:21 p1513xxxx postfix/qmgr[26488]: 3218FC025D5: from=<haburi_newsletter_de-owner@lists.idnt.net>, size=22691, nrcpt=1 (queue active)
Nov 4 23:31:21 p1513xxxx postfix/smtpd[27371]: disconnect from smtp.lists.idnt.net[195.127.237.155]
Nov 4 23:31:21 p1513xxxx spamd[25204]: connection from localhost.localdomain [127.0.0.1] at port 51497
Nov 4 23:31:21 p1513xxxx spamd[27378]: processing message <haburi_newsletter_de.6@anonymous> for spamd:104.
Nov 4 23:31:28 p1513xxxx popper[27380]: Stats: web3p4 0 0 0 0 dsl-217-17-22-108.teliko.net 217.17.22.108 [pop_updt.c:296]
Nov 4 23:31:37 p1513xxxx spamd[27378]: clean message (1.4/5.0) for spamd:104 in 15.4 seconds, 22378 bytes.
Nov 4 23:31:37 p1513xxxx postfix/pickup[26487]: 47019C025E1: uid=104 from=<haburi_newsletter_de-owner@lists.idnt.net>
Nov 4 23:31:37 p1513xxxx postfix/cleanup[27373]: 47019C025E1: message-id=<haburi_newsletter_de.6@anonymous>
Nov 4 23:31:37 p1513xxxx postfix/qmgr[26488]: 47019C025E1: from=<haburi_newsletter_de-owner@lists.idnt.net>, size=22814, nrcpt=1 (queue active)
Nov 4 23:31:37 p1513xxxx postfix/pipe[27376]: 3218FC025D5: to=<web10p2@p1513xxxx.pureserver.info>, orig_to=<privat@xxx.de>, relay=postfixfilter, delay=16, status=sent (p1513xxxx.pureserver.info)
Nov 4 23:31:37 p1513xxxx avgated[27384]: connection from localhost.localdomain
Nov 4 23:31:37 p1513xxxx avgated[27384]: spooled to 27384-7733F08A
Nov 4 23:31:37 p1513xxxx avgatefwd[27385]: Message 'incoming/xf-27384-7733F08A' scheduled for scanning now.
Nov 4 23:31:37 p1513xxxx avgatefwd[27385]: Scanner will process message 'incoming/qf-27384-7733F08A'.
Nov 4 23:31:37 p1513xxxx postfix/smtp[27383]: 47019C025E1: to=<web10p2@p1513xxxx.pureserver.info>, relay=127.0.0.1[127.0.0.1], delay=0, status=sent (250 Mail accepted for delivery (queued as 27384-7733F08A).)
Nov 4 23:31:37 p1513xxxx avgated[27384]: connection to localhost.localdomain closed
Nov 4 23:31:37 p1513xxxx avgatefwd[27388]: Message 'outgoing/xf-27384-7733F08A' scheduled for delivery now.
Nov 4 23:31:37 p1513xxxx postfix/smtpd[27389]: connect from localhost.localdomain[127.0.0.1]
Nov 4 23:31:37 p1513xxxx postfix/smtpd[27389]: 87260C025D5: client=localhost.localdomain[127.0.0.1]
Nov 4 23:31:37 p1513xxxx postfix/cleanup[27373]: 87260C025D5: message-id=<haburi_newsletter_de.6@anonymous>
Nov 4 23:31:37 p1513xxxx postfix/qmgr[26488]: 87260C025D5: from=<haburi_newsletter_de-owner@lists.idnt.net>, size=23325, nrcpt=1 (queue active)
Nov 4 23:31:37 p1513xxxx avgatefwd[27388]: Message 'outgoing/df-27384-7733F08A' successfully forwarded (250 Ok: queued as 87260C025D5)
Nov 4 23:31:37 p1513xxxx postfix/smtpd[27389]: disconnect from localhost.localdomain[127.0.0.1]
Nov 4 23:31:37 p1513xxxx spamc[27393]: invalid usage
Nov 4 23:31:37 p1513xxxx postfix/local[27390]: 87260C025D5: to=<web10p2@p1513xxxx.pureserver.info>, relay=local, delay=0, status=sent ("|/usr/bin/procmail")
Re: Fehler in der mail.err
Posted: 2004-11-05 00:58
by cyberdoro
hmm ich glaube ich habe den fehler gefunden
habe mal in der procmailrc von
Code: Select all
DROPPRIVS=yes
#LOGFILE=/var/log/procmail
#VERBOSE=ON
SHELL=/bin/sh
:0fw
* < 256000
| /usr/bin/spamc -f
auf
Code: Select all
DROPPRIVS=yes
#LOGFILE=/var/log/procmail
#VERBOSE=ON
SHELL=/bin/sh
:0fw: spamassassin.lock
* < 256000
| spamassassin
geändert.
und jetzt kommt kein fehler mehr.
ist das so richtig, oder läuft dann was nicht richtig ?????