Hi all, i hope that anyone can help me setting up sendmail + amavis + spamassasin the problem is this if start amavisd-new and after sendmail and i issue a mail -v mik (user on localhost running all) the connection with the localhost hangs and waits the setup is the following Suse 9.0 with sendmail-8.12.10-7 amavisd-new-20030616p5-23 spamassassin-2.55-75 perl-spamassassin-2.55-75 nai antivirus the /var/log/mail Feb 2 13:22:59 charlize amavis[3650]: Found primary av scanner NAI McAfee AntiVirus (uvscan) at /usr/local/bin/uvscan Feb 2 13:22:59 charlize amavis[3650]: SpamControl: initializing Mail::SpamAssassin Feb 2 13:23:00 charlize amavis[3650]: SpamControl: done Feb 2 13:23:04 charlize sendmail[3663]: starting daemon (8.12.10): SMTP+queueing@00:30:00 Feb 2 13:23:04 charlize sendmail-client[3667]: starting daemon (8.12.10): persistent-queueing@00:30:00 Feb 2 13:23:04 charlize sendmail[3669]: i12CN4VN003669: from=<root@charlize.home.mydom.it>, size=480, class=0, nrcpts=1, msgid=<401E40A6.mail2RO11JAAV@c harlize.home.mydom.it>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1] Feb 2 13:23:04 charlize amavis[3652]: (XXWSECeq) AM.CL /var/spool/amavis/amavis-milter-XXWSECeq: <root@charlize.home.mydom.it> -> <mik@charlize.home.mydom.it> Feb 2 13:23:04 charlize amavis[3652]: (XXWSECeq) Checking: <root@charlize.home.mydom.it> -> <mik@charlize.home.mydom.it> Feb 2 13:23:04 charlize amavis[3652]: (XXWSECeq) spam_scan: hits=0 tests=USER_AGENT Feb 2 13:23:04 charlize amavis[3652]: (XXWSECeq) FWD via SMTP: [127.0.0.1:10025] <root@charlize.home.mydom.it> -> <mik@charlize.home.mydom.it> Feb 2 13:23:04 charlize amavis[3651]: (03651-01) ESMTP::10025 /var/spool/amavis/amavis-20040202T132304-03651: <root@charlize.home.mydom.it> -> <mik@charlize.home.mydom.it> Received: from localhost ([127.0.0.1]) by localhost (charlize [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 03651-01 for < mik@charlize.home.mydom.it>; Mon, 2 Feb 2004 13:23:04 +0100 (CET) Feb 2 13:23:04 charlize amavis[3651]: (03651-01) Checking: <root@charlize.home.mydom.it> -> <mik@charlize.home.mydom.it> Feb 2 13:23:05 charlize amavis[3651]: (03651-01) spam_scan: hits=0 tests=USER_AGENT Feb 2 13:23:05 charlize amavis[3651]: (03651-01) FWD via SMTP: [127.0.0.1:10025] <root@charlize.home.mydom.it> -> <mik@charlize.home.mydom.it> Feb 2 13:23:15 charlize sendmail[3676]: i12CNF33003676: from=root, size=257, class=0, nrcpts=1, msgid=<401E4133.mail2U311LBQR@charlize.home.mydom.it>, r elay=root@localhost Feb 2 13:23:15 charlize sendmail[3677]: i12CNFVN003677: from=<root@charlize.home.mydom.it>, size=480, class=0, nrcpts=1, msgid=<401E4133.mail2U311LBQR@charlize.home.mydom.it>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1] i've some doubt about di mc file that is divert(-1) # # Copyright (c) 1999,2000 SuSE GmbH Nuernberg, Germany. # Author: Werner Fink <werner@suse.de> # include(`/usr/share/sendmail/m4/cf.m4') divert(0) VERSIONID(`@(#) suse-linux.m4 8.12.3-0.6 (SuSE Linux) 2003/04/15 mik1') define(`confCF_VERSION', `SuSE Linux 0.7 mik1')dnl #mik OSTYPE(`suse-linux')dnl dnl dnl Flags dnl define(`confDEF_USER_ID', `daemon:daemon')dnl define(`confCOPY_ERRORS_TO', `Postmaster')dnl define(`confPRIVACY_FLAGS', `authwarnings,needmailhelo,novrfy,noexpn,noverb')dnl define(`confTRUSTED_USERS', `mdom vscan wwwrun root uucp daemon mail')dnl define(`confNO_RCPT_ACTION', `add-to-undisclosed')dnl dnl dnl Mailer dnl define(`PROCMAIL_MAILER_PATH', `/usr/bin/procmail')dnl define(`PROCMAIL_MAILER_ARGS', `procmail -m $h $f $u')dnl FEATURE(`local_procmail')dnl define(`LOCAL_SHELL_FLAGS', `eu09')dnl define(`LOCAL_MAILER_ARGS', `procmail -a $h -d $u')dnl define(`LOCAL_MAILER_FLAGS', `SPfhn09')dnl define(`MILTER')dnl divert(-1) INPUT_MAIL_FILTER(`milter-amavis', `S=local:/var/run/amavis/amavis-milter.sock, T=S:10m;R:10m;E:10m') divert(0)dnl dnl dnl The default data base type is hash dnl define(`DATABASE_MAP_TYPE', `hash')dnl dnl dnl Main paths dnl define(`SMLIBDIR', `/usr/lib/sendmail.d')dnl define(`MAIL_SETTINGS_DIR', `/etc/mail/')dnl define(`confDEAD_LETTER_DROP', `/var/log/dead.letter')dnl define(`STATUS_FILE', `/var/run/sendmail/statistics')dnl define(`QUEUE_DIR', `/var/spool/mqueue')dnl define(`confHOST_STATUS_DIRECTORY', `.hoststat')dnl define(`HELP_FILE', SMLIBDIR`/helpfile')dnl define(`ALIAS_FILE', `/etc/aliases')dnl define(`confHOSTS_FILE', `/etc/hosts')dnl FEATURE(`use_ct_file')dnl define(`confCW_FILE', `-o /etc/mail/local-host-names %[^\#]')dnl define(`confCR_FILE', `-o /etc/mail/relay-domains %[^\#]')dnl define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl define(`confSERVICE_SWITCH_FILE', `/etc/mail/service.switch')dnl define(`confEBINDIR', SMLIBDIR`/bin')dnl define(`confDONT_BLAME_SENDMAIL', `AssumeSafeChown,TrustStickyBit,GroupReadableSASLDBFile')dnl define(`confCONTROL_SOCKET_NAME', `/var/run/sendmail/control')dnl define(`CERT_DIR', MAIL_SETTINGS_DIR`certs')dnl define(`confCACERT_PATH', CERT_DIR)dnl define(`AUTH_DIR', MAIL_SETTINGS_DIR`auth')dnl dnl dnl Daemon (disable new Message Submission Agent) dnl FEATURE(`no_default_msa')dnl dnl dnl Common features dnl FEATURE(`mailertable', `hash -o /etc/mail/mailertable.db')dnl FEATURE(`genericstable', `hash -o /etc/mail/genericstable.db')dnl FEATURE(`virtusertable', `hash -o /etc/mail/virtusertable.db')dnl FEATURE(`access_db', `hash -T<TMPF> -o /etc/mail/access.db')dnl dnl LOCAL_CONFIG #mik MAILER(procmail) MAILER(smtp) in the sendmail.cf there's # Input mail filters O InputMailFilters=milter-amavis # Milter options #O Milter.LogLevel O Milter.macros.connect=j, _, {daemon_name}, {if_name}, {if_addr} O Milter.macros.helo={tls_version}, {cipher}, {cipher_bits}, {cert_subject}, {cert_issuer} O Milter.macros.envfrom=i, {auth_type}, {auth_authen}, {auth_ssf}, {auth_author}, {mail_mailer}, {mail_host}, {mail_addr} O Milter.macros.envrcpt={rcpt_mailer}, {rcpt_host}, {rcpt_addr} and Xmilter-amavis, S=local:/var/run/amavis/amavis-milter.sock, T=S:10m;R:10m;E:10m thank you very much Mik __________________________________________________________________ Tiscali ADSL SENZA CANONE: Attivazione GRATIS, contributo adesione GRATIS, modem GRATIS, 50 ore di navigazione GRATIS. ABBONARTI TI COSTA SOLO UN CLICK! http://point.tiscali.it/adsl/index.shtml
participants (1)
-
mag1994@tiscali.it