ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Vladimir V. Kamarzin" <vvk@vvk.pp.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] [devel] dspam+postfix
Date: Tue, 18 Sep 2007 17:20:43 +0600
Message-ID: <m3k5qo6wz8.fsf@vvk.distance.ru> (raw)
In-Reply-To: <200709181431.10820.ashen@nsrz.ru> (ashen@nsrz.ru's message of "Tue, 18 Sep 2007 14:31:10 +0400")

>>>>> On 18 Sep 2007 at 16:31 "a" == ashen  writes:

 a> Такой вопрос. Вот такой у меня получился /etc/postfix/master.cf:

 a> [root@gw postfix]# cat /etc/postfix/master.cf
 a> # ==========================================================================
 a> # service type  private unpriv  chroot  wakeup  maxproc command + args
 a> #               (yes)   (yes)   (yes)   (never) (100)
 a> # ==========================================================================
 a> #For dspam + postfix
 a> smtp    inet    n       -       n       -       -       smtpd
 a>  -o content_filter=lmtp:unix:/dspam.sock

Тут принимается письмо и отправляется в dspam

 a> localhost:10026 inet  n -       n       -       -        smtpd
 a>  -o content_filter=
 a>  -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
 a>  -o smtpd_helo_restrictions=
 a>  -o smtpd_client_restrictions=
 a>  -o smtpd_sender_restrictions=
 a>  -o smtpd_recipient_restrictions=permit_mynetworks,reject
 a>  -o mynetworks=127.0.0.0/8
 a>  -o smtpd_authorized_xforward_hosts=127.0.0.0/8

Тут видимо письмо принимается от dspam и отправляется в cleanup

 a> #amavisd + postfix
 a> smtp-amavis unix -      -       n       -       2  smtp
 a>  -o smtp_data_done_timeout=1200

По-моему, вот тут должен быть не smtp а smtpd.

 a> 127.0.0.1:10025 inet n  -       n       -       -  smtpd
 a>  -o content_filter=
 a>  -o local_recipient_maps=
 a>  -o relay_recipient_maps=
 a>  -o smtpd_restriction_classes=
 a>  -o smtpd_client_restrictions=
 a>  -o smtpd_helo_restrictions=
 a>  -o smtpd_sender_restrictions=
 a>  -o smtpd_recipient_restrictions=permit_mynetworks,reject
 a>  -o mynetworks=127.0.0.0/8
 a>  -o strict_rfc821_envelopes=yes
 a>  -o smtpd_error_sleep_time=0
 a>  -o smtpd_soft_error_limit=1001
 a>  -o smtpd_hard_error_limit=1000
 a>  -o smtpd_etrn_restrictions=reject

Не понятно, зачем нужен вот этот smtpd.

 a> Что первым отработает: dspam или amavisd ?

Похоже, к amavisd письма не попадают вообще.

-- 
vvk

Russian Postfix irc: irc.freenode.net #postfix-ru


  reply	other threads:[~2007-09-18 11:20 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-11  8:20 ` Vladimir V. Kamarzin
2007-09-11  8:49   ` Алексей Шенцев
2007-09-11  9:45   ` Алексей Шенцев
2007-09-12  8:35     ` Vladimir V. Kamarzin
2007-09-12  8:44       ` Алексей Шенцев
2007-09-13  6:59       ` Алексей Шенцев
2007-09-14  4:44         ` Vladimir V. Kamarzin
2007-09-18 10:31           ` Алексей Шенцев
2007-09-18 11:20             ` Vladimir V. Kamarzin [this message]
2007-09-18 11:38               ` Алексей Шенцев
2007-09-18 14:22                 ` Alexey Shabalin
2007-09-19  6:31                   ` Алексей Шенцев
2007-09-19 10:31   ` [Sysadmins] dspam+postfix Алексей Шенцев
2007-09-19 12:02     ` Alexey Shabalin
2007-09-19 12:03       ` Andrii Dobrovol`s`kii
2007-09-19 12:19         ` Алексей Шенцев

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3k5qo6wz8.fsf@vvk.distance.ru \
    --to=vvk@vvk.pp.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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