From: "Алексей Шенцев" <ashen@nsrz.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] [devel] dspam+postfix
Date: Tue, 18 Sep 2007 14:31:10 +0400
Message-ID: <200709181431.10820.ashen@nsrz.ru> (raw)
In-Reply-To: <m3lkb9hn3o.fsf@vvk.distance.ru>
В сообщении от Friday 14 September 2007 08:44:59 Vladimir V. Kamarzin
написал(а):
> >>>>> On 13 Sep 2007 at 12:59 "a" == ashen writes:
>
> a> Пробывал как Вы сказали и получил вот такое в логах:
> a> Sep 13 09:39:37 gw postfix/lmtp[26162]: 9E1261C7A31: to=<teo@nsrz.ru>,
> a> relay=gw.nsrz.ru[/dspam.sock], delay=74353, delays=73726/314/0/312,
> a> dsn=4.3.0, status=deferred (host gw.nsrz.ru[/dspam.sock] said: 421
> 4.3.0 a> <teo@nsrz.ru> LHLO: 421 4.4.2 gw.nsrz.ru Error: timeout exceeded
> (in reply to a> end of DATA command))
>
> a> В какую сторону копать? настройки postfix'а или сам dspam?
>
> Ну сам dspam видимо.
Точнее в /etc/dspam & /etc/postfix/master.cf
В основном в правильное конфигурирование /etc/dspam.conf.
Вроде разобрался, работает. Можно потихоньку приступать к написаю README.ALT
для связки postfix+dspam+clamav+mysql (pgsql). Вопрос только как работает ...
Такой вопрос. Вот такой у меня получился /etc/postfix/master.cf:
[root@gw postfix]# cat /etc/postfix/master.cf
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
#For dspam + postfix
smtp inet n - n - - smtpd
-o content_filter=lmtp:unix:/dspam.sock
localhost:10026 inet n - n - - smtpd
-o content_filter=
-o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
-o smtpd_helo_restrictions=
-o smtpd_client_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8
-o smtpd_authorized_xforward_hosts=127.0.0.0/8
#amavisd + postfix
smtp-amavis unix - - n - 2 smtp
-o smtp_data_done_timeout=1200
127.0.0.1:10025 inet n - n - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
-o smtpd_etrn_restrictions=reject
Что первым отработает: dspam или amavisd ?
--
С уважением Шенцев Алексей Владимирович.
E-mail: ashen@nsrz.ru
XMPP: ashen@altlinux.org, AlexShen@jabber.ru
ICQ: 271053845
next prev parent reply other threads:[~2007-09-18 10:31 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 ` Алексей Шенцев [this message]
2007-09-18 11:20 ` Vladimir V. Kamarzin
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=200709181431.10820.ashen@nsrz.ru \
--to=ashen@nsrz.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