ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Mikhael Korneev <voldar@vrg.ru>
To: community@altlinux.ru
Subject: Re: [Comm] postfix + amavisd-new problem
Date: Wed, 10 Nov 2004 18:50:31 +0300
Message-ID: <419238C7.3040909@vrg.ru> (raw)
In-Reply-To: <20041110181138.4c02aff9@home.greg.com.ru>

Grigory Fateyev wrote:

>Здравствуйте!
>
>Поставил связку postfix + mysql + sasl2 по статье уважаемого Shrek
>(Валерий Иназемцев, спасибо за труды), и подумал расширить связку и
>прикрутить amavisd-new со всем хозяйством, благо есть доступное README.
>После успешного подьёма сервисов в логах появляется запись с
>периодичностью в одну минуту (причем даже если сервисы остановленны)
>
>Nov 10 17:46:15 tandem postfix/qmgr[6269]: warning: connect to transport
>smtp-amavis: No such file or directory
>
>и telnet localhost 10025 также не доступен. И все письма получают
>статус deffered, даже локальные. Добавлю один нюанс, реального домена
>почтового сервера ещё нет, он в процессе регистрации.
>Гугль советует postsuper -r ALL, но это не то.
>
>В чём может быть причина?
>
>PS # netstat -nlp | grep 10024
>tcp        0      0 127.0.0.1:10024         0.0.0.0:*              
>LISTEN     21361/amavisd (mast 
>tandem:~# netstat -nlp | grep 10025 - молчит.
>
>Спасибо!
>
>  
>
У меня настроено следующим образом:

# rpm -qa | grep postfix
postfix-2.0.20-alt1.1
postfix-mysql-2.0.20-alt1.1
postfix-control-1.2-alt1
postfix-pcre-2.0.20-alt1.1

(Из дедала с поддержкой sasl)

# rpm -qa | grep amavisd-new
amavisd-new-2.1.2-alt1
(последний из сизифа)

Вот избранные места из конфигов.

/etc/postfix/master.cf

smtp-amavis unix -      -       n       -       10      smtp
        -o smtp_data_done_timeout=1200
        -o disable_dns_lookups=yes

/etc/postfix/main.cf

content_filter = smtp-amavis:[127.0.0.1]:10024

/etc/amavis/amavisd.conf

$inet_socket_port = 10024;


$notify_method  = 'smtp:[127.0.0.1]:10025';
$forward_method = 'smtp:[127.0.0.1]:10025';  # set to undef with milter!


При таких настройках все работает.

-- 
Best regards, Mikhael Korneev aka Voldar



  reply	other threads:[~2004-11-10 15:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-10 15:11 Grigory Fateyev
2004-11-10 15:50 ` Mikhael Korneev [this message]
2004-11-10 16:35   ` Grigory Fateyev
2004-11-10 17:00     ` Mikhael Korneev
2004-11-10 18:20       ` Grigory Fateyev

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=419238C7.3040909@vrg.ru \
    --to=voldar@vrg.ru \
    --cc=community@altlinux.ru \
    /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 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