[EXIM] exiqsumm and domain literals

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Malcolm Ray
日付:  
To: ph10
CC: exim-users
題目: [EXIM] exiqsumm and domain literals
exiqsumm doesn't correctly handle domain literals: any queued messages
bound for domain literals will be incorrectly aggregated, and will appear
in the output with the domain field blank. Here's a patch against 2.05:

*** exiqsumm.dist    Wed Nov 11 12:14:13 1998
--- exiqsumm    Wed Nov 11 12:13:20 1998
***************
*** 79,85 ****
  # Else check for a recipient line: to handle source-routed addresses, just
  # pick off the first domain.


! elsif (/^\s+[^@]*\@([\w\d\.\-]*)/)
    {
    $domain = "\L$1";
    $queue{$domain}++;
--- 79,85 ----
  # Else check for a recipient line: to handle source-routed addresses, just
  # pick off the first domain.


! elsif (/^\s+[^@]*\@([\w\.\-]+|\[(\d+\.){3}\d+\])/)
    {
    $domain = "\L$1";
    $queue{$domain}++;



-- 
Malcolm Ray                           University of London Computer Centre




--
*** Exim information can be found at http://www.exim.org/ ***