Hello,
Anybody know or can give me hints on how to fix this?
(I am a rank amateur newbie at this...)
I am attempting to get the AMAViS filter (amavisd-new,
exim4, Debian Linux) working. When I queue the
message, the "mainlog" has this message:
2004-07-29 07:57:39 1Bq9XX-0004Lv-Lo localhost
[127.0.0.1]: Connection refused
2004-07-29 07:57:39 1Bq9XX-0004Lv-Lo == bob@???
R=amavis T=amavis defer (111
): Connection refused
The setup is a host is supposed to run the virus
filter and forward to another host if it is
successful.
I think the router for AMAViS :
amavis:
driver = manualroute
condition = "${if eq {$interface_port}{10025}
{0}{1}}"
# if scanning incoming mails, uncomment the
following line and
# change local_domains accordingly
domains = +local_domains
transport = amavis
route_list = "* localhost byname"
self = send
is probably causing this?
The debug from the "exim -d -M" queueing method
generates:
Berkeley DB: Sleepycat Software: Berkeley DB 3.2.9:
(April 7, 2002)
Support for: iconv() IPv6 PAM Perl GnuTLS
Lookups: lsearch wildlsearch nwildlsearch cdb dbm
dbmnz dnsdb dsearch ldap ldapd
n ldapm mysql nis nis0 passwd pgsql
Authenticators: cram_md5 plaintext spa
Routers: accept dnslookup ipliteral iplookup
manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply
lmtp pipe smtp
Fixed never_users: 0
changed uid/gid: forcing real = effective
uid=0 gid=0 pid=16740
auxiliary group list: <none>
configuration file is
/var/lib/exim4/config.autogenerated
log selector = 103319d8
trusted user
admin user
skipping ACL configuration - not needed
set_process_info: 16740 delivering specified messages
set_process_info: 16740 delivering 1Bq9XX-0004Lv-Lo
reading spool file 1Bq9XX-0004Lv-Lo-H
user=root uid=0 gid=0 sender=root@???
sender_local=1 ident=root
Non-recipients:
Empty Tree
---- End of tree ----
recipients_count=1
body_linecount=5 message_linecount=8
Delivery address list:
bob@???
locking /var/spool/exim4/db/retry.lockfile
locked /var/spool/exim4/db/retry.lockfile
opened hints database /var/spool/exim4/db/retry:
flags=0
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Considering: grr@???
unique = bob@???
dbfn_read: key=R:bubble.com
dbfn_read: key=R:bob@???
no domain retry record
no address retry record
bob@???: queued for routing
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
routing bob@???
--------> amavis router <--------
local_part=bob domain=bubble.com
checking domains
bubble.com in "@:bubble.com:localhost"? yes (matched
"bubble.com")
bubble.com in "+local_domains"? yes (matched
"+local_domains")
bubble.com in "@:bubble.com:localhost"? yes (matched
"bubble.com")
bubble.com in "+local_domains"? yes (matched
"+local_domains")
checking "condition"
calling amavis router
amavis router called for bob@???
domain = bubble.com
route_item = * localhost byname
bubble.com in "*"? yes (matched "*")
original hostlist=localhost options=byname
expanded hostlist="localhost" options=byname
set transport amavis
finding IP address for localhost
calling host_find_byname
gethostbyname2(af=inet6) returned 2 (TRY_AGAIN)
local host found for non-MX address
fully qualified name = localhost
gethostbyname2 looked up these IP addresses:
name=localhost address=127.0.0.1
remote host address is the local host: bubble.com:
configured to try delivery an
yway
queued for amavis transport: local_part = bob
domain = bubble.com
errors_to=NULL
domain_data=NULL localpart_data=NULL
routed by amavis router
envelope to: bob@???
transport: amavis
host localhost [127.0.0.1]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
After routing:
Local deliveries:
Remote deliveries:
bob@???
Failed addresses:
Deferred addresses:
search_tidyup called
>>>>>>>>>>>>>>>> Remote deliveries >>>>>>>>>>>>>>>>
--------> bob@??? <--------
search_tidyup called
set_process_info: 16740 delivering 1Bq9XX-0004Lv-Lo:
waiting for a remote delive
ry subprocess to finish
selecting on subprocess pipes
changed uid/gid: remote delivery to bob@???
with transport=amavis
uid=102 gid=102 pid=16742
auxiliary group list: <none>
set_process_info: 16742 delivering 1Bq9XX-0004Lv-Lo
using amavis
amavis transport entered
bob@???
checking status of localhost
locking /var/spool/exim4/db/retry.lockfile
locked /var/spool/exim4/db/retry.lockfile
opened hints database /var/spool/exim4/db/retry:
flags=0
dbfn_read: key=T:localhost:127.0.0.1
dbfn_read: key=T:localhost:127.0.0.1:1Bq9XX-0004Lv-Lo
no message retry record
localhost [127.0.0.1] status = usable
127.0.0.1 in serialize_hosts? no (option unset)
delivering 1Bq9XX-0004Lv-Lo to localhost [127.0.0.1]
(bob@???)
set_process_info: 16742 delivering 1Bq9XX-0004Lv-Lo to
localhost [127.0.0.1] (bo
b@???)
Connecting to localhost [127.0.0.1]:25 ... failed
LOG: MAIN
localhost [127.0.0.1]: Connection refused
set_process_info: 16742 delivering 1Bq9XX-0004Lv-Lo:
just tried localhost [127.0
.0.1] for bob@???: result DEFER
added retry item for T:localhost:127.0.0.1: errno=111
65 flags=2
all IP addresses skipped or deferred at least one
address
locking /var/spool/exim4/db/wait-amavis.lockfile
locked /var/spool/exim4/db/wait-amavis.lockfile
opened hints database /var/spool/exim4/db/wait-amavis:
flags=2
dbfn_read: key=localhost
dbfn_write: key=localhost
Leaving amavis transport
set_process_info: 16742 delivering 1Bq9XX-0004Lv-Lo
(just run amavis for bob@bub
ble.com in subprocess)
search_tidyup called
reading pipe for subprocess 16742 (not ended)
read() yielded 69
reading retry information for T:localhost:127.0.0.1
from subprocess
added retry item
Z0 item read
remote delivery process 16742 ended
set_process_info: 16740 delivering 1Bq9XX-0004Lv-Lo
post-process bob@??? (1)
LOG: MAIN
== bob@??? R=amavis T=amavis defer (111):
Connection refused
>>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>>
changed uid/gid: post-delivery tidying
uid=102 gid=102 pid=16740
auxiliary group list: <none>
set_process_info: 16740 tidying up after delivering
1Bq9XX-0004Lv-Lo
Processing retry items
Succeeded addresses:
Failed addresses:
Deferred addresses:
bob@???
locking /var/spool/exim4/db/retry.lockfile
locked /var/spool/exim4/db/retry.lockfile
opened hints database /var/spool/exim4/db/retry:
flags=2
address match: subject=*@localhost pattern=*
localhost in "*"? yes (matched "*")
*@localhost in "*"? yes (matched "*")
retry for T:localhost:127.0.0.1 (bubble.com) = *
dbfn_read: key=T:localhost:127.0.0.1
Writing retry data for T:localhost:127.0.0.1
first failed=1091100512 last try=1091102259 next
try=1091103159 expired=0
error 111 65: Connection refused
dbfn_write: key=T:localhost:127.0.0.1
end of retry processing
time on queue = 0s
warning counts: required 0 done 0
delivery deferred: update_spool=1 header_rewritten=0
Writing spool header file
Size of headers = 291
ocalhost:127.0.0.1
end of retry process
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail