ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexandr Rakhmanin <alex@rscenter.ru>
To: community@altlinux.ru, non2002@inbox.ru
Subject: Re: [Comm] Postfix+MySQL
Date: Fri, 09 Apr 2004 16:04:10 +0700
Message-ID: <4076670A.4000307@rscenter.ru> (raw)
In-Reply-To: <4076589F.7050204@inbox.ru>

Квашин Антон wrote:


>>> После применения этой методики, у вас нормально работает почтовая 
>>> служба? Т.е. работает smtp-авторизация и courier-popd пользуются 
>>> базой MySQL.
>>
>>
>> До этого пока не дошел.
>> Щас настроил что читает из базы, немогу разобраться почему нехочет 
>> писать письма:
>> Apr  9 13:11:03 mail postfix/local[10533]: 55B1590008: 
>> to=<alex@mail.rscenter.ru>, orig_to=<root>, relay=local, delay=32928, s
>> tatus=sent ("|/usr/bin/procmail -a $DOMAIN -d $LOGNAME")
>> Apr  9 13:11:03 mail postfix/local[10531]: A855690009: 
>> to=<alex@mail.rscenter.ru>, orig_to=<root>, relay=local, delay=32926, s
>> tatus=sent ("|/usr/bin/procmail -a $DOMAIN -d $LOGNAME")
>> Apr  9 13:11:03 mail postfix/virtual[10532]: 6400790006: 
>> to=<alex@rscenter.ru>, relay=virtual, delay=155282, status=deferred (
>> maildir delivery failed: create 
>> ///var/spool/mail/rscenter.ru_alex/tmp/1081491063.P10532.mail.rscenter: 
>> Permission denied)
> 
> 
> письмо идет на <alex@rcenter.ru> и для вашего постфикса это виртуальный 
> релей.
Вот и почему он тогда не пишет?
> 
>> Apr  9 13:11:03 mail postfix/local[10533]: 7356790007: 
>> to=<alex@mail.rscenter.ru>, orig_to=<root>, relay=local, delay=119315,
>> status=sent ("|/usr/bin/procmail -a $DOMAIN -d $LOGNAME")
> 
> 
> здесь письмо идет на alex@mail.rcenter.ru. И он его доставляет.
> 
>>
>> Права не менял, причем в /var/spool/mail/alex письма записал (правда 
>> непонял почему они туда свалились), 
> 
> 
> потому что в /etc/postfix/main.cf есть mail_spool_directory = 
> /var/spool/mail
Я не это имел ввиду, должен был свалить в 
/var/spool/mail/rscenter.ru_alex/, с этим я разобрался он писал в майл 
из-за того что надо указывать @rscenter.ru. /rscenter.ru_alex/ - это он 
берет уже из mysql базы.
> 
>> пробовал вручную создать /rscenter.ru_alex/tmp/, тоже самое. Уже и на 
>> /var/spool/mail/ по всякому права менял, нивкакую, в него пишет 
>> virtual который не в чруте.
> что такое virtual?
Это я насколько понимаю его агент доставки.
[root@mail postfix]# sendmail -q
[root@mail postfix]# ps xua |grep postfix
root     13152  0.0  1.1  4148 1388 ?        S    13:39   0:00 
/usr/lib/postfix/master
postfix  13158  0.0  1.1  4200 1412 ?        S    13:39   0:00 pickup -l 
-t fifo -u -c
postfix  13159  0.0  1.2  4260 1500 ?        S    13:39   0:00 qmgr -l 
-t fifo -u -c
postfix  13279  2.0  1.4  4908 1720 ?        S    13:43   0:00 
trivial-rewrite -n rewrite -t unix -u -c
postfix  13283  2.0  1.3  4816 1664 ?        S    13:43   0:00 virtual 
-t unix
postfix  13284  3.0  1.3  4816 1664 ?        S    13:43   0:00 virtual 
-t unix
postfix  13287  2.0  1.3  4816 1664 ?        S    13:43   0:00 virtual 
-t unix
postfix  13294  1.0  1.2  4220 1444 ?        S    13:43   0:00 bounce -z 
-n defer -t unix -u -c
postfix  13296  1.0  1.2  4220 1444 ?        S    13:43   0:00 bounce -z 
-n defer -t unix -u -c
postfix  13297  3.0  1.4  4880 1684 ?        S    13:43   0:00 flush -z 
-t unix -u -c
postfix  13298  1.0  1.4  4868 1688 ?        S    13:43   0:00 flush -z 
-t unix -u -c
postfix  13299  2.0  1.4  4880 1684 ?        S    13:43   0:00 flush -z 
-t unix -u -c



  reply	other threads:[~2004-04-09  9:04 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-09  3:41 Alexandr Rakhmanin
2004-04-09  4:47 ` Eugene Ostapets
2004-04-09  5:14   ` Alexandr Rakhmanin
2004-04-09  5:22     ` Alexander Kuprin
2004-04-09  5:34       ` Alexandr Rakhmanin
2004-04-09  5:46         ` Alexandr Rakhmanin
2004-04-09  5:34       ` Alexander Kuprin
2004-04-09  5:54 ` Квашин Антон
2004-04-09  7:10   ` Alexandr Rakhmanin
2004-04-09  8:02     ` Квашин Антон
2004-04-09  9:04       ` Alexandr Rakhmanin [this message]
2004-04-09  8:11     ` Квашин Антон
2004-04-12  4:56     ` Квашин Антон

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=4076670A.4000307@rscenter.ru \
    --to=alex@rscenter.ru \
    --cc=community@altlinux.ru \
    --cc=non2002@inbox.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