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

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

    <bug>
          <bug_id>21674</bug_id>
          
          <creation_ts>2009-09-22 17:52:06 +0400</creation_ts>
          <short_desc>Не работает фильтрация отправителей по подсетям</short_desc>
          <delta_ts>2009-09-23 15:42:05 +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>alterator-postfix-dovecot</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>distro-blocker</keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>19564</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrey Cherepanov">cas</reporter>
          <assigned_to name="Anton V. Boyarshinov">boyarsh</assigned_to>
          <cc>aen</cc>
    
    <cc>boyarsh</cc>
    
    <cc>sem</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>99841</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2009-09-22 17:52:06 +0400</bug_when>
    <thetext>Стоит флажок &quot;Фильтровать отправителей&quot;, внутренние сети &quot;127.0.0.1/32&quot;. Однако пользователи из локальной сети продолжают без проблем отправлять почту.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99874</commentid>
    <comment_count>1</comment_count>
    <who name="Grigory Batalov">bga</who>
    <bug_when>2009-09-22 21:04:40 +0400</bug_when>
    <thetext>Приложи кусок /var/log/maillog , чтобы было видно IP-адреса и e-mail</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99926</commentid>
    <comment_count>2</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2009-09-23 14:56:01 +0400</bug_when>
    <thetext>Sep 23 14:53:43 ham1 postfix/smtpd[17593]: connect from c249.office.altlinux.ru[10.1.1.249]
Sep 23 14:53:44 ham1 postfix/smtpd[17593]: 38889E302C7: client=c249.office.altlinux.ru[10.1.1.249]
Sep 23 14:53:44 ham1 postfix/cleanup[17597]: 38889E302C7: message-id=&lt;200909231453.41499.cas@altlinux.ru&gt;
Sep 23 14:53:44 ham1 postfix/qmgr[25517]: 38889E302C7: from=&lt;cas@altlinux.ru&gt;, size=1040, nrcpt=1 (queue active)
Sep 23 14:53:44 ham1 postfix/smtpd[17593]: disconnect from c249.office.altlinux.ru[10.1.1.249]

Внутренняя сеть: 127.0.0.1/32 
Sep 23 14:53:44 ham1 spamd[25717]: spamd: got connection over /var/run/spamd/socket
Sep 23 14:53:44 ham1 spamd[25717]: spamd: using default config for _filter: /var/lib/spamd/.spamassassin/user_prefs
Sep 23 14:53:44 ham1 spamd[25717]: spamd: processing message &lt;200909231453.41499.cas@altlinux.ru&gt; for _filter:125
Sep 23 14:53:45 ham1 spamd[25717]: spamd: clean message (1.3/7.0) for _filter:125 in 0.4 seconds, 1050 bytes.
Sep 23 14:53:45 ham1 spamd[25717]: spamd: result: . 1 - ALL_TRUSTED,MIME_BASE64_TEXT scantime=0.4,size=1050,user=_filter,uid=125,required_score=7.0,rhost=localhost,raddr=127.0.0.1,rport=/var/run/spamd/socket,mid=&lt;200909231453.41499.cas@altlinux.ru&gt;,autolearn=no
Sep 23 14:53:45 ham1 spamd[25234]: prefork: child states: II
Sep 23 14:53:45 ham1 postfix/pickup[6699]: 24D64E302CA: uid=127 from=&lt;cas@altlinux.ru&gt;
Sep 23 14:53:45 ham1 postfix/cleanup[17597]: 24D64E302CA: message-id=&lt;200909231453.41499.cas@altlinux.ru&gt;
Sep 23 14:53:45 ham1 postfix/pipe[17598]: 38889E302C7: to=&lt;l1@ham1.stend.altlinux.ru&gt;, orig_to=&lt;l1@stend.altlinux.ru&gt;, relay=filter, delay=1.2, delays=0.39/0.02/0/0.81, dsn=2.0.0, status=sent (delivered via filter service)
Sep 23 14:53:45 ham1 postfix/qmgr[25517]: 38889E302C7: removed
Sep 23 14:53:45 ham1 postfix/qmgr[25517]: 24D64E302CA: from=&lt;cas@altlinux.ru&gt;, size=1369, nrcpt=1 (queue active)
Sep 23 14:53:45 ham1 postfix/local[17607]: 24D64E302CA: to=&lt;l1@ham1.stend.altlinux.ru&gt;, relay=local, delay=0.24, delays=0.07/0.03/0/0.13, dsn=2.0.0, status=sent (delivered to mailbox)
Sep 23 14:53:45 ham1 postfix/qmgr[25517]: 24D64E302CA: removed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99939</commentid>
    <comment_count>3</comment_count>
    <who name="Grigory Batalov">bga</who>
    <bug_when>2009-09-23 15:29:03 +0400</bug_when>
    <thetext>to=&lt;l1@ham1.stend.altlinux.ru&gt;, orig_to=&lt;l1@stend.altlinux.ru&gt;
А в /etc/postfix/mydestination записано stend.altlinux.ru ? Тогда всё верно, входящая почта принимается всегда (за исключением RBL и т.п.).
Проверь лучше, уходит ли почта на @altlinux.ru.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99941</commentid>
    <comment_count>4</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2009-09-23 15:41:49 +0400</bug_when>
    <thetext>Уходит вовне. Фильтрация работает.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>