Re[4]: [Exim] Delivery errors for unknown users

Etusivu
Poista viesti
Vastaa
Lähettäjä: Graham Dodd
Päiväys:  
Vastaanottaja: Michael Dominok
Kopio: exim-users
Aihe: Re[4]: [Exim] Delivery errors for unknown users
Hello Michael,

Thursday, June 17, 2004, 2:19:16 PM, you wrote:
>>
>> MD> Are your cyrus-mailboxes named using the users $local_part or something
>> MD> else?
>> MD> Just a wild guess since a few days ago i was hasseling to convince cyrus
>> MD> not to use $local_part as mailboxname but to read the corresponding
>> MD> mailboxname from a db.
>>
>> yes I'm using $local_part
>>
>> I need to find out where I can plugin a reject mail if $local_part not in
>> LDAP
>>
>> Any ideas ??
MD> Well, since exim automatically rejects an eMail when none of it's
MD> routers accept it perhaps you shouldn't be looking for a place to reject
MD> eMail but where _not_ to accept it. 8-)
MD> Posting your cyrus-router and -transport would help.


router_cyrus_local:
driver = accept
domains = MAINDOMAIN
local_part_suffix = "DSUFFIX*"
local_part_suffix_optional
transport = transport_cyrus_local


transport_cyrus_local:
  driver = pipe
  command = /usr/libexec/cyrus/deliver \
            -m '${if def:h_X-Spam-Flag:{SPAM}{${substr_1:${local_part_suffix}}}}' -- '${local_part}'
  debug_print = Suffix: ${local_part_suffix}
  temp_errors = 75:72
  delivery_date_add
  envelope_to_add
  group = exim
  headers_remove = X-Delivered-To:X-Mailbox-To:X-localpart:X-Delivered-To-old:X-Mailbox-To-old:X-Virus-Scanned-Stamp:return-receipt-to:acknowledge-to:Dispositio
n-Notification-To:X-Confirm-Reading-To
  headers_add = ${if def:h_X-Delivered-To:{X-Delivered-To-old: $h_X-Delivered-To:\n}{}}\
                ${if def:h_X-Mailbox-To:{X-Mailbox-To-old: $h_X-Mailbox-To:\n}{}}\
                X-Delivered-To: ${if def:h_X-localpart:{$h_X-localpart:}{$original_local_part@$original_domain}}\n\
                X-Mailbox-To: $local_part@$domain
  log_output
  message_prefix =
  message_suffix =
  #return_fail_output
  return_path_add
  user = cyrus


MD> Is there a special reason you took this of list? Let's put it back on.


No reason, I've just started using TheBat and somtimes I click on Reply
instead of Reply To All :-)


--
Thanks for the help,
 Graham                            mailto:g.dodd@falk-ross.de