LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-31-2004, 09:05 AM   #1
mikmok
LQ Newbie
 
Registered: Dec 2003
Posts: 28

Rep: Reputation: 15
Suse 9 + amavis + spamassasin Deferred: 451 4.7.1 Please try again later


Hi all,

the setup is the following
Suse 9.0 with
sendmail-8.12.10-7
amavisd-new-20030616p5-23
spamassassin-2.55-63
perl-spamassassin-2.55-63
from original rpms


thenk you very much

Jan 30 17:09:15 charlize sendmail[15058]: i0UG9FYN015058: from=root, size=257, class=0, nrcpts=1, msgid=<401A81AB.mailBM911XQA8@charlize.home.mydom.it>, relay=root@localhost
Jan 30 17:09:15 charlize sendmail[15059]: i0UG9Ft1015059: from=<root@charlize.home.mydom.it>, size=481, class=0, nrcpts=1, msgid=<401A81AB.mailBM911XQA8@charlize.home.mydom.it>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jan 30 17:09:15 charlize sendmail[15059]: i0UG9Ft1015059: Milter: data, reject=451 4.7.1 Please try again later
Jan 30 17:09:15 charlize sendmail[15059]: i0UG9Ft1015059: to=<mik@charlize.home.mydom.it>, delay=00:00:00, pri=30481, stat=Please try again later
Jan 30 17:09:15 charlize sendmail[15058]: i0UG9FYN015058: to=mik, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30257, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.7.1 Please try again later

when i start
rcspamd
rcamavisd
and i do on the localhost mail -v

<snip>

>>> MAIL From:<root@charlize.home.mydom.it> SIZE=257
250 2.1.0 <root@charlize.home.mydom.it>... Sender ok
>>> RCPT To:<mik@charlize.home.mydom.it>
>>> DATA
250 2.1.5 <mik@charlize.home.mydom.it>... Recipient ok
354 Enter mail, end with "." on a line by itself
and the it waits

in the same moment i can see in /var/log/mail
Jan 30 17:21:12 charlize amavis[15332]: Net::Server: Binding to UNIX socket file /var/spool/amavis/amavisd.sock using SOCK_STREAM
Jan 30 17:21:12 charlize amavis[15332]: Net::Server: Binding to TCP port 10024 on host 127.0.0.1
Jan 30 17:21:12 charlize amavis[15332]: Net::Server: Binding to TCP port 10025 on host 127.0.0.1
Jan 30 17:21:12 charlize amavis[15332]: Net::Server: Binding to TCP port 10026 on host 127.0.0.1
Jan 30 17:21:12 charlize amavis[15332]: Net::Server: Binding to TCP port 10028 on host 127.0.0.1
Jan 30 17:21:12 charlize amavis[15332]: Net::Server: Setting gid to "101 101"
Jan 30 17:21:12 charlize amavis[15332]: Net::Server: Setting uid to "65"
Jan 30 17:21:12 charlize amavis[15332]: Net::Server: Couldn't POSIX::setuid to "65" [Illegal seek]
Jan 30 17:21:12 charlize amavis[15332]: Found $file at /usr/bin/file
Jan 30 17:21:12 charlize amavis[15332]: Found $arc at /usr/bin/arc
Jan 30 17:21:12 charlize amavis[15332]: Found $gzip at /usr/bin/gzip
Jan 30 17:21:12 charlize amavis[15332]: Found $bzip2 at /usr/bin/bzip2
Jan 30 17:21:12 charlize amavis[15332]: No $lzop, not using it
Jan 30 17:21:12 charlize amavis[15332]: Found $lha at /usr/bin/lha
Jan 30 17:21:12 charlize amavis[15332]: Found $unarj at /usr/bin/unarj
Jan 30 17:21:12 charlize amavis[15332]: Found $uncompress at /usr/bin/uncompress
Jan 30 17:21:12 charlize amavis[15332]: No $unfreeze, not using it
Jan 30 17:21:12 charlize amavis[15332]: Found $unrar at /usr/bin/unrar
Jan 30 17:21:12 charlize amavis[15332]: Found $zoo at /usr/bin/zoo
Jan 30 17:21:12 charlize amavis[15332]: Found $cpio at /usr/bin/cpio
Jan 30 17:21:12 charlize amavis[15332]: Found primary av scanner NAI McAfee AntiVirus (uvscan) at /usr/local/bin/uvscan
Jan 30 17:21:12 charlize amavis[15332]: SpamControl: initializing Mail::SpamAssassin
Jan 30 17:21:13 charlize amavis[15332]: SpamControl: done
Jan 30 17:21:20 charlize sendmail[15336]: i0UGLKsU015336: from=root, size=257, class=0, nrcpts=1, msgid=<401A8480.mailBTZ1LJ26G@charlize.home.mydom.it>, relay=root@localhost
Jan 30 17:21:20 charlize sendmail[15337]: i0UGLKt1015337: from=<root@charlize.home.mydom.it>, size=481, class=0, nrcpts=1, msgid=<401A8480.mailBTZ1LJ26G@charlize.home.mydom.it>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jan 30 17:21:20 charlize amavis[15333]: (XXPXlEvw) AM.CL /var/spool/amavis/amavis-milter-XXPXlEvw: <root@charlize.home.mydom.it> -> <mik@charlize.home.mydom.it>
Jan 30 17:21:20 charlize amavis[15333]: (XXPXlEvw) Checking: <root@charlize.home.mydom.it> -> <mik@charlize.home.mydom.it>
Jan 30 17:21:21 charlize amavis[15333]: (XXPXlEvw) spam_scan: hits=0 tests=USER_AGENT
Jan 30 17:21:21 charlize amavis[15333]: (XXPXlEvw) FWD via SMTP: [127.0.0.1:10025] <root@charlize.home.mydom.it> -> <mik@charlize.home.mydom.it>
Jan 30 17:21:21 charlize amavis[15334]: (15334-01) ESMTP::10025 /var/spool/amavis/amavis-20040130T172121-15334: <root@charlize.home.mydom.it> -> <mik@charlize.home.mydom.it> Received: from localhost ([127.0.0.1]) by localhost (charlize.home.mydom.it [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 15334-01 for <mik@charlize.home.mydom.it>; Fri, 30 Jan 2004 17:21:21 +0100 (CET)
Jan 30 17:21:21 charlize amavis[15334]: (15334-01) Checking: <root@charlize.home.mydom.it> -> <mik@charlize.home.mydom.it>
Jan 30 17:21:21 charlize amavis[15334]: (15334-01) spam_scan: hits=0 tests=USER_AGENT
Jan 30 17:21:21 charlize amavis[15334]: (15334-01) FWD via SMTP: [127.0.0.1:10025] <root@charlize.home.mydom.it> -> <mik@charlize.home.mydom.it>

when i stop
rcspamd stop

Jan 30 17:22:12 charlize amavis[15334]: (15334-01) tempdir being removed: /var/spool/amavis/amavis-20040130T172121-15334
Jan 30 17:22:12 charlize amavis[15333]: (XXPXlEvw) Warning: sending SMTP QUIT command failed: 000
Jan 30 17:22:12 charlize amavis[15333]: (XXPXlEvw) mail_via_smtp: 421 4.6.0 Failed, id=XXPXlEvw, from MTA: 421 4.3.2 Service shutting down, closing channel
Jan 30 17:22:12 charlize amavis[15333]: (XXPXlEvw) Not-Delivered, <root@charlize.home.mydom.it> -> <mik@charlize.home.mydom.it>, Message-ID: <401A8480.mailBTZ1LJ26G@charlize.home.mydom.it>, Hits: 0
Jan 30 17:22:12 charlize sendmail[15337]: i0UGLKt1015337: Milter: data, reject=451 4.7.1 Please try again later
Jan 30 17:22:12 charlize sendmail[15337]: i0UGLKt1015337: to=<mik@charlize.home.mydom.it>, delay=00:00:52, pri=30481, stat=Please try again later
Jan 30 17:22:12 charlize amavis[15333]: (XXPXlEvw) TIMING [total 51843 ms] - got data: 6 (0%), body hash: 2 (0%), mkdir parts: 2 (0%), mime_decode: 24 (0%), get-file-type: 14 (0%), decompose_part: 2 (0%), parts: 0 (0%), AV-scan-1: 295 (1%), SA msg read: 3 (0%), SA parse: 2 (0%), SA check: 65 (0%), fwd-connect: 21 (0%), fwd-mail-from: 5 (0%), fwd-rcpt-to: 2 (0%), write-header: 9 (0%), fwd-data: 0 (0%), fwd-data-end: 51327 (99%), fwd-rundown: 47 (0%), unlink-1-files: 14 (0%), rmdir: 0 (0%), unlink-1-files: 0 (0%), rmdir: 0 (0%), rundown: 1 (0%)
Jan 30 17:22:12 charlize amavis[15333]: (XXPXlEvw) SMTP: NOTICE: client broke the connection without a QUIT
Jan 30 17:22:12 charlize sendmail[15336]: i0UGLKsU015336: to=mik, ctladdr=root (0/0), delay=00:00:52, xdelay=00:00:52, mailer=relay, pri=30257, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.7.1 Please try again later
Jan 30 17:22:12 charlize amavis[15332]: Net::Server: 2004/01/30-17:22:12 Server closing!
Jan 30 17:22:13 charlize spamd[15305]: server killed by SIGTERM, shutting down

and in the shell running the mail -v
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 charlize.home.mydom.it closing connection

in the cf file
<snip>
O InputMailFilters=milter-amavis
<snip>

<snip>
# 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}
<skip>
Xmilter-amavis, S=local:/var/run/amavis/amavis-milter.sock, T=S:10m;R:10m;E:10m
<snip>


the mc file
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)

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unreal tournament patch 451 zupermanz Linux - Games 1 02-13-2005 03:41 PM
cron mail deferred Red Squirrel Linux - Software 2 09-10-2004 06:47 PM
Deferred: 451 4.7.1 Please try again later justanothergeek Linux - General 0 08-26-2004 10:33 AM
SuSE 7.0 Deferred Directory (Email) thebrave65 Linux - Distributions 0 06-24-2004 03:26 PM
stat=deferred mrlucio79 Linux - Networking 0 03-09-2004 02:02 PM


All times are GMT -5. The time now is 08:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration