Bug 21674 - Не работает фильтрация отправителей по подсетям
Summary: Не работает фильтрация отправителей по подсетям
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: alterator-postfix-dovecot (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Anton V. Boyarshinov
QA Contact: qa-sisyphus
URL:
Keywords: distro-blocker
Depends on:
Blocks: 19564
  Show dependency tree
 
Reported: 2009-09-22 17:52 MSD by Andrey Cherepanov
Modified: 2009-09-23 15:42 MSD (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Cherepanov 2009-09-22 17:52:06 MSD
Стоит флажок "Фильтровать отправителей", внутренние сети "127.0.0.1/32". Однако пользователи из локальной сети продолжают без проблем отправлять почту.
Comment 1 Grigory Batalov 2009-09-22 21:04:40 MSD
Приложи кусок /var/log/maillog , чтобы было видно IP-адреса и e-mail
Comment 2 Andrey Cherepanov 2009-09-23 14:56:01 MSD
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=<200909231453.41499.cas@altlinux.ru>
Sep 23 14:53:44 ham1 postfix/qmgr[25517]: 38889E302C7: from=<cas@altlinux.ru>, 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 <200909231453.41499.cas@altlinux.ru> 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=<200909231453.41499.cas@altlinux.ru>,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=<cas@altlinux.ru>
Sep 23 14:53:45 ham1 postfix/cleanup[17597]: 24D64E302CA: message-id=<200909231453.41499.cas@altlinux.ru>
Sep 23 14:53:45 ham1 postfix/pipe[17598]: 38889E302C7: to=<l1@ham1.stend.altlinux.ru>, orig_to=<l1@stend.altlinux.ru>, 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=<cas@altlinux.ru>, size=1369, nrcpt=1 (queue active)
Sep 23 14:53:45 ham1 postfix/local[17607]: 24D64E302CA: to=<l1@ham1.stend.altlinux.ru>, 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
Comment 3 Grigory Batalov 2009-09-23 15:29:03 MSD
to=<l1@ham1.stend.altlinux.ru>, orig_to=<l1@stend.altlinux.ru>
А в /etc/postfix/mydestination записано stend.altlinux.ru ? Тогда всё верно, входящая почта принимается всегда (за исключением RBL и т.п.).
Проверь лучше, уходит ли почта на @altlinux.ru.
Comment 4 Andrey Cherepanov 2009-09-23 15:41:49 MSD
Уходит вовне. Фильтрация работает.