ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] postfix
@ 2003-04-06 13:15 Ткаченко Максим
  2003-04-06 13:45 ` Serge Polkovnikov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ткаченко Максим @ 2003-04-06 13:15 UTC (permalink / raw)
  To: community

чего я не так делаю?
  main.cf:

check_client_access = hash:/etc/postfix/access
check_helo_access = hash:/etc/postfix/access
check_sender_access = hash:/etc/postfix/access
check_recipient_access = hash:/etc/postfix/access
smtpd_recipient_restrictions = permit_mynetworks,check_relay_domains,hash:/etc/postfix/access

в /etc/postfix/access:
yahoo.com                    550 Go away, spammer!

на access натравливал:
makemap hash access < access

И все равно пропускает от тра-ля-ля@yahoo.com

В то же время, если добавлю в main.cf вот такое:
header_checks = regexp:/etc/postfix/header_checks

и в header_checks:
/^From: .*yahoo.com/                            REJECT

то отпуливает.

Где чего не так делаю?




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Comm] postfix
  2003-04-06 13:15 [Comm] postfix Ткаченко Максим
@ 2003-04-06 13:45 ` Serge Polkovnikov
  2003-04-07 12:03 ` Евгений В. Хорохорин
  2003-04-07 16:56 ` Igor Muratov
  2 siblings, 0 replies; 4+ messages in thread
From: Serge Polkovnikov @ 2003-04-06 13:45 UTC (permalink / raw)
  To: community

[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 764 bytes --]

В сообщении от Вс 06 Апр 2003 16:15 Ткаченко Максим написал:
> в /etc/postfix/access:
> yahoo.com                    550 Go away, spammer!
>
> на access натравливал:
> makemap hash access < access
>
> И все равно пропускает от тра-ля-ля@yahoo.com
Imho, в access прописываются адреса _серверов_ с которых вы
не хотите/хотите принимать почту. И вовсе не факт, что письмо
в котором обратный адрес bla-bla@yahoo.com приходит к вам
именно с сервера yahoo.com...

>
> В то же время, если добавлю в main.cf вот такое:
> header_checks = regexp:/etc/postfix/header_checks
>
> и в header_checks:
> /^From: .*yahoo.com/                            REJECT
>
> то отпуливает.
>
> Где чего не так делаю?

-- 
С уважением,
  Сергей Полковников              JID: p_serge@jabber.ru

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Comm] postfix
  2003-04-06 13:15 [Comm] postfix Ткаченко Максим
  2003-04-06 13:45 ` Serge Polkovnikov
@ 2003-04-07 12:03 ` Евгений В. Хорохорин
  2003-04-07 16:56 ` Igor Muratov
  2 siblings, 0 replies; 4+ messages in thread
From: Евгений В. Хорохорин @ 2003-04-07 12:03 UTC (permalink / raw)
  To: community

On Sun, 06 Apr 2003 20:15:53 +0700
Ткаченко Максим <maxman@yourline.ru> wrote:

> чего я не так делаю?
>   main.cf:
> 
> check_client_access = hash:/etc/postfix/access
> check_helo_access = hash:/etc/postfix/access
> check_sender_access = hash:/etc/postfix/access
> check_recipient_access = hash:/etc/postfix/access
> smtpd_recipient_restrictions = permit_mynetworks,check_relay_domains,hash:/etc/postfix/access
> 
> в /etc/postfix/access:
> yahoo.com                    550 Go away, spammer!
> 
> на access натравливал:
> makemap hash access < access
> 
> И все равно пропускает от тра-ля-ля@yahoo.com
> 
> В то же время, если добавлю в main.cf вот такое:
> header_checks = regexp:/etc/postfix/header_checks
> 
> и в header_checks:
> /^From: .*yahoo.com/                            REJECT
> 
> то отпуливает.
> 
> Где чего не так делаю?

link:
http://linux.yaroslavl.ru/docs/altlinux/master22_u/ch09s08.html

hint:
postmap /etc/postfix/access
-- 
Best regards,				mailto: genix@sendmail.ru
		Genix			http://saratov.lug.ru
Registered Linux User #219993		JID: genix@jabber.org

	-= С моих слов записано верно, мною прочитано =-


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Comm] postfix
  2003-04-06 13:15 [Comm] postfix Ткаченко Максим
  2003-04-06 13:45 ` Serge Polkovnikov
  2003-04-07 12:03 ` Евгений В. Хорохорин
@ 2003-04-07 16:56 ` Igor Muratov
  2 siblings, 0 replies; 4+ messages in thread
From: Igor Muratov @ 2003-04-07 16:56 UTC (permalink / raw)
  To: community

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ткаченко Максим пишет:
| чего я не так делаю?
|  main.cf:
|
| check_client_access = hash:/etc/postfix/access
| check_helo_access = hash:/etc/postfix/access
| check_sender_access = hash:/etc/postfix/access
| check_recipient_access = hash:/etc/postfix/access
| smtpd_recipient_restrictions =
| permit_mynetworks,check_relay_domains,hash:/etc/postfix/access
|
| в /etc/postfix/access:
| yahoo.com                    550 Go away, spammer!
|
| на access натравливал:
| makemap hash access < access

Зачем же так грубо? Сендмейловские привычки ;)
postmap /etc/postfix/access

|
| И все равно пропускает от тра-ля-ля@yahoo.com
|
| В то же время, если добавлю в main.cf вот такое:
| header_checks = regexp:/etc/postfix/header_checks
|
| и в header_checks:
| /^From: .*yahoo.com/                            REJECT
|
| то отпуливает.
|
| Где чего не так делаю?
|
|
| _______________________________________________
| Community mailing list
| Community@altlinux.ru
| http://www.altlinux.ru/mailman/listinfo/community


- --
With best regards                    System administrator
Igor Muratov                         mailto:migor at altlinux.ru
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+ka3AqjgjB/MK76QRArofAJ0RDVgXlVUmWl7C7CFuR81a2NH9EwCeJOAK
fFh9aqUASN4X2wAfaeQlxJI=
=wpJA
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-04-07 16:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-06 13:15 [Comm] postfix Ткаченко Максим
2003-04-06 13:45 ` Serge Polkovnikov
2003-04-07 12:03 ` Евгений В. Хорохорин
2003-04-07 16:56 ` Igor Muratov

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git