<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>15549</bug_id>
          
          <creation_ts>2008-05-05 19:48:57 +0400</creation_ts>
          <short_desc>Space sensitive make_aliases</short_desc>
          <delta_ts>2008-05-07 12:41:54 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>sendmail-common</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Grigory Batalov">bga</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>placeholder</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>69349</commentid>
    <comment_count>0</comment_count>
    <who name="Grigory Batalov">bga</who>
    <bug_when>2008-05-05 19:48:57 +0400</bug_when>
    <thetext>Скрипт make_aliases не учитывает, что количество пробелов в выводе &quot;getent
aliases&quot; и в /etc/postfix/aliases может не совпадать. Указанные строки приводят
к дублированию алиасов MAILER-DAEMON, abuse и postmaster:

81  getent aliases |while read alias; do
82          fgrep -qsx &quot;$alias&quot; &quot;$WORKFILE&quot; ||
83                  printf &apos;%s\n&apos; &quot;$alias&quot; &gt;&gt;&quot;$WORKFILE&quot;

Использовался пакет postfix-2.4.7-alt1 в бранче 4.0.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69418</commentid>
    <comment_count>1</comment_count>
    <who name="Grigory Batalov">bga</who>
    <bug_when>2008-05-06 21:37:07 +0400</bug_when>
    <thetext>Проблема, в частности, в том, что getent aliases форматирует вывод пробелами, а
в шаблоне /usr/share/sendmail-common/aliases поля разделены табуляциями.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69431</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2008-05-07 02:37:09 +0400</bug_when>
    <thetext>Thanks, fixed in 1.7-alt1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>