The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

форумы  помощь  поиск  регистрация  майллист  ВХОД  слежка  RSS
"Postfix: Получение почты для локальных пользователей."
Вариант для распечатки Архивированная нить - только для чтения! 
Пред. тема | След. тема 
Форумы OpenNET: Виртуальная конференция (Public)
Изначальное сообщение [Проследить за развитием треда]

"Postfix: Получение почты для локальных пользователей."
Сообщение от Aupof Искать по авторуВ закладки on 16-Мрт-05, 17:03  (MSK)
См тему
https://www.opennet.ru/openforum/vsluhforumID1/53963.html#57

Уважаемый unk, вы сказали, что локальная почта должна будет доходить потому что используется sendmail. Но у меня sendmail выключен, т.е. следуя инструкции по установке postfix я сделал следующее:

    1) изменил /etc/mail/mailer.conf

    sendmail        /usr/local/sbin/sendmail
    send-mail       /usr/local/sbin/sendmail
    mailq           /usr/local/sbin/sendmail
    newaliases      /usr/local/sbin/sendmail

    2) добавил в /etc/make.conf строку NO_SENDMAIL=true

    3) добавил в /etc/rc.conf sendmail_enable="NONE"

    я могу включить sendmail?? Они разве не "подеруться" с postfix за 25 порт?
    Мне всего лишь надо чтобы я мог получать ежедневные отчеты-сообщения от системы.

  Рекомендовать в FAQ | Cообщить модератору | Наверх

 Оглавление

Индекс форумов | Темы | Пред. тема | След. тема
Сообщения по теме

1. "Postfix: Получение почты для локальных пользователей."
Сообщение от jonatan Искать по авторуВ закладки(??) on 16-Мрт-05, 17:14  (MSK)
man sendmail
                                                                  SENDMAIL(1)

NAME
       sendmail - Postfix to Sendmail compatibility interface
...

DESCRIPTION
       The  Postfix  sendmail  command  implements the Postfix to Sendmail compatibility interface.
       For the sake of compatibility with existing applications, some Sendmail command-line options
       are recognized but silently ignored.

       By default, Postfix sendmail reads a message from standard input until EOF or until it reads
       a line with only a . character, and arranges for delivery.  Postfix sendmail relies  on  the
       postdrop(1) command to create a queue file in the maildrop directory.

  Рекомендовать в FAQ | Cообщить модератору | Наверх

2. "Postfix: Получение почты для локальных пользователей."
Сообщение от Aupof Искать по авторуВ закладки on 16-Мрт-05, 17:49  (MSK)
ну и какое это отношение имеет к моему вопросу?
  Рекомендовать в FAQ | Cообщить модератору | Наверх

3. "Postfix: Получение почты для локальных пользователей."
Сообщение от jonatan Искать по авторуВ закладки(??) on 16-Мрт-05, 17:57  (MSK)
>ну и какое это отношение имеет к моему вопросу?
Это имеет отношение вот к этому:
>я могу включить sendmail?? Они разве не "подеруться" с postfix за 25 порт?
  Рекомендовать в FAQ | Cообщить модератору | Наверх

4. "Postfix: Получение почты для локальных пользователей."
Сообщение от Aupof Искать по авторуВ закладки on 16-Мрт-05, 18:40  (MSK)
>>ну и какое это отношение имеет к моему вопросу?
>Это имеет отношение вот к этому:
>>я могу включить sendmail?? Они разве не "подеруться" с postfix за 25 порт?

речь идет не о том котороый для совместимости а про настоящий

  Рекомендовать в FAQ | Cообщить модератору | Наверх

5. "Postfix: Получение почты для локальных пользователей."
Сообщение от unk Искать по авторуВ закладки(ok) on 17-Мрт-05, 08:01  (MSK)
>Уважаемый unk, вы сказали, что локальная почта должна будет доходить потому что
>используется sendmail. Но у меня sendmail выключен, т.е. следуя
Перечитайте внимательно. Я говорил о sendmail(1). Вы отключили sendmail(8).


>    Мне всего лишь надо чтобы я мог получать
>ежедневные отчеты-сообщения от системы.
Как вам уже говорили (минимум 3 раза), для этого в *nix системах принято использовать sendmail(1).

  Рекомендовать в FAQ | Cообщить модератору | Наверх

6. "Postfix: Получение почты для локальных пользователей."
Сообщение от Aupof Искать по авторуВ закладки on 17-Мрт-05, 12:39  (MSK)
>>Уважаемый unk, вы сказали, что локальная почта должна будет доходить потому что
>>используется sendmail. Но у меня sendmail выключен, т.е. следуя
>Перечитайте внимательно. Я говорил о sendmail(1). Вы отключили sendmail(8).
>
>
>>    Мне всего лишь надо чтобы я мог получать
>>ежедневные отчеты-сообщения от системы.
>Как вам уже говорили (минимум 3 раза), для этого в *nix системах
>принято использовать sendmail(1).

Все верно, я сделал именно так как вы и советовали, однако же почта от системы для чарли рута не доходит.

  Рекомендовать в FAQ | Cообщить модератору | Наверх

7. "Postfix: Получение почты для локальных пользователей."
Сообщение от unk Искать по авторуВ закладки(ok) on 17-Мрт-05, 18:35  (MSK)
>Все верно, я сделал именно так как вы и советовали, однако же
>почта от системы для чарли рута не доходит.
Покажите лог postfix на команду sendmail -bm <message

  Рекомендовать в FAQ | Cообщить модератору | Наверх

8. "Postfix: Получение почты для локальных пользователей."
Сообщение от Squrt Искать по авторуВ закладки on 17-Мрт-05, 18:49  (MSK)
>>Все верно, я сделал именно так как вы и советовали, однако же
>>почта от системы для чарли рута не доходит.
>Покажите лог postfix на команду sendmail -bm <message

Mar 17 18:45:39 server1 postfix/pickup[10801]: 4167F14D853: uid=0 from=<root>
Mar 17 18:45:39 server1 postfix/cleanup[10848]: 4167F14D853: message-id=<20050317154539.4167F14D853@server1.domen.local>
Mar 17 18:45:39 server1 postfix/cleanup[10848]: 4167F14D853: to=<unknown>, relay=none, delay=0, status=bounced (No recipients specified)
Mar 17 18:45:39 server1 postfix/cleanup[10851]: 465B214D860: message-id=<20050317154539.465B214D860@server1.domen.local>
Mar 17 18:45:39 server1 postfix/qmgr[487]: 465B214D860: from=<>, size=2008, nrcpt=1 (queue active)
Mar 17 18:45:39 server1 postfix/pipe[10853]: 465B214D860: to=<mailroot@server1.domain.local>, orig_to=<root@server1.domain.local>, relay=cyrus, delay=0, status=bounced (data format error. Command output: mailroot: Mailbox does not exist )
Mar 17 18:45:39 server1 postfix/qmgr[487]: 465B214D860: removed

ящик mailroot в cyrus есть, ящика рута нету

  Рекомендовать в FAQ | Cообщить модератору | Наверх

9. "Postfix: Получение почты для локальных пользователей."
Сообщение от unk Искать по авторуВ закладки(ok) on 17-Мрт-05, 18:52  (MSK)
>Mar 17 18:45:39 server1 postfix/pipe[10853]: 465B214D860: to=<mailroot@server1.domain.local>, orig_to=<root@server1.domain.local>, relay=cyrus, delay=0, status=bounced (data format error. Command output: mailroot: Mailbox does not exist )
>Mar 17 18:45:39 server1 postfix/qmgr[487]: 465B214D860: removed
>ящик mailroot в cyrus есть, ящика рута нету
Транспорт "cyrus" из master.cf с вами не согласен.
  Рекомендовать в FAQ | Cообщить модератору | Наверх

10. "Postfix: Получение почты для локальных пользователей."
Сообщение от Squrt Искать по авторуВ закладки on 17-Мрт-05, 18:55  (MSK)
>>Mar 17 18:45:39 server1 postfix/pipe[10853]: 465B214D860: to=<mailroot@server1.domain.local>, orig_to=<root@server1.domain.local>, relay=cyrus, delay=0, status=bounced (data format error. Command output: mailroot: Mailbox does not exist )
>>Mar 17 18:45:39 server1 postfix/qmgr[487]: 465B214D860: removed
>>ящик mailroot в cyrus есть, ящика рута нету
>Транспорт "cyrus" из master.cf с вами не согласен.

master.cf

#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# maildrop. See the Postfix MAILDROP_README file for details.
#
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
#
# The Cyrus deliver program has changed incompatibly, multiple times.
#
old-cyrus unix  -       n       n       -       -       pipe
  flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
cyrus     unix  -       n       n       -       -       pipe
  flags=Ru user=cyrus argv=/usr/local/cyrus/bin/deliver -e -m ${extension} ${user}
uucp      unix  -       n       n       -       -       pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail    unix  -       n       n       -       -       pipe
  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
  flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient

  Рекомендовать в FAQ | Cообщить модератору | Наверх

11. "Postfix: Получение почты для локальных пользователей."
Сообщение от unk Искать по авторуВ закладки(ok) on 17-Мрт-05, 19:05  (MSK)
>>>Mar 17 18:45:39 server1 postfix/pipe[10853]: 465B214D860: to=<mailroot@server1.domain.local>, orig_to=<root@server1.domain.local>, relay=cyrus, delay=0, status=bounced (data format error. Command output: mailroot: Mailbox does not exist )
>>>Mar 17 18:45:39 server1 postfix/qmgr[487]: 465B214D860: removed
>>>ящик mailroot в cyrus есть, ящика рута нету
>>Транспорт "cyrus" из master.cf с вами не согласен.
>master.cf
Вроде нормально...
Акаунт mailroot точно существует?
  Рекомендовать в FAQ | Cообщить модератору | Наверх

12. "Postfix: Получение почты для локальных пользователей."
Сообщение от Squrt Искать по авторуВ закладки on 17-Мрт-05, 19:07  (MSK)
>>>>Mar 17 18:45:39 server1 postfix/pipe[10853]: 465B214D860: to=<mailroot@server1.domain.local>, orig_to=<root@server1.domain.local>, relay=cyrus, delay=0, status=bounced (data format error. Command output: mailroot: Mailbox does not exist )
>>>>Mar 17 18:45:39 server1 postfix/qmgr[487]: 465B214D860: removed
>>>>ящик mailroot в cyrus есть, ящика рута нету
>>>Транспорт "cyrus" из master.cf с вами не согласен.
>>master.cf
>Вроде нормально...
>Акаунт mailroot точно существует?

# cyradm -u admin localhost
Please enter your password:
localhost.domain.local> lm
mailroot              user.q3             user.md-out
user.exam-2           user.md-13
user.exam-1           user.md-in

  Рекомендовать в FAQ | Cообщить модератору | Наверх

13. "Postfix: Получение почты для локальных пользователей."
Сообщение от unk Искать по авторуВ закладки(ok) on 17-Мрт-05, 19:22  (MSK)
Я плохо помню cyrus, проверьте ACL на этот ящик.
Со стороны postfix у вас все вроде чисто...


  Рекомендовать в FAQ | Cообщить модератору | Наверх

14. "Postfix: Получение почты для локальных пользователей."
Сообщение от Squrt Искать по авторуВ закладки on 17-Мрт-05, 19:26  (MSK)
>Я плохо помню cyrus, проверьте ACL на этот ящик.
>Со стороны postfix у вас все вроде чисто...


lam mailroot
anyone lrs

  Рекомендовать в FAQ | Cообщить модератору | Наверх

15. "Postfix: Получение почты для локальных пользователей."
Сообщение от unk Искать по авторуВ закладки(ok) on 17-Мрт-05, 19:37  (MSK)
>>Я плохо помню cyrus, проверьте ACL на этот ящик.
>>Со стороны postfix у вас все вроде чисто...
>lam mailroot
>anyone lrs
Кажется для deliver нужно "p".


  Рекомендовать в FAQ | Cообщить модератору | Наверх

16. "Postfix: Получение почты для локальных пользователей."
Сообщение от Aupof Искать по авторуВ закладки on 22-Мрт-05, 12:12  (MSK)
>>>Я плохо помню cyrus, проверьте ACL на этот ящик.
>>>Со стороны postfix у вас все вроде чисто...
>>lam mailroot
>>anyone lrs
>Кажется для deliver нужно "p".

Я выставил права на anyone all на этот ящик, но все равно в попытке системы отправить служебные сообщения руту в логах следующее:


Mar 22 03:01:05 server1 postfix/pickup[25099]: 0B12014D860: uid=0 from=<root>
Mar 22 03:01:05 server1 postfix/cleanup[25405]: 0B12014D860: message-id=<20050322000105.0B12014D860@server1.domen.local>
Mar 22 03:01:05 server1 postfix/qmgr[23762]: 0B12014D860: from=<root@server1.domen.local>, size=868, nrcpt=1 (queue active)
Mar 22 03:01:05 server1 postfix/pipe[25425]: 0B12014D860: to=<mailroot@server1.domen.local>, orig_to=<root>, relay=cyrus, delay=0, status=bounced (data format error. Command output: mailroot: Mailbox does not exist )
Mar 22 03:01:05 server1 postfix/qmgr[23762]: 0B12014D860: removed

Mar 22 03:01:05 server1 postfix/pickup[25099]: 2F91E14D883: uid=0 from=<root>
Mar 22 03:01:05 server1 postfix/cleanup[25405]: 2F91E14D883: message-id=<20050322000105.2F91E14D883@server1.domen.local>
Mar 22 03:01:05 server1 postfix/qmgr[23762]: 2F91E14D883: from=<root@server1.domen.local>, size=2244, nrcpt=1 (queue active)
Mar 22 03:01:05 server1 postfix/pipe[25457]: 2F91E14D883: to=<mailroot@server1.domen.local>, orig_to=<root>, relay=cyrus, delay=0, status=bounced (data format error. Command output: mailroot: Mailbox does not exist )
Mar 22 03:01:05 server1 postfix/qmgr[23762]: 2F91E14D883: removed

Конфиги еще раз

# postconf -n
alias_database = hash:/usr/local/etc/postfix/aliases
alias_maps = hash:/usr/local/etc/postfix/aliases
allow_mail_to_commands = alias
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
daemon_directory = /usr/local/libexec/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
local_recipient_maps = hash:/usr/local/etc/postfix/local_recipient
mail_owner = postfix
mailbox_transport = cyrus
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
mydomain = domen.local
myhostname = server1.domen.local
mynetworks = 172.16.0.0/16, 127.0.0.0/8
mynetworks_style = subnet
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relay_domains =
sample_directory = /usr/local/etc/postfix
sender_bcc_maps = hash:/usr/local/etc/postfix/sender_bcc
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
smtpd_delay_reject = no
smtpd_recipient_restrictions = reject_sender_login_mismatch, permit_sasl_authenticated, reject
smtpd_sasl_application_name = smtpd
smtpd_sasl_auth_enable = yes
smtpd_sender_login_maps = hash:/usr/local/etc/postfix/login_map
transport_maps = hash:/usr/local/etc/postfix/transport
unknown_local_recipient_reject_code = 550


# cat local_recipient
exam-ser@domen.local ok
exam-out@domen.local ok
md-in@domen.local    ok
md-out@domen.local   ok
postmaster@localhost    ok
mailroot@server1.domen.local   ok

# cat login_map
exam-out@domen.local exam-out
exam-ser@domen.local exam-ser
md-in@domen.local    md-in
md-out@domen.local   md-out
postmaster@localhost    postmaster
mailroot@server1.domen.local   mailroot

# cat aliases
MAILER-DAEMON:  postmaster
postmaster:     root

  Рекомендовать в FAQ | Cообщить модератору | Наверх

17. "Postfix: Получение почты для локальных пользователей."
Сообщение от Aupof Искать по авторуВ закладки on 22-Мрт-05, 12:13  (MSK)
Извиняюсь,
# сat aliases
# Person who should get root's mail. Don't receive mail as root!
root:           mailroot

# Basic system aliases -- these MUST be present
MAILER-DAEMON:  postmaster
postmaster:     root

# General redirections for pseudo accounts
bin:            root
daemon:         root
named:          root
nobody:         root
uucp:           root
www:            root
ftp-bugs:       root
postfix:        root

# Put your local aliases here.

# Well-known aliases
manager:        root
dumper:         root
operator:       root
abuse:          postmaster

# trap decode to catch security attacks
decode:         root

  Рекомендовать в FAQ | Cообщить модератору | Наверх

18. "Postfix: Получение почты для локальных пользователей."
Сообщение от unk Искать по авторуВ закладки(ok) on 22-Мрт-05, 13:37  (MSK)
>>Кажется для deliver нужно "p".
>Я выставил права на anyone all на этот ящик, но все равно
>в попытке системы отправить служебные сообщения руту в логах следующее:
Ох...
Ну покажите еще раз транспорт cyrus из master.cf и 20 последних строк лога pipe(8) запущенного с ключиком "-v" для этого транспорта.
  Рекомендовать в FAQ | Cообщить модератору | Наверх

19. "Postfix: Получение почты для локальных пользователей."
Сообщение от Aupof Искать по авторуВ закладки on 22-Мрт-05, 14:05  (MSK)
>>>Кажется для deliver нужно "p".
>>Я выставил права на anyone all на этот ящик, но все равно
>>в попытке системы отправить служебные сообщения руту в логах следующее:
>Ох...
>Ну покажите еще раз транспорт cyrus из master.cf и 20 последних строк
>лога pipe(8) запущенного с ключиком "-v" для этого транспорта.


#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# maildrop. See the Postfix MAILDROP_README file for details.
#
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
#
# The Cyrus deliver program has changed incompatibly, multiple times.
#
old-cyrus unix  -       n       n       -       -       pipe
  flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
cyrus     unix  -       n       n       -       -       pipe
  flags=Ru user=cyrus argv=/usr/local/cyrus/bin/deliver -e -m ${extension} ${user}
uucp      unix  -       n       n       -       -       pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail    unix  -       n       n       -       -       pipe
  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
  flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient

# sendmail -bm < message
# cat /var/log/maillog

Mar 22 14:01:15 server1 postfix/postfix-script: refreshing the Postfix mail system
Mar 22 14:01:15 server1 postfix/master[479]: reload configuration
Mar 22 14:01:20 server1 postfix/pickup[26907]: 0300414D860: uid=0 from=<root>
Mar 22 14:01:20 server1 postfix/cleanup[26912]: 0300414D860: message-id=<20050322110119.0300414D860@server1.server1.local>
Mar 22 14:01:20 server1 postfix/cleanup[26912]: 0300414D860: to=<unknown>, relay=none, delay=1, status=bounced (No recipients specified)
Mar 22 14:01:20 server1 postfix/cleanup[26915]: 0815C14D885: message-id=<20050322110120.0815C14D885@server1.server1.local>
Mar 22 14:01:20 server1 postfix/qmgr[26908]: 0815C14D885: from=<>, size=2008, nrcpt=1 (queue active)
Mar 22 14:01:20 server1 postfix/pipe[26917]: match_string: fast_flush_domains ~? debug_peer_list
Mar 22 14:01:20 server1 postfix/pipe[26917]: match_string: fast_flush_domains ~? fast_flush_domains
Mar 22 14:01:20 server1 postfix/pipe[26917]: set_eugid: euid 125 egid 125
Mar 22 14:01:20 server1 postfix/pipe[26917]: watchdog_create: 0x806ad08 18000
Mar 22 14:01:20 server1 postfix/pipe[26917]: watchdog_stop: 0x806ad08
Mar 22 14:01:20 server1 postfix/pipe[26917]: watchdog_start: 0x806ad08
Mar 22 14:01:20 server1 postfix/pipe[26917]: connection established
Mar 22 14:01:20 server1 postfix/pipe[26917]: master_notify: status 0
Mar 22 14:01:20 server1 postfix/pipe[26917]: deliver_request_initial: send initial status
Mar 22 14:01:20 server1 postfix/pipe[26917]: send attr status = 0
Mar 22 14:01:20 server1 postfix/pipe[26917]: cyrus socket: wanted attribute: flags
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute name: flags
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute value: 3
Mar 22 14:01:20 server1 postfix/pipe[26917]: cyrus socket: wanted attribute: queue_name
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute name: queue_name
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute value: active
Mar 22 14:01:20 server1 postfix/pipe[26917]: cyrus socket: wanted attribute: queue_id
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute name: queue_id
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute value: 0815C14D885
Mar 22 14:01:20 server1 postfix/pipe[26917]: cyrus socket: wanted attribute: offset
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute name: offset
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute value: 172
Mar 22 14:01:20 server1 postfix/pipe[26917]: cyrus socket: wanted attribute: size
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute name: size
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute value: 2008
Mar 22 14:01:20 server1 postfix/pipe[26917]: cyrus socket: wanted attribute: nexthop
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute name: nexthop
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute value: server1.domen.local
Mar 22 14:01:20 server1 postfix/pipe[26917]: cyrus socket: wanted attribute: encoding
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute name: encoding
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute value: (end)
Mar 22 14:01:20 server1 postfix/pipe[26917]: cyrus socket: wanted attribute: sender
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute name: sender
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute value: (end)
Mar 22 14:01:20 server1 postfix/pipe[26917]: cyrus socket: wanted attribute: errors-to
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute name: errors-to
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute value: (end)
Mar 22 14:01:20 server1 postfix/pipe[26917]: cyrus socket: wanted attribute: return-receipt
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute name: return-receipt
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute value: (end)
Mar 22 14:01:20 server1 postfix/pipe[26917]: cyrus socket: wanted attribute: time
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute name: time
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute value: 1111489280
Mar 22 14:01:20 server1 postfix/pipe[26917]: cyrus socket: wanted attribute: client_name
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute name: client_name
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute value: (end)
Mar 22 14:01:20 server1 postfix/pipe[26917]: cyrus socket: wanted attribute: client_address
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute name: client_address
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute value: (end)
Mar 22 14:01:20 server1 postfix/pipe[26917]: cyrus socket: wanted attribute: protocol_name
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute name: protocol_name
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute value: (end)
Mar 22 14:01:20 server1 postfix/pipe[26917]: cyrus socket: wanted attribute: helo_name
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute name: helo_name
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute value: (end)
Mar 22 14:01:20 server1 postfix/pipe[26917]: connect to subsystem private/rewrite
Mar 22 14:01:20 server1 postfix/pipe[26917]: send attr request = rewrite
Mar 22 14:01:20 server1 postfix/pipe[26917]: send attr rule = canonicalize
Mar 22 14:01:20 server1 postfix/pipe[26917]: send attr address = MAILER-DAEMON
Mar 22 14:01:20 server1 postfix/pipe[26917]: private/rewrite socket: wanted attribute: address
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute name: address
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute value: MAILER-DAEMON@server1.domen.local
Mar 22 14:01:20 server1 postfix/pipe[26917]: private/rewrite socket: wanted attribute: (list terminator)
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute name: (end)
Mar 22 14:01:20 server1 postfix/pipe[26917]: rewrite_clnt: canonicalize: MAILER-DAEMON -> MAILER-DAEMON@server1.domen.local
Mar 22 14:01:20 server1 postfix/pipe[26917]: get_service_params: time_limit 1000
Mar 22 14:01:20 server1 postfix/pipe[26917]: get_service_attr: uid 60, gid 60, flags 65552, size 0
Mar 22 14:01:20 server1 postfix/pipe[26917]: connect to subsystem private/bounce
Mar 22 14:01:20 server1 postfix/pipe[26917]: send attr nrequest = 0
Mar 22 14:01:20 server1 postfix/pipe[26917]: send attr flags = 0
Mar 22 14:01:20 server1 postfix/pipe[26917]: send attr queue_id = 0815C14D885
Mar 22 14:01:20 server1 postfix/pipe[26917]: send attr original_recipient = root@server1.domen.local
Mar 22 14:01:20 server1 postfix/pipe[26917]: send attr recipient = mailroot@server1.domen.local
Mar 22 14:01:20 server1 postfix/pipe[26917]: send attr offset = 4294967295
Mar 22 14:01:20 server1 postfix/pipe[26917]: send attr status = 5.0.0
Mar 22 14:01:20 server1 postfix/pipe[26917]: send attr action = failed
Mar 22 14:01:20 server1 postfix/pipe[26917]: send attr reason = data format error. Command output: mailroot: Mailbox does not exist
Mar 22 14:01:20 server1 postfix/pipe[26917]: private/bounce socket: wanted attribute: status
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute name: status
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute value: 0
Mar 22 14:01:20 server1 postfix/pipe[26917]: private/bounce socket: wanted attribute: (list terminator)
Mar 22 14:01:20 server1 postfix/pipe[26917]: input attribute name: (end)
Mar 22 14:01:20 server1 postfix/pipe[26917]: 0815C14D885: to=<mailroot@server1.domen.local>, orig_to=<root@server1.domen.local>, relay=cyrus, delay=0, status=bounced (data format error. Command output: mailroot: Mailbox does not exist )
Mar 22 14:01:20 server1 postfix/pipe[26917]: deliver_request_final: send: "" 0
Mar 22 14:01:20 server1 postfix/pipe[26917]: send attr reason =
Mar 22 14:01:20 server1 postfix/pipe[26917]: send attr status = 0
Mar 22 14:01:20 server1 postfix/pipe[26917]: master_notify: status 1
Mar 22 14:01:20 server1 postfix/pipe[26917]: connection closed
Mar 22 14:01:20 server1 postfix/pipe[26917]: watchdog_stop: 0x806ad08
Mar 22 14:01:20 server1 postfix/pipe[26917]: watchdog_start: 0x806ad08
Mar 22 14:01:20 server1 postfix/qmgr[26908]: 0815C14D885: removed

  Рекомендовать в FAQ | Cообщить модератору | Наверх

20. "Postfix: Получение почты для локальных пользователей."
Сообщение от unk Искать по авторуВ закладки(ok) on 22-Мрт-05, 14:10  (MSK)
># Also specify in main.cf: cyrus_destination_recipient_limit=1
>cyrus     unix  -    
>  n       n  
>     -      
> -       pipe
>  flags=Ru user=cyrus argv=/usr/local/cyrus/bin/deliver -e -m ${extension} ${user}

Поробуйте поменять на это:
cyrus     unix  -       n       n       -       -       pipe
  user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}

  Рекомендовать в FAQ | Cообщить модератору | Наверх

21. "Postfix: Получение почты для локальных пользователей."
Сообщение от Aupof Искать по авторуВ закладки on 22-Мрт-05, 14:42  (MSK)
>># Also specify in main.cf: cyrus_destination_recipient_limit=1
>>cyrus     unix  -    
>>  n       n  
>>     -      
>> -       pipe
>>  flags=Ru user=cyrus argv=/usr/local/cyrus/bin/deliver -e -m ${extension} ${user}
>
>Поробуйте поменять на это:
>cyrus     unix  -    
>  n       n  
>     -      
> -       pipe
>  user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}

Уважаемый unk, я сделал как вы сказали, изменил в master.cf:

# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# maildrop. See the Postfix MAILDROP_README file for details.
#
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
#
# The Cyrus deliver program has changed incompatibly, multiple times.
#
old-cyrus unix  -       n       n       -       -       pipe
  flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
cyrus     unix  -       n       n       -       -       pipe
  user=cyrus argv=/usr/local/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
uucp      unix  -       n       n       -       -       pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail    unix  -       n       n       -       -       pipe
  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
  flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient

Mar 22 14:39:07 server1 postfix/postfix-script: refreshing the Postfix mail system
Mar 22 14:39:07 server1 postfix/master[479]: reload configuration
Mar 22 14:39:19 server1 postfix/pickup[27061]: 7476A14D860: uid=0 from=<root>
Mar 22 14:39:19 server1 postfix/cleanup[27066]: 7476A14D860: message-id=<20050322113919.7476A14D860@server1.domen.local>
Mar 22 14:39:19 server1 postfix/cleanup[27066]: 7476A14D860: to=<unknown>, relay=none, delay=0, status=bounced (No recipients specified)
Mar 22 14:39:19 server1 postfix/cleanup[27069]: 7934F14D87B: message-id=<20050322113919.7934F14D87B@server1.domen.local>
Mar 22 14:39:19 server1 postfix/qmgr[27062]: 7934F14D87B: from=<>, size=2008, nrcpt=1 (queue active)
Mar 22 14:39:19 server1 postfix/pipe[27071]: 7934F14D87B: to=<mailroot@server1.domen.local>, orig_to=<root@server1.domen.local>, relay=cyrus, delay=0, status=bounced (data format error. Command output: mailroot: Mailbox does not exist )
Mar 22 14:39:19 server1 postfix/qmgr[27062]: 7934F14D87B: removed

  Рекомендовать в FAQ | Cообщить модератору | Наверх

22. "Postfix: Получение почты для локальных пользователей."
Сообщение от Aupof Искать по авторуВ закладки on 23-Мрт-05, 11:53  (MSK)
Вот такая вот чехарда... Т.е. почта не доходит до mailroot.
Может быть ему не достает того что нету ящика root?
  Рекомендовать в FAQ | Cообщить модератору | Наверх

23. "Postfix: Получение почты для локальных пользователей."
Сообщение от Gennadi emailИскать по авторуВ закладки(ok) on 23-Мрт-05, 15:43  (MSK)
>Вот такая вот чехарда... Т.е. почта не доходит до mailroot.
>Может быть ему не достает того что нету ящика root?

# cat aliases
MAILER-DAEMON:  postmaster
postmaster:     root

root:      cyrus

============================================
# cyradm -u admin localhost
Please enter your password:
localhost.domain.local> lm
mailroot              user.q3             user.md-out
user.exam-2           user.md-13
user.exam-1           user.md-in

=========================================

mtailroot ????

Создайте mailbox  для  mailroot  так  ---> user.mailroot

  Рекомендовать в FAQ | Cообщить модератору | Наверх


Удалить

Индекс форумов | Темы | Пред. тема | След. тема
Пожалуйста, прежде чем написать сообщение, ознакомьтесь с данными рекомендациями.




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2025 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру