
Hallo, nach langer Arbeit habe ich es geschaft AMAVISD-NEW und SuSE 9.0 zu installieren. Leider kann ich keine Mails nach aussen schicken in den logs steht bounce (loop to myself). Programme: postfix-2.0.14-54 cyrus-imapd-2.1.15-43 amavisd-new-20030616-p9 Konfigurationen: postfix main.cf # postconf -n alias_maps = hash:/etc/aliases broken_sasl_auth_clients = yes canonical_maps = hash:/etc/postfix/canonical command_directory = /usr/sbin config_directory = /etc/postfix content_filter = smtp-amavis:[127.0.0.1]:10024 daemon_directory = /usr/lib/postfix debug_peer_level = 2 default_destination_concurrency_limit = 20 default_privs = nobody defer_transports = smtp disable_dns_lookups = no inet_interfaces = all local_destination_concurrency_limit = 2 luser_relay = $root@h4452.serverkompetenz.net mail_owner = postfix mail_spool_directory = /var/mail mailbox_command =Newbie: AMAVISD-NEW und SuSE 9.0 mailbox_size_limit = 0 mailbox_transport = cyrus mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man masquerade_classes = envelope_sender, header_sender, header_recipient masquerade_domains = masquerade_exceptions = root message_size_limit = 10240000 mydestination = $myhostname, localhost.$mydomain myhostname = h4452.serverkompetenz.net mynetworks = 81.169.172.163, 127.0.0.0/8 newaliases_path = /usr/bin/newaliases program_directory = /usr/lib/postfix queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/packages/postfix/README_FILES relayhost = 81.169.172.163 relocated_maps = hash:/etc/postfix/relocated sample_directory = /usr/share/doc/packages/postfix/samples sender_canonical_maps = hash:/etc/postfix/confixx_virtualUsers sendmail_path = /usr/sbin/sendmail setgid_group = maildrop smtp_sasl_auth_enable = no smtp_use_tls = no smtpd_banner = $myhostname ESMTP smtpd_client_restrictions = smtpd_helo_required = no smtpd_helo_restrictions = smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous smtpd_sender_restrictions = hash:/etc/postfix/access smtpd_use_tls = no strict_rfc821_envelopes = no transport_maps = hash:/etc/postfix/transport unknown_local_recipient_reject_code = 450 postfix master.cf ========================================================================= # service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (100) # ========================================================================== smtp inet n - n - - smtpd #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= smtp-amavis unix - - n - 2 smtp -o smtp_data_done_timeout=1200 -o disable_dns_lookups=yes 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} ${u ser} 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} Nur verlässt mich mein englisch bei der Konfiguration von amavisd-new. Im Mail-Header steht "X-Virus-Scanned: by amavisd-new at steartch-server.de", also kann ich davon ausgehen, dass amavisd-new korrekt arbeitet. Ich möchte aber das im Header auch der X-Spam-Level steht damit ich es dann per Sieve in den entsprechenden user.SPAM Ordner einliefern kann. Aber derzeit werden diese Mails garnicht erst zugestellt. Wo kann mann dies einstellen? MfG, Kai _________________________________________________________________ Die ultimative Fan-Seite für den MSN Messenger http://www.ilovemessenger.de Emoticons und Hintergründe kostenlos downloaden!

Am Montag, 31. Mai 2004 23:55 schrieb Kai Heimbold:
nach langer Arbeit habe ich es geschaft AMAVISD-NEW und SuSE 9.0 zu installieren.
Leider kann ich keine Mails nach aussen schicken in den logs steht bounce (loop to myself).
mailbox_command =Newbie: AMAVISD-NEW und SuSE 9.0
Was ist das denn ?
localhost:10025 inet n - n - - smtpd -o content _filter=
Wie sehen denn diese Zeilen genau aus? Sind das wirklich drei Zeilen? Zeig mal Logs von solch einer Mail. -- Andreas

Hallo, ich stelle die Frage nocheinmal neu. Ich habe es gestern sooft probiert ne EMail zu schicken, das dann lauter Blötsinn raus kam. Folgendes Zenario habe ich jetzt. 1. Mails werden empfangen, aber im Header der empfangenen EMails steht jetzt nichts mehr von amavisd-new von meinem Server. .. User-Agent: KMail/1.5.4 References: <BAY9-F23nTZyHg0Q5B700002206@hotmail.com> In-Reply-To: <BAY9-F23nTZyHg0Q5B700002206@hotmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200406010623.58571.ml@awinkelmann.de> X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:565c9082bc5d4aa8ef36e89317bacfca X-Virus-Scanned: by amavisd-new at scanhost.suse.de X-Spam-Status: No, hits=-4.7 tagged_above=-20.0 required=5.0 tests=BAYES_00, RCVD_IN_NJABL, RCVD_IN_SORBS X-Spam-Level: X-Evolution-Source: imap://web3p2@mail.steartch.net/ .. 2. Beim versenden landen die Mails im Queue.. .. Jun 1 19:40:04 h4452 postfix/smtpd[23253]: connect from pD9E99AC4.dip.t-dialin.net[217.233.154.196] Jun 1 19:40:04 h4452 postfix/smtpd[23253]: E17DD2BC06A: client=pD9E99AC4.dip.t-dialin.net[217.233.154.196], sasl_method=PLAIN, sasl_username=web3p2 Jun 1 19:40:05 h4452 postfix/cleanup[23255]: E17DD2BC06A: message-id=<1086111794.9186.4.camel@server.steartch.net> Jun 1 19:40:05 h4452 postfix/qmgr[6480]: E17DD2BC06A: from=<suse@steartch.net>, size=1029, nrcpt=1 (queue active) Jun 1 19:40:05 h4452 postfix/qmgr[6480]: E17DD2BC06A: to=<kaikurzer@hotmail.com>, relay=none, delay=1, status=deferred (deferred transport) Jun 1 19:40:05 h4452 postfix/smtpd[23253]: disconnect from pD9E99AC4.dip.t-dialin.net[217.233.154.196] .. ..und verbleiben da bis ich mailq -q aufrufe. .. Jun 1 19:57:00 h4452 postfix/qmgr[6480]: E17DD2BC06A: from=<suse@steartch.net>, size=1029, nrcpt=1 (queue active) Jun 1 19:57:06 h4452 postfix/smtp[23393]: E17DD2BC06A: to=<kaikurzer@hotmail.com>, relay=mx3.hotmail.com[65.54.167.5], delay=1022, status=sent (250 <1086111794.9186.4.camel@server.steartch.net> Queued mail for delivery) .. 3. Hier noch einmal die configs, da ich einiges ausprobiert habe. Postfix main.cf alias_maps = hash:/etc/aliases broken_sasl_auth_clients = yes canonical_maps = hash:/etc/postfix/canonical command_directory = /usr/sbin config_directory = /etc/postfix content_filter = smtp-amavis:[127.0.0.1]:10024 daemon_directory = /usr/lib/postfix debug_peer_level = 2 default_destination_concurrency_limit = 20 default_privs = nobody defer_transports = smtp disable_dns_lookups = no inet_interfaces = all local_destination_concurrency_limit = 2 luser_relay = $root@h4452.serverkompetenz.net mail_owner = postfix mail_spool_directory = /var/mail mailbox_command = mailbox_size_limit = 0 mailbox_transport = cyrus mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man masquerade_classes = envelope_sender, header_sender, header_recipient masquerade_domains = masquerade_exceptions = root message_size_limit = 10240000 mydestination = $myhostname, localhost.$mydomain myhostname = h4452.serverkompetenz.net mynetworks = 81.169.172.163, 127.0.0.0/8 newaliases_path = /usr/bin/newaliases program_directory = /usr/lib/postfix queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/packages/postfix/README_FILES relayhost = relocated_maps = hash:/etc/postfix/relocated sample_directory = /usr/share/doc/packages/postfix/samples sendmail_path = /usr/sbin/sendmail setgid_group = maildrop smtp_sasl_auth_enable = no smtp_use_tls = no smtpd_banner = $myhostname ESMTP smtpd_client_restrictions = smtpd_helo_required = no smtpd_helo_restrictions = smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous smtpd_sender_restrictions = hash:/etc/postfix/access smtpd_use_tls = no strict_rfc821_envelopes = no transport_maps = hash:/etc/postfix/transport unknown_local_recipient_reject_code = 450 Postfix master.cf .. ========================================================================== # service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (100) # ========================================================================== smtp inet n - n - - smtpd -o content_filte r= #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= smtp-amavis unix - - n - 2 smtp -o smtp_data_done_timeout=1200 -o disable_dns_lookups=yes 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} .. imap.conf configdirectory: /var/lib/imap partition-default: /var/spool/imap sievedir: /var/lib/sieve admins: cyrus root allowanonymouslogin: no autocreatequota: 20480 reject8bit: no quotawarn: 90 timeout: 480 poptimeout: 10 dracinterval: 0 drachost: localhost sasl_pwcheck_method: saslauthd lmtp_overquota_perm_failure: no lmtpsocket: /var/lib/imap/socket/lmtp cyrus.conf # standard standalone server implementation START { # do not delete this entry! recover cmd="ctl_cyrusdb -r" # this is only necessary if using idled for IMAP IDLE # idled cmd="idled" } # UNIX sockets start with a slash and are put into /var/lib/imap/socket SERVICES { # add or remove based on preferences imap cmd="imapd" listen="imap" prefork=0 imaps cmd="imapd -s" listen="imaps" prefork=0 pop3 cmd="pop3d" listen="pop3" prefork=0 pop3s cmd="pop3d -s" listen="pop3s" prefork=0 sieve cmd="timsieved" listen="sieve" prefork=0 # at least one LMTP is required for delivery # lmtp cmd="lmtpd" listen="lmtp" prefork=0 lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=0 # this is only necessary if using notifications # notify cmd="notifyd" listen="/var/lib/imap/socket/notify" proto="udp" prefork=1 } EVENTS { # this is required checkpoint cmd="ctl_cyrusdb -c" period=30 # this is only necessary if using duplicate delivery suppression delprune cmd="ctl_deliver -E 3" period=1440 # this is only necessary if caching TLS sessions tlsprune cmd="tls_prune" period=1440 # Uncomment the next entry, if you want to automatically remove # old messages of EVERY user. # This example calls ipurge every 60 minutes and ipurge will delete # ALL messages older then 30 days. # enter 'man 8 ipurge' for more details # cleanup cmd="ipurge -d 30 -f" period=60 } Was ich möchte ist, dass versendete und empfange Mails auf Viren und Spam geprüft werden. Bei empfangenen Emails sollen die als Viren und Spam erkannte Mails per Sieve in die entsprechenden Ordner der Mailbox user.Viren und user.SPAM einsortiert werden. Bei versendeten Mails soll dann eine Nachricht an den Absender gehen, dass die Mail auf Grund von Viren oder SPAM nicht zu gestellt wurde. Ich habe ettliche How-To-Do's und Bücher (Das Postfix-Buch 2.Auflage und Mailmanagement mit IMAP) gelesen, aber ich finde hierfür einfach nicht die richtigen Beispiele. MfG, Kai
participants (3)
-
Andreas Winkelmann
-
Kai Heimbold
-
Kai Heimbold