- autoreply postfix, unk, 12:48 , 28-Апр-05 (1)
- autoreply postfix, pablo, 12:51 , 28-Апр-05 (2)
>>Спросьра разъяснить ситуацию. >Может покажите содержимое autoreply_script? Оно приведено в url на который я ссылался. Показываю: #!/bin/sh /usr/sbin/sendmail -f $1 $2 cat /usr/local/etc/postfix/autoreply.msg | /usr/bin/mail -s Notify $1
- autoreply postfix, unk, 13:04 , 28-Апр-05 (3)
- autoreply postfix, pablo, 13:09 , 28-Апр-05 (4)
>>#!/bin/sh >>/usr/sbin/sendmail -f $1 $2 >Вот тут скрипт и ждет ввода... Я понимаю :) Я просил дать решение которое бы помогло решить проблему с автоответом. Пробовал несколько вариантов, однако просветление не наступило....
- autoreply postfix, unk, 13:13 , 28-Апр-05 (5)
- autoreply postfix, pablo, 13:33 , 28-Апр-05 (6)
Только что еще раз специально проверил. В логах следующее:Apr 28 12:30:34 melatonin postfix/smtpd[9392]: NOQUEUE: filter: RCPT from f32.mail.ru[194.67.57.71]: <testing1@mydomain>: Recipient address triggers FILTER redirect:; from=<my_web_mail@mail.ru> to=<testing1@mydomain> proto=ESMTP helo=<f32.mail.ru> Apr 28 12:30:35 melatonin postfix/qmgr[9366]: warning: premature end-of-input on private/redirect socket while reading input attribute name Apr 28 12:30:35 melatonin postfix/master[8937]: warning: process /usr/local/libexec/postfix/pipe pid 9722 exit status 1 Apr 28 12:30:35 melatonin postfix/master[8937]: warning: /usr/local/libexec/postfix/pipe: bad command startup -- throttling Apr 28 12:30:35 melatonin postfix/qmgr[9366]: warning: private/redirect socket: malformed response Apr 28 12:30:35 melatonin postfix/qmgr[9366]: warning: transport redirect failure -- see a previous warning/fatal/panic logfile record for the problem description >>Я понимаю :) >Этот скрипт, вполне рабочий.:) > >>Я просил дать решение которое бы помогло решить проблему с автоответом. >>Пробовал несколько вариантов, однако просветление не наступило.... >Дайте скрипту письмо на stdin
- autoreply postfix, unk, 14:06 , 28-Апр-05 (7)
- autoreply postfix, pablo, 15:11 , 28-Апр-05 (8)
>>Только что еще раз специально проверил. >>В логах следующее: >В master.cf транспорт криво прописали... Да вроде все правильно: redirect unix - n n - - pipe flags=R user=autoreply argv=/usr/local/etc/postfix/autoreply_script ${sender} ${recipient}При этом все равно в логах: Apr 28 14:02:19 melatonin postfix/smtpd[15474]: NOQUEUE: filter: RCPT from f17.mail.ru[194.67.57.47]: <testing1@mydomain>: Recipient address triggers FILTER redirect:; from=<my_web_mail@mail.ru> to=<testing1@mydomain> proto=ESMTP helo=<f17.mail.ru> Apr 28 14:02:21 melatonin postfix/qmgr[13704]: warning: premature end-of-input on private/redirect socket while reading input attribute name Apr 28 14:02:21 melatonin postfix/master[8937]: warning: process /usr/local/libexec/postfix/pipe pid 16258 exit status 1 Apr 28 14:02:21 melatonin postfix/master[8937]: warning: /usr/local/libexec/postfix/pipe: bad command startup -- throttling Apr 28 14:02:21 melatonin postfix/qmgr[13704]: warning: private/redirect socket: malformed response Apr 28 14:02:21 melatonin postfix/qmgr[13704]: warning: transport redirect failure -- see a previous warning/fatal/panic logfile record for the problem description >PS: скрипт 100% рабочий >PPS: что-то местная рассылка сегодня тормозит по черному...
- autoreply postfix, unk, 15:17 , 28-Апр-05 (9)
- autoreply postfix, pablo, 15:23 , 28-Апр-05 (10)
>>redirect unix - n >> n >> - - >> pipe flags=R user=autoreply argv=/usr/local/etc/postfix/autoreply_script ${sender} ${recipient} >пользователь autoreply существует? >пути верные? права на скрипт? и.т.д Врoде все проверял: Пользователь есть. Права. [pablo@melatonin ~] ls -la /usr/local/etc/postfix/autoreply_script -rwxr-xr-x 1 root wheel 349 Apr 28 12:15 /usr/local/etc/postfix/autoreply_script Соответственно: [pablo@melatonin ~] cat /usr/local/etc/postfix/autoreply_script #!/bin/sh /usr/sbin/sendmail -f $1 $2 cat /usr/local/etc/postfix/autoreply.msg | /usr/bin/mail -s Notify $1 [pablo@melatonin ~] ls -la /usr/sbin/sendmail /usr/local/etc/postfix/autoreply.msg /usr/bin/mail -r-xr-xr-x 3 root wheel 70664 Mar 20 18:08 /usr/bin/mail -rw-r--r-- 1 root wheel 21 Apr 28 10:34 /usr/local/etc/postfix/autoreply.msg lrwxr-xr-x 1 root wheel 21 Mar 20 18:09 /usr/sbin/sendmail -> /usr/sbin/mailwrapper Что еще проверить?
- autoreply postfix, unk, 15:26 , 28-Апр-05 (11)
- autoreply postfix, pablo, 15:53 , 28-Апр-05 (12)
>>Что еще проверить? >Странно - мне не воспроизвести - работает.... >Поставьте -v для pipe в master.cf Поставил, результат ниже. Какой пользователь должен быть в в параметре user= ? Системный или почтовый из mysql? Apr 28 14:39:45 melatonin postfix/smtpd[18830]: connect from f6.mail.ru[194.67.57.36] Apr 28 14:39:45 melatonin postfix/smtpd[18830]: NOQUEUE: filter: RCPT from f6.mail.ru[194.67.57.36]: <testing1@mydomain>: Recipient address triggers FILTER redirect:; from=<my_web_mail@mail.ru> to=<testing1@mydomain> proto=ESMTP helo=<f6.mail.ru> Apr 28 14:39:45 melatonin postfix/smtpd[18830]: A860D339CF4: client=f6.mail.ru[194.67.57.36] Apr 28 14:39:46 melatonin postfix/cleanup[18783]: A860D339CF4: message-id=<E1DR7Mu-0006sy-00.my_web_mail-mail-ru@f6.mail.ru> Apr 28 14:39:46 melatonin postfix/qmgr[18777]: A860D339CF4: from=<my_web_mail@mail.ru>, size=1156, nrcpt=1 (queue active) Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const mail Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const ipv4 Apr 28 14:39:46 melatonin postfix/pipe[18856]: name_mask: ipv4 Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const melatonin.mydomain Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const mydomain Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const Postfix Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const postfix Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const postfix Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const maildrop Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: expand $myhostname, localhost.$mydomain -> melatonin.mydomain, localhost.mydomain Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: expand $mydomain -> mydomain Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const /usr/local/libexec/postfix Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const /usr/local/sbin Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const /var/spool/postfix Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const pid Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const all Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const double-bounce Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const nobody Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const hash:/etc/aliases Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const 20050401 Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const 2.2.2 Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const hash Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const deferred, defer Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: expand $mydestination -> melatonin.mydomain, localhost.mydomain Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: expand $relay_domains -> melatonin.mydomain, localhost.mydomain Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const TZ MAIL_CONFIG Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const MAIL_CONFIG MAIL_DEBUG MAIL_LOGTAG TZ XAUTHORITY DISPLAY Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const subnet Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const += Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const -=+ Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const debug_peer_list,fast_flush_domains,mynetworks,permit_mx_backup_networks,qmqpd_authorized_clients,relay_domains,smtpd_access_maps Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const bounce Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const cleanup Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const defer Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const pickup Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const qmgr Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const rewrite Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const showq Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const error Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const flush Apr 28 14:39:46 melatonin postfix/pipe[18856]: dict_eval: const verify Apr 28 14:39:46 melatonin postfix/pipe[18856]: match_string: fast_flush_domains ~? debug_peer_list Apr 28 14:39:46 melatonin postfix/pipe[18856]: match_string: fast_flush_domains ~? fast_flush_domains Apr 28 14:39:46 melatonin postfix/pipe[18856]: set_eugid: euid 1001 egid 1001 Apr 28 14:39:46 melatonin postfix/pipe[18856]: connection established Apr 28 14:39:46 melatonin postfix/pipe[18856]: master_notify: status 0 Apr 28 14:39:46 melatonin postfix/pipe[18856]: deliver_request_initial: send initial status Apr 28 14:39:46 melatonin postfix/pipe[18856]: send attr status = 0 Apr 28 14:39:46 melatonin postfix/pipe[18856]: redirect socket: wanted attribute: flags Apr 28 14:39:46 melatonin postfix/pipe[18856]: input attribute name: flags Apr 28 14:39:46 melatonin postfix/pipe[18856]: input attribute value: 3 Apr 28 14:39:46 melatonin postfix/pipe[18856]: redirect socket: wanted attribute: queue_name Apr 28 14:39:46 melatonin postfix/pipe[18856]: input attribute name: queue_name Apr 28 14:39:46 melatonin postfix/pipe[18856]: input attribute value: active Apr 28 14:39:46 melatonin postfix/pipe[18856]: redirect socket: wanted attribute: queue_id Apr 28 14:39:46 melatonin postfix/pipe[18856]: input attribute name: queue_id Apr 28 14:39:46 melatonin postfix/pipe[18856]: input attribute value: A860D339CF4 Apr 28 14:39:46 melatonin postfix/pipe[18856]: redirect socket: wanted attribute: offset Apr 28 14:39:46 melatonin postfix/pipe[18856]: input attribute name: offset Apr 28 14:39:46 melatonin postfix/pipe[18856]: input attribute value: 332 Apr 28 14:39:46 melatonin postfix/pipe[18856]: redirect socket: wanted attribute: size Apr 28 14:39:46 melatonin postfix/pipe[18856]: input attribute name: size Apr 28 14:39:46 melatonin postfix/pipe[18856]: input attribute value: 1156 Apr 28 14:39:46 melatonin postfix/pipe[18856]: redirect socket: wanted attribute: nexthop Apr 28 14:39:46 melatonin postfix/pipe[18856]: input attribute name: nexthop Apr 28 14:39:46 melatonin postfix/pipe[18856]: input attribute value: melatonin.mydomain Apr 28 14:39:46 melatonin postfix/pipe[18856]: redirect socket: wanted attribute: encoding Apr 28 14:39:46 melatonin postfix/pipe[18856]: input attribute name: encoding Apr 28 14:39:46 melatonin postfix/pipe[18856]: input attribute value: 8bit Apr 28 14:39:46 melatonin postfix/pipe[18856]: redirect socket: wanted attribute: sender Apr 28 14:39:46 melatonin postfix/pipe[18856]: input attribute name: sender Apr 28 14:39:46 melatonin postfix/pipe[18856]: input attribute value: my_web_mail@mail.ru Apr 28 14:39:46 melatonin postfix/pipe[18856]: redirect socket: wanted attribute: errors-to Apr 28 14:39:46 melatonin postfix/pipe[18856]: input attribute name: errors-to Apr 28 14:39:46 melatonin postfix/pipe[18856]: input attribute value: my_web_mail@mail.ru Apr 28 14:39:46 melatonin postfix/pipe[18856]: redirect socket: wanted attribute: return-receipt Apr 28 14:39:46 melatonin postfix/pipe[18856]: input attribute name: return-receipt Apr 28 14:39:46 melatonin postfix/pipe[18856]: input attribute value: (end) Apr 28 14:39:46 melatonin postfix/pipe[18856]: redirect socket: wanted attribute: time Apr 28 14:39:46 melatonin postfix/pipe[18856]: input attribute name: time Apr 28 14:39:46 melatonin postfix/pipe[18856]: input attribute value: 1114688385 Apr 28 14:39:46 melatonin postfix/pipe[18856]: redirect socket: wanted attribute: client_name Apr 28 14:39:46 melatonin postfix/pipe[18856]: input attribute name: client_name Apr 28 14:39:46 melatonin postfix/pipe[18856]: input attribute value: f6.mail.ru Apr 28 14:39:46 melatonin postfix/pipe[18856]: redirect socket: wanted attribute: client_address Apr 28 14:39:46 melatonin postfix/pipe[18856]: input attribute name: client_address Apr 28 14:39:46 melatonin postfix/pipe[18856]: input attribute value: 194.67.57.36 Apr 28 14:39:46 melatonin postfix/pipe[18856]: redirect socket: wanted attribute: protocol_name Apr 28 14:39:46 melatonin postfix/pipe[18856]: input attribute name: protocol_name Apr 28 14:39:46 melatonin postfix/pipe[18856]: redirect socket: wanted attribute: sasl_method Apr 28 14:39:46 melatonin postfix/pipe[18856]: input attribute value: (end) Apr 28 14:39:46 melatonin postfix/pipe[18856]: deliver_request_get: file active/A860D339CF4 Apr 28 14:39:46 melatonin postfix/pickup[18776]: 46A94339EAA: uid=107 from=<my_web_mail@mail.ru> Apr 28 14:39:46 melatonin postfix/smtpd[18830]: disconnect from f6.mail.ru[194.67.57.36] Apr 28 14:39:46 melatonin postfix/cleanup[18783]: 46A94339EAA: message-id=<E1DR7Mu-0006sy-00.my_web_mail-mail-ru@f6.mail.ru>
- autoreply postfix, unk, 16:01 , 28-Апр-05 (13)
- autoreply postfix, Yukh, 13:46 , 19-Июн-06 (14)
|