Hallo Liste,

Exim (3.36-9.1) 
mail (mailx 1:8.1.2-0.20031014cvs-2) Mail version 8.1.2 01/15/2001

Ich möchte heute per at kurz vor Mitternacht den Rechner herunterfahren, 
weil ich gleich ins Wochenende fahre. at soll aber eine 
Benachrichtigung nach [EMAIL PROTECTED] senden, damit ich über dem 
Webmailer sehen kann, ob das script auch ausgeführt wurde und shutdown 
beabsichtigt den TRechner herunterzufahren. (Gibt's bestimmt elegantere 
Methoden).

Wenn ich aus einem cronscript oder per at mit mail eine 
Benachrichtigungsmail an [EMAIL PROTECTED] senden möchte, so friert exim 
diese ein und sendet mir folgende mail:

Return-path: <>
 Envelope-to: [EMAIL PROTECTED]
 Received: from amavis by debian with scanned-ok (Exim 3.36 #1 (Debian))
        id 1BQb7r-0003ZR-00
        for <[EMAIL PROTECTED]>; Thu, 20 May 2004 
02:09:31 +0200
 Received: from debian ([127.0.0.1])
        by localhost (debian [127.0.0.1]) (amavisd-new, port 10024)
        with ESMTP id 11889-07 for <[EMAIL PROTECTED]>;
        Thu, 20 May 2004 02:08:30 +0200 (CEST)
 Received: from mail by debian with local (Exim 3.36 #1 (Debian))
        id 1BQb6q-0003Z8-00
        for <[EMAIL PROTECTED]>; Thu, 20 May 2004 
02:08:28 +0200
 From: Mail Delivery System <[EMAIL PROTECTED]>
 To: [EMAIL PROTECTED]
 Subject: Message frozen
 Message-Id: <[EMAIL PROTECTED]>
 Date: Thu, 20 May 2004 02:08:28 +0200
 X-Virus-Scanned: by AMaViS (<a 
href='http://amavis.org/'>http://amavis.org/</a>)
 X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at workgroup.home
 X-Spam-Status: No, hits=3.2 tagged_above=-999.9 required=5.0 
tests=BAYES_01,
        MSGID_FROM_MTA_SHORT, NO_DNS_FOR_FROM
 X-Spam-Level: ***
 Status: R
 X-Status: N
 X-KMail-EncryptionState: 
 X-KMail-SignatureState: 
 X-KMail-MDN-Sent: 
 
Message 1BQaSk-00032J-00 has been frozen.
The sender is <[EMAIL PROTECTED]>.

The following address(es) have yet to be delivered:
  [EMAIL PROTECTED]: error in router: no host(s) specified for *


Der header der gefrorenen Mail sieht so aus:

1BQaSk-00032J-00-H
root 0 0
<[EMAIL PROTECTED]>
1085009222 0
-ident root
-received_protocol local
-body_linecount 37
-auth_id root
-auth_sender [EMAIL PROTECTED]
-frozen 1085011707
-local
XX
1
[EMAIL PROTECTED]

140P Received: from root by debian with local (Exim 3.36 #1 (Debian))
        id 1BQaSk-00032J-00
        for <[EMAIL PROTECTED]>; Thu, 20 May 2004 01:27:02 +0200
018T To: [EMAIL PROTECTED]
017  Subject: at Test
039I Message-Id: <[EMAIL PROTECTED]>
040F From: root <[EMAIL PROTECTED]>
038  Date: Thu, 20 May 2004 01:27:02 +0200

Angehangen habe ich noch meine exim.conf

Ich hoffe mir kann da jemand helfen.

$  mailq |grep frozen|wc -l
1175

exim -Mt ID und ein anschließendes exim -qff helfen da auch nicht 
weiter. 
Es stimmt was in meiner Konfiguration nicht. 
Google hat mir leider noch nicht helfen können.

TIA

ciao

Gerhard

PS.: oder welche Argumente übergebe ich mail, damit dieses über 
smtp.web.de versendet werden? (-sendmail-options aber wie und welche?)?

qualify_domain = debian.workgroup.home
local_domains = 
localhost:debian.workgroup.home:gonzo.workgroup.home:workgroup.home:debian:debian.workgroup:gonzo:workgroup
local_domains_include_host = true
local_domains_include_host_literals = true
never_users = root
queue_remote_domains = *
host_accept_relay = 127.0.0.1 : ::::1 : 172.16.240.0/24
host_auth_accept_relay = *
trusted_users = mail:amavis
smtp_verify = true
gecos_pattern = ^([^,:]*)
gecos_name = $1
smtp_accept_queue_per_connection = 100
freeze_tell_mailmaster = true
received_header_text = "Received: \
         ${if def:sender_rcvhost {from ${sender_rcvhost}\n\t}\
         {${if def:sender_ident {from ${sender_ident} }}\
         ${if def:sender_helo_name {(helo=${sender_helo_name})\n\t}}}}\
         by ${primary_hostname} \
         ${if def:received_protocol {with ${received_protocol}}} \
         id ${message_id}\
         ${if def:received_for {\n\tfor <$received_for>}}"
receiver_try_verify = true
end
local_delivery:
  driver = appendfile
  group = mail
  mode = 0660
  mode_fail_narrower = false
  envelope_to_add = true
  return_path_add = true
  file = /var/spool/mail/${local_part}
address_pipe:
  driver = pipe
  path = /usr/bin:/bin:/usr/local/bin
  return_output
address_file:
  driver = appendfile
  envelope_to_add = true
  return_path_add = true
address_directory:
  driver = appendfile
  no_from_hack
  prefix = ""
  suffix = ""
address_reply:
  driver = autoreply
procmail_pipe:
  driver = pipe
  command = "/usr/bin/procmail"
  return_path_add
  delivery_date_add
  envelope_to_add
  suffix = ""
remote_smtp:
  driver = smtp
  authenticate_hosts = smtp.web.de
amavis:
   driver = smtp
      port = 10024
         hosts = 127.0.0.1
            allow_localhost
            
            
headers_add = "X-Virus-Scanned: by AMaViS (<a 
href='http://amavis.org/'>http://amavis.org/</a>)"
end
amavis_director:
  condition = "${if eq {$received_protocol}{scanned-ok} {0}{1}}"
    driver = smartuser
      transport = amavis
            verify = false
            
            
real_local:
  prefix = real-
  driver = localuser
  transport = local_delivery
system_aliases:
  driver = aliasfile
  file_transport = address_file
  pipe_transport = address_pipe
  file = /etc/aliases
  search_type = lsearch
userforward:
  driver = forwardfile
  file_transport = address_file
  pipe_transport = address_pipe
  reply_transport = address_reply
  no_verify
  check_ancestor
  check_local_user
  file = .forward
  modemask = 002
  filter
procmail:
  driver = localuser
  transport = procmail_pipe
  require_files = ${local_part}:+${home}:+${home}/.procmailrc:+/usr/bin/procmail
  no_verify
localuser:
  driver = localuser
  transport = local_delivery
end
amavis_router:
  condition = "${if eq {$received_protocol}{scanned-ok} {0}{1}}"
    driver = domainlist
      route_list = "*"
        transport = amavis
              verify = false
              
              
              
              
              
              
              
lookuphost:
  driver = lookuphost
  transport = remote_smtp
literal:
  driver = ipliteral
  transport = remote_smtp
 smarthost_ggnewsletterweb:
 driver = domainlist
 transport = remote_smtp
 route_list = "* smtp.web.de byname"
 condition =  ${if eq {${lc:$sender_address}} [EMAIL PROTECTED]
              {true} fail }:
 smarthost_ggrubbishweb:
 driver = domainlist
 transport = remote_smtp
 route_list = "* smtp.web.de byname"
 condition =  ${if eq {${lc:$sender_address}} [EMAIL PROTECTED]
              {true} fail }:
 smarthost_gginfoweb:
driver = domainlist
 transport = remote_smtp
 route_list = "* smtp.web.de byname"
 condition =  ${if eq {${lc:$sender_address}} [EMAIL PROTECTED]
              {true} fail }:
gmx_route:
driver = domainlist
transport = remote_smtp
route_list = "* \"${if match{$header_Reply-to:}{.*\\.gmx\\.de\\$} \
{mail.gmx.de} fail}\" bydns_a"
web_route:
driver = domainlist
transport = remote_smtp
route_list = "* \"${if match{$header_Reply-to:}{.*\\.web\\.de\\$} \
{smtp.web.de} fail}\" bydns_a"
end
*                      *           F,2h,15m; G,16h,2h,1.5; F,4d,8h
end
[EMAIL PROTECTED]    ${lookup{$1}lsearch{/etc/email-addresses}\
                                                {$value}fail} frFs
end

Antwort per Email an