cyrus - прием почты и пользователи
luethus 7 июля, 2010 - 17:04
На сервере стоит Postfix + Cyrus + SASL.
Если отправлять почту с сервера, то она доходит. Но если отправить НА сервер, то...
допустим, я отправляю на
. по идее она и должна прийти пользователю someuser, но нет - в логи пишется следущее:
Jul 7 01:45:49 Debian-50-lenny-32-minimal postfix/pickup[20958]: 917475121AF: uid=1000 from=<adminuser> Jul 7 01:45:49 Debian-50-lenny-32-minimal postfix/cleanup[21009]: 917475121AF: message-id=<20100706234549.917475121AF@sds.fastvps.ru> Jul 7 01:45:49 Debian-50-lenny-32-minimal postfix/qmgr[20534]: 917475121AF: from=<adminuser@domain.name>, size=2804, nrcpt=1 (queue active) Jul 7 01:45:49 Debian-50-lenny-32-minimal cyrus/master[21013]: about to exec /usr/lib/cyrus/bin/lmtpd Jul 7 01:45:49 Debian-50-lenny-32-minimal cyrus/lmtpunix[21013]: executed Jul 7 01:45:49 Debian-50-lenny-32-minimal cyrus/lmtpunix[21013]: accepted connection Jul 7 01:45:49 Debian-50-lenny-32-minimal cyrus/lmtpunix[21013]: lmtp connection preauth'd as postman Jul 7 01:45:49 Debian-50-lenny-32-minimal cyrus/lmtpunix[21013]: verify_user(user.adminuser) failed: Mailbox does not exist Jul 7 01:45:49 Debian-50-lenny-32-minimal postfix/lmtp[21012]: 917475121AF: to=<adminuser@domain.name>, orig_to=<adminuser>, relay=sds.fastvps.ru[/var/run/cyrus/socket/lmtp], delay=48, delays=48/0.01/0.01/0.01, dsn=5.1.1, status=bounced (host sds.fastvps.ru[/var/run/cyrus/socket/lmtp] said: 550-Mailbox unknown. Either there is no mailbox associated with this 550-name or you do not have authorization to see it. 550 5.1.1 User unknown (in reply to RCPT TO command)) Jul 7 01:45:49 Debian-50-lenny-32-minimal postfix/cleanup[21009]: 9C9355121B0: message-id=<20100706234549.9C9355121B0@sds.fastvps.ru> Jul 7 01:45:49 Debian-50-lenny-32-minimal postfix/bounce[21014]: 917475121AF: sender non-delivery notification: 9C9355121B0 Jul 7 01:45:49 Debian-50-lenny-32-minimal postfix/qmgr[20534]: 9C9355121B0: from=<>, size=4912, nrcpt=1 (queue active) Jul 7 01:45:49 Debian-50-lenny-32-minimal postfix/qmgr[20534]: 917475121AF: removed Jul 7 01:45:49 Debian-50-lenny-32-minimal cyrus/lmtpunix[21013]: accepted connection Jul 7 01:45:49 Debian-50-lenny-32-minimal cyrus/lmtpunix[21013]: lmtp connection preauth'd as postman Jul 7 01:45:49 Debian-50-lenny-32-minimal cyrus/lmtpunix[21013]: verify_user(user.adminuser) failed: Mailbox does not exist Jul 7 01:45:49 Debian-50-lenny-32-minimal postfix/lmtp[21012]: 9C9355121B0: to=<adminuser@domain.name>, relay=sds.fastvps.ru[/var/run/cyrus/socket/lmtp], delay=0.02, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (host sds.fastvps.ru[/var/run/cyrus/socket/lmtp] said: 550-Mailbox unknown. Either there is no mailbox associated with this 550-name or you do not have authorization to see it. 550 5.1.1 User unknown (in reply to RCPT TO command)) Jul 7 01:45:49 Debian-50-lenny-32-minimal postfix/qmgr[20534]: 9C9355121B0: removed
adminuser - моя учетная запись на сервере, а почта отправлялась на someuser@domain.name. никакие почтовые ящики для adminuser не созданы и, естественно, ошибка.
в чем может быть проблема?
main.cf:
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) biff = no # appending .domain is the MUA's job. append_dot_mydomain = no # Uncomment the next line to generate "delayed mail" warnings #delay_warning_time = 4h readme_directory = no # TLS parameters smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key smtpd_use_tls=yes smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for # information on enabling SSL in the smtp client. alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = $myhostname, localhost.$mydomain, localhost mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 mailbox_command = procmail -a "$EXTENSION" mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all inet_protocols = ipv4 mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp virtual_transport = lmtp:unix:/var/run/cyrus/socket/lmtp local_recipient_maps = # sasl smtpd_sasl_local_domain = smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination smtpd_sasl_authenticated_header = yes smtpd_sasl_application_name = smtpd
»
- Для комментирования войдите или зарегистрируйтесь