[Comm] Postfix & procmail
=?iso-8859-1?q?=F3=C5=D2=C7=C5=CA_=F3=C9=CC=C1=CE=D4=D8=C5=D7?=
=?iso-8859-1?q?Serj_=CE=C1_Kmez=2ERu?=
Пт Мар 12 11:12:18 MSK 2004
Здравствуйте, Mike Lykov.
Отвечаю на Ваше сообщение "[Comm] Postfix & procmail" от 12.03.2004 12:27:
ML> procmail может писать логи.
Каким образом ? Вроде в лог пишет постфикс (как вывод от дочернего процесса).
ML> что там пишет?
Я приводил в первом письме. Повторю. Обратите внимание на последнюю строку.
Там есть ну очень любопытное имя файла при создании семафора...
В том месте где "procmail: Error while writing to"
>------------------------------------------------------------------------------
# cat /var/log/mail/all
...
postfix/smtpd[7294]: connect from copper.chel.su[192.168.200.9]
postfix/smtpd[7294]: 5B98F20906: client=copper.chel.su[192.168.200.9]
postfix/cleanup[7295]: 5B98F20906: message-id=<141578481532.20040311114335 на Kmez.Ru>
postfix/qmgr[3402]: 5B98F20906: from=<Serj на Kmez.Ru>, size=990, nrcpt=1 (queue active)
...
postfix/local[7297]: deliver_alias: hash:/etc/postfix/aliases: serj not found
postfix/local[7297]: deliver_dotforward[3]: local serj recip serj на new.copper.chel.su exten deliver serj на new.copper.chel.su exp_from
postfix/local[7297]: deliver_dotforward[3]: set user_attr: serj
postfix/local[7297]: mac_expand_callback: home = /home/serj
postfix/local[7297]: mac_expand_callback: /.forward = /.forward
postfix/local[7297]: mac_expand_callback: recipient_delimiter = (undef)
postfix/local[7297]: mac_expand_callback: extension = (undef)
postfix/local[7297]: mac_expand_callback: home = /home/serj
postfix/local[7297]: mac_expand_callback: /.forward = /.forward
postfix/local[7297]: set_eugid: euid 500 egid 500
postfix/local[7297]: set_eugid: euid 42 egid 42
postfix/local[7297]: deliver_dotforward: path /home/serj/.forward expand_status 0 look_status -1
postfix/local[7297]: deliver_mailbox[3]: local serj recip serj на new.copper.chel.su exten deliver serj на new.copper.chel.su exp_from
postfix/local[7297]: been_here: mailbox serj: 0
postfix/local[7297]: deliver_mailbox[3]: set user_attr: serj
postfix/local[7297]: deliver_command[4]: local serj recip serj на new.copper.chel.su exten deliver serj на new.copper.chel.su exp_from
postfix/local[7297]: been_here: command 500 /usr/bin/procmail -a $DOMAIN -d $LOGNAME: 0
postfix/local[7297]: connect to subsystem private/bounce
postfix/local[7297]: send attr nrequest = 0
postfix/local[7297]: send attr flags = 0
postfix/local[7297]: send attr queue_id = 5B98F20906
postfix/local[7297]: send attr recipient = serj на new.copper.chel.su
postfix/local[7297]: send attr reason = can't create user output file. Command output: procmail: Couldn't create "/var/spool/mail/serj" procmail: [7298] Thu Mar 11 16:40:35 2004 procmail: Executing "date,+%Y:%m:%d:%T" procmail: [7298] Thu Mar 11 16:40:35 2004 procmail: Assigning "DATETIME=2004:03:11:16:40:35" procmail: Assigning "PATH=/home/serj/bin:/bin:/usr/bin:/usr/local/bin" procmail: Locking "/var/spool/mail/serj.lock" procmail: [7298] Thu Mar 11 16:40:37 2004 procmail: Error while writing to "/var/spool/mail/_CyB,1AFUAB.new.copper.chel.s" procmail: Lock failure on "/var/spool/mail/serj.lock" procmail: Assigning "LASTFOLDER=/var/spool/mail/serj" procmail: Opening "/var/spool/mail/serj" procmail: Error while writing to "/var/spool/mail/serj" procmail: Notified comsat: "serj@:**Bounced**" From Serj на Kmez.Ru Thu Mar 11 16:40:33 2004 Subject: test 1 Folder: **Bounced** 0
...
>------------------------------------------------------------------------------
Ну, пока... Сергей Силантьев (MailTo:Serj на Kmez.Ru) ICQ:11144549
HTTP://WWW.KMEZ.RU 2:5010/53 на Fidonet
Подробная информация о списке рассылки community