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 20:00:06 +0300
Message-ID: <41924916.5000708@vrg.ru> (raw)
In-Reply-To: <20041110193557.7eb4a9a3@home.greg.com.ru>

Grigory Fateyev wrote:

>Hello, Mikhael!
>10 Ноября 2004г. в 18:50 You wrote:
>
>  
>
>>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!
>>
>>
>>При таких настройках все работает.
>>
>>    
>>
>У меня в настройках тоже самое что и у вас. Проблема в том что у меня
>порт 10025 не слушается, а вот почему, и надо выяснить.
>
>Я это делаю на Debian/testing, но думаю разница не существенна. 
>
>  
>
Незнаю насколько это существенно и влияет ли на работу связки - я делаю 
запуск сервисов в след. последовательности: amavis->clamav->postfix.  В 
какой-то из статей по настройке читал что рекомендуется именно такой 
порядок, и при нем все работает.

Кстати у меня при моих настройках

# netstat -nlp | grep 10025
tcp        0      0 127.0.0.1:10025         0.0.0.0:*               
LISTEN      17047/master

А амавис при старте в логах что говорит, если ему $log_level поболе 
поставить?

P.S. в качестве дурацкого предположения - может быть кто-то из них в 
чруте и это как-то влияет?

-- 
Best regards, Mikhael Korneev aka Voldar



  reply	other threads:[~2004-11-10 17:00 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
2004-11-10 16:35   ` Grigory Fateyev
2004-11-10 17:00     ` Mikhael Korneev [this message]
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=41924916.5000708@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