Форум русскоязычного сообщества Ubuntu


Увидели сообщение с непонятной ссылкой, спам, непристойность или оскорбление?
Воспользуйтесь ссылкой «Сообщить модератору» рядом с сообщением!

Автор Тема: Не могу отправить письма наружу  (Прочитано 3895 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн LonelyBeast

  • Автор темы
  • Новичок
  • *
  • Сообщений: 20
  • Ubuntu 11.4
    • Просмотр профиля
Здравствуйте, у меня установлен сервер

Linux ss 2.6.38-8-server #42-Ubuntu SMP Mon Apr 11 03:49:04 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

На него я установил связку DBmail + Postfix + sasl + spamassassin + clamav + DBMA + Roundcube webmail. Устанавливал все по инструкции, которую можно посмотреть здесь (http://www.mikeryabov.tk/ubuntu/mail-server). После того как я установил DBmail + Postfix + sas - все нормально работало - письма уходили и приходили нормально, а вот после того, как я добил все до конца и доустановил spamassassin + clamav + DBMA + Roundcube webmail - у меня перестали уходить письма наружу. При попытке отпраавить письмо на любой адрес приходит ответное письмо

This is the mail system at host myhost.mydomain.ru.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                   The mail system

<spam.nds@mail.ru>: host 127.0.0.1[127.0.0.1] said: 554 5.7.1
    <spam.nds@mail.ru>: Relay access denied (in reply to RCPT TO command)



Reporting-MTA: dns; myhost.mydomain.ru
X-Postfix-Queue-ID: 9B35117E40E7E
X-Postfix-Sender: rfc822; dmitryi@mydomain.ru
Arrival-Date: Thu, 30 Jun 2011 10:10:36 +0400 (MSD)

Final-Recipient: rfc822; spam.nds@mail.ru
Action: failed
Status: 5.7.1
Remote-MTA: dns; 127.0.0.1
Diagnostic-Code: smtp; 554 5.7.1 <spam.nds@mail.ru>: Relay access denied


Пользователь решил продолжить мысль 30 Июня 2011, 14:18:01:
при этом в логе mail.log пишется

Jun 30 13:48:11 ss dbmail/imap4d[3176]: Message:[imapsession] dbmail-imapsession.c,dbmail_imap_session_handle_auth(+1646): user (id 6, name resume@mydomain.ru) login accepted
Jun 30 13:48:14 ss postfix/smtpd[3180]: connect from localhost[127.0.0.1]
Jun 30 13:48:14 ss postfix/smtpd[3180]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Jun 30 13:48:14 ss postfix/smtpd[3180]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Jun 30 13:48:14 ss postfix/smtpd[3180]: 4CDA417E40E80: client=localhost[127.0.0.1], sasl_method=PLAIN, sasl_username=dmitryi@mydomain.ru
Jun 30 13:48:14 ss postfix/cleanup[3182]: 4CDA417E40E80: message-id=<4E0C4655.6070300@mydomain.ru>
Jun 30 13:48:14 ss postfix/qmgr[1651]: 4CDA417E40E80: from=<dmitryi@mydomain.ru>, size=696, nrcpt=1 (queue active)
Jun 30 13:48:14 ss spamd[1147]: spamd: connection from localhost [127.0.0.1] at port 53982
Jun 30 13:48:14 ss spamd[1147]: spamd: setuid to spamd succeeded
Jun 30 13:48:14 ss spamd[1147]: spamd: creating default_prefs: /etc/spamassassin/.spamassassin/user_prefs
Jun 30 13:48:14 ss spamd[1147]: config: cannot create user preferences file /etc/spamassassin/.spamassassin/user_prefs: No such file or directory
Jun 30 13:48:14 ss spamd[1147]: spamd: failed to create readable default_prefs: /etc/spamassassin/.spamassassin/user_prefs
Jun 30 13:48:14 ss spamd[1147]: spamd: processing message <4E0C4655.6070300@mydomain.ru> for spamd:1001
Jun 30 13:48:14 ss postfix/smtpd[3180]: disconnect from localhost[127.0.0.1]
Jun 30 13:48:14 ss spamd[1147]: spamd: clean message (0.8/5.0) for spamd:1001 in 0.0 seconds, 677 bytes.
Jun 30 13:48:14 ss spamd[1147]: spamd: result: . 0 - ALL_TRUSTED,MISSING_SUBJECT scantime=0.0,size=677,user=spamd,uid=1001,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=53982,mid=<4E0C4655.6070300@mydomain.ru>,autolearn=no
Jun 30 13:48:14 ss spamd[1048]: prefork: child states: II
Jun 30 13:48:14 ss dbmail/imap4d[1719]: Message:[message] dbmail-message.c,dbmail_message_cache_subjectfield(+1218): no subject field value [108]
Jun 30 13:48:14 ss postfix/pipe[3183]: 4CDA417E40E80: to=<spam.nds@mail.ru>, relay=spamassassin, delay=0.24, delays=0.11/0/0/0.12, dsn=2.0.0, status=sent (delivered via spamassassin service)
Jun 30 13:48:14 ss postfix/pickup[3119]: 8452517E40E85: uid=1001 from=<dmitryi@mydomain.ru>
Jun 30 13:48:14 ss postfix/qmgr[1651]: 4CDA417E40E80: removed
Jun 30 13:48:14 ss postfix/cleanup[3182]: 8452517E40E85: message-id=<4E0C4655.6070300@mydomain.ru>
Jun 30 13:48:14 ss dbmail/imap4d[1719]: Message:[db] db.c,db_imap_append_msg(+2616): message id=243 is inserted
Jun 30 13:48:14 ss postfix/qmgr[1651]: 8452517E40E85: from=<dmitryi@mydomain.ru>, size=1016, nrcpt=1 (queue active)
Jun 30 13:48:14 ss clamsmtpd: 100003: accepted connection from: 127.0.0.1
Jun 30 13:48:14 ss postfix/smtpd[3189]: connect from localhost[127.0.0.1]
Jun 30 13:48:14 ss postfix/smtpd[3189]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 554 5.7.1 <spam.nds@mail.ru>: Relay access denied; from=<dmitryi@mydomain.ru> to=<spam.nds@mail.ru> proto=ESMTP helo=<myhost.mydomain.ru>
Jun 30 13:48:14 ss postfix/smtp[3187]: 8452517E40E85: to=<spam.nds@mail.ru>, relay=127.0.0.1[127.0.0.1]:10025, delay=0.3, delays=0.19/0/0.05/0.06, dsn=5.7.1, status=bounced (host 127.0.0.1[127.0.0.1] said: 554 5.7.1 <spam.nds@mail.ru>: Relay access denied (in reply to RCPT TO command))
Jun 30 13:48:14 ss postfix/smtpd[3189]: disconnect from localhost[127.0.0.1]
Jun 30 13:48:14 ss postfix/cleanup[3182]: B8D7E17E40E81: message-id=<20110630094814.B8D7E17E40E81@myhost.mydomain.ru>
Jun 30 13:48:14 ss postfix/bounce[3190]: 8452517E40E85: sender non-delivery notification: B8D7E17E40E81
Jun 30 13:48:14 ss postfix/qmgr[1651]: B8D7E17E40E81: from=<>, size=2997, nrcpt=1 (queue active)
Jun 30 13:48:14 ss postfix/qmgr[1651]: 8452517E40E85: removed
Jun 30 13:48:14 ss postfix/lmtp[3192]: name_mask: ipv4
Jun 30 13:48:14 ss postfix/lmtp[3192]: inet_addr_local: configured 3 IPv4 addresses
Jun 30 13:48:14 ss postfix/lmtp[3192]: process generation: 51 (51)
Jun 30 13:48:14 ss postfix/lmtp[3192]: match_string: fast_flush_domains ~? debug_peer_list
Jun 30 13:48:14 ss postfix/lmtp[3192]: match_string: fast_flush_domains ~? fast_flush_domains
Jun 30 13:48:14 ss postfix/lmtp[3192]: name_mask: canonical
Jun 30 13:48:14 ss postfix/lmtp[3192]: name_mask: virtual
Jun 30 13:48:14 ss postfix/lmtp[3192]: name_mask: dns
Jun 30 13:48:14 ss postfix/lmtp[3192]: host name lookup methods: dns
Jun 30 13:48:14 ss postfix/lmtp[3192]: auto_clnt_create: transport=local endpoint=private/scache
Jun 30 13:48:14 ss postfix/lmtp[3192]: connection established
Jun 30 13:48:14 ss postfix/lmtp[3192]: master_notify: status 0
Jun 30 13:48:14 ss postfix/lmtp[3192]: deliver_request_initial: send initial status
Jun 30 13:48:14 ss postfix/lmtp[3192]: send attr status = 0
Jun 30 13:48:14 ss postfix/lmtp[3192]: dbmail-lmtp socket: wanted attribute: flags
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute name: flags
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute value: 3
Jun 30 13:48:14 ss postfix/lmtp[3192]: dbmail-lmtp socket: wanted attribute: queue_name
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute name: queue_name
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute value: active
Jun 30 13:48:14 ss postfix/lmtp[3192]: dbmail-lmtp socket: wanted attribute: queue_id
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute name: queue_id
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute value: B8D7E17E40E81
Jun 30 13:48:14 ss postfix/lmtp[3192]: dbmail-lmtp socket: wanted attribute: offset
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute name: offset
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute value: 219
Jun 30 13:48:14 ss postfix/lmtp[3192]: dbmail-lmtp socket: wanted attribute: size
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute name: size
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute value: 2997
Jun 30 13:48:14 ss postfix/lmtp[3192]: dbmail-lmtp socket: wanted attribute: nexthop
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute name: nexthop
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute value: 127.0.0.1:24
Jun 30 13:48:14 ss postfix/lmtp[3192]: dbmail-lmtp socket: wanted attribute: encoding
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute name: encoding
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute value: 8bit
Jun 30 13:48:14 ss postfix/lmtp[3192]: dbmail-lmtp socket: wanted attribute: sender
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute name: sender
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute value: (end)
Jun 30 13:48:14 ss postfix/lmtp[3192]: dbmail-lmtp socket: wanted attribute: envelope_id
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute name: envelope_id
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute value: (end)
Jun 30 13:48:14 ss postfix/lmtp[3192]: dbmail-lmtp socket: wanted attribute: ret_flags
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute name: ret_flags
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute value: 0
Jun 30 13:48:14 ss postfix/lmtp[3192]: dbmail-lmtp socket: wanted attribute: time
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute name: time
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute value: XkYMTgAAAABHjQsAAAAAAF5GDE4AAAAAFzAMAAAAAABeRgxOAAAAAJs9DAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
Jun 30 13:48:14 ss postfix/lmtp[3192]: dbmail-lmtp socket: wanted attribute: log_client_name
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute name: log_client_name
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute value: (end)
Jun 30 13:48:14 ss postfix/lmtp[3192]: dbmail-lmtp socket: wanted attribute: log_client_address
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute name: log_client_address
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute value: (end)
Jun 30 13:48:14 ss postfix/lmtp[3192]: dbmail-lmtp socket: wanted attribute: log_client_port
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute name: log_client_port
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute value: (end)
Jun 30 13:48:14 ss postfix/lmtp[3192]: dbmail-lmtp socket: wanted attribute: log_protocol_name
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute name: log_protocol_name
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute value: (end)
Jun 30 13:48:14 ss postfix/lmtp[3192]: dbmail-lmtp socket: wanted attribute: log_helo_name
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute name: log_helo_name
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute value: (end)
Jun 30 13:48:14 ss postfix/lmtp[3192]: dbmail-lmtp socket: wanted attribute: sasl_method
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute name: sasl_method
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute value: (end)
Jun 30 13:48:14 ss postfix/lmtp[3192]: dbmail-lmtp socket: wanted attribute: sasl_username
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute name: sasl_username
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute value: (end)
Jun 30 13:48:14 ss postfix/lmtp[3192]: dbmail-lmtp socket: wanted attribute: sasl_sender
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute name: sasl_sender
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute value: (end)
Jun 30 13:48:14 ss postfix/lmtp[3192]: dbmail-lmtp socket: wanted attribute: log_ident
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute name: log_ident
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute value: (end)
Jun 30 13:48:14 ss postfix/lmtp[3192]: dbmail-lmtp socket: wanted attribute: rewrite_context
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute name: rewrite_context
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute value: local
Jun 30 13:48:14 ss postfix/lmtp[3192]: dbmail-lmtp socket: wanted attribute: recipient_count
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute name: recipient_count
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute value: 1
Jun 30 13:48:14 ss postfix/lmtp[3192]: dbmail-lmtp socket: wanted attribute: (list terminator)
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute name: (end)
Jun 30 13:48:14 ss postfix/lmtp[3192]: dbmail-lmtp socket: wanted attribute: original_recipient
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute name: original_recipient
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute value: dmitryi@mydomain.ru
Jun 30 13:48:14 ss postfix/lmtp[3192]: dbmail-lmtp socket: wanted attribute: recipient
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute name: recipient
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute value: dmitryi@mydomain.ru
Jun 30 13:48:14 ss postfix/lmtp[3192]: dbmail-lmtp socket: wanted attribute: offset
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute name: offset
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute value: 18446744073709551615
Jun 30 13:48:14 ss postfix/lmtp[3192]: dbmail-lmtp socket: wanted attribute: dsn_orig_rcpt
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute name: dsn_orig_rcpt
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute value: (end)
Jun 30 13:48:14 ss postfix/lmtp[3192]: dbmail-lmtp socket: wanted attribute: notify_flags
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute name: notify_flags
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute value: 0
Jun 30 13:48:14 ss postfix/lmtp[3192]: dbmail-lmtp socket: wanted attribute: (list terminator)
Jun 30 13:48:14 ss postfix/lmtp[3192]: input attribute name: (end)
Jun 30 13:48:14 ss postfix/lmtp[3192]: deliver_request_get: file active/B8D7E17E40E81
Jun 30 13:48:14 ss postfix/lmtp[3192]: deliver_message: from
Jun 30 13:48:14 ss postfix/lmtp[3192]: smtp_parse_destination: 127.0.0.1:24 24
Jun 30 13:48:14 ss postfix/lmtp[3192]: connecting to 127.0.0.1 port 24
Jun 30 13:48:14 ss postfix/lmtp[3192]: smtp_addr_one: host 127.0.0.1
Jun 30 13:48:14 ss postfix/lmtp[3192]: begin 127.0.0.1 address list
Jun 30 13:48:14 ss postfix/lmtp[3192]: pref    0 host 127.0.0.1/127.0.0.1
Jun 30 13:48:14 ss postfix/lmtp[3192]: end 127.0.0.1 address list
Jun 30 13:48:14 ss postfix/lmtp[3192]: smtp_connect_addr: trying: 127.0.0.1[127.0.0.1] port 24...
Jun 30 13:48:14 ss postfix/lmtp[3192]: vstream_tweak_tcp: TCP_MAXSEG 16384
Jun 30 13:48:14 ss postfix/lmtp[3192]: global TLS level: none
Jun 30 13:48:14 ss postfix/lmtp[3192]: < 127.0.0.1[127.0.0.1]:24: 220 ss DBMail LMTP service ready to rock
Jun 30 13:48:14 ss postfix/lmtp[3192]: > 127.0.0.1[127.0.0.1]:24: LHLO myhost.mydomain.ru
Jun 30 13:48:14 ss postfix/lmtp[3192]: < 127.0.0.1[127.0.0.1]:24: 250-ss
Jun 30 13:48:14 ss postfix/lmtp[3192]: < 127.0.0.1[127.0.0.1]:24: 250-PIPELINING
Jun 30 13:48:14 ss postfix/lmtp[3192]: < 127.0.0.1[127.0.0.1]:24: 250-ENHANCEDSTATUSCODES
Jun 30 13:48:14 ss postfix/lmtp[3192]: < 127.0.0.1[127.0.0.1]:24: 250 SIZE
Jun 30 13:48:14 ss postfix/lmtp[3192]: server features: 0x100d size 0
Jun 30 13:48:14 ss postfix/lmtp[3192]: Using LMTP PIPELINING, TCP send buffer size is 50868, PIPELINING buffer size is 4096
Jun 30 13:48:14 ss postfix/lmtp[3192]: > 127.0.0.1[127.0.0.1]:24: MAIL FROM:<>
Jun 30 13:48:14 ss postfix/lmtp[3192]: > 127.0.0.1[127.0.0.1]:24: RCPT TO:<dmitryi@mydomain.ru>
Jun 30 13:48:14 ss postfix/lmtp[3192]: > 127.0.0.1[127.0.0.1]:24: DATA
Jun 30 13:48:14 ss postfix/lmtp[3192]: < 127.0.0.1[127.0.0.1]:24: 250 Sender <> OK
Jun 30 13:48:14 ss postfix/lmtp[3192]: < 127.0.0.1[127.0.0.1]:24: 250 Recipient <dmitryi@mydomain.ru> OK
Jun 30 13:48:14 ss postfix/lmtp[3192]: < 127.0.0.1[127.0.0.1]:24: 354 Start mail input; end with <CRLF>.<CRLF>
Jun 30 13:48:14 ss postfix/lmtp[3192]: header_token: multipart / report
Jun 30 13:48:14 ss postfix/lmtp[3192]: header_token: report-type = delivery-status
Jun 30 13:48:14 ss postfix/lmtp[3192]: header_token: boundary = 8452517E40E85.1309427294/myhost.mydomain.ru
Jun 30 13:48:14 ss postfix/lmtp[3192]: PUSH boundary 8452517E40E85.1309427294/myhost.mydomain.ru
Jun 30 13:48:14 ss postfix/lmtp[3192]: header_token: 8bit 
Jun 30 13:48:14 ss postfix/lmtp[3192]: header_token: text / plain
Jun 30 13:48:14 ss postfix/lmtp[3192]: header_token: message / delivery-status
Jun 30 13:48:14 ss postfix/lmtp[3192]: header_token: message / rfc822
Jun 30 13:48:14 ss postfix/lmtp[3192]: header_token: 8bit 
Jun 30 13:48:14 ss postfix/lmtp[3192]: header_token: text / plain
Jun 30 13:48:14 ss postfix/lmtp[3192]: header_token: 8bit 
Jun 30 13:48:14 ss postfix/lmtp[3192]: POP boundary 8452517E40E85.1309427294/myhost.mydomain.ru
Jun 30 13:48:14 ss postfix/lmtp[3192]: > 127.0.0.1[127.0.0.1]:24: .
Jun 30 13:48:14 ss postfix/lmtp[3192]: > 127.0.0.1[127.0.0.1]:24: QUIT
Jun 30 13:48:14 ss dbmail/lmtpd[1720]: Message:[sort] sort.c,sort_deliver_to_mailbox(+196): message id=245, size=3041 is inserted
Jun 30 13:48:15 ss postfix/lmtp[3192]: < 127.0.0.1[127.0.0.1]:24: 215 Recipient <dmitryi@mydomain.ru> OK
Jun 30 13:48:15 ss postfix/lmtp[3192]: B8D7E17E40E81: to=<dmitryi@mydomain.ru>, relay=127.0.0.1[127.0.0.1]:24, delay=0.26, delays=0.04/0/0/0.21, dsn=2.0.0, status=sent (215 Recipient <dmitryi@mydomain.ru> OK)
Jun 30 13:48:15 ss postfix/lmtp[3192]: smtp_loop: got 1 of 1 end-of-data replies
Jun 30 13:49:15 ss postfix/lmtp[3192]: < 127.0.0.1[127.0.0.1]:24: 221 Connection timeout BYE
Jun 30 13:49:15 ss postfix/lmtp[3192]: name_mask: resource
Jun 30 13:49:15 ss dbmail/lmtpd[1720]: Error:[lmtp] lmtp.c,lmtp_handle_connection(+205): client timed, connection closed
Jun 30 13:49:15 ss postfix/lmtp[3192]: name_mask: software
Jun 30 13:49:15 ss postfix/lmtp[3192]: deliver_request_final: send: "" 0
Jun 30 13:49:15 ss postfix/lmtp[3192]: send attr status =
Jun 30 13:49:15 ss postfix/lmtp[3192]: send attr diag_type =
Jun 30 13:49:15 ss postfix/lmtp[3192]: send attr diag_text =
Jun 30 13:49:15 ss postfix/lmtp[3192]: send attr mta_type =
Jun 30 13:49:15 ss postfix/lmtp[3192]: send attr mta_mname =
Jun 30 13:49:15 ss postfix/lmtp[3192]: send attr action =
Jun 30 13:49:15 ss postfix/lmtp[3192]: send attr reason =
Jun 30 13:49:15 ss postfix/lmtp[3192]: send attr status = 0
Jun 30 13:49:15 ss postfix/qmgr[1651]: B8D7E17E40E81: removed
Jun 30 13:49:15 ss postfix/lmtp[3192]: master_notify: status 1
Jun 30 13:49:15 ss postfix/lmtp[3192]: connection closed
Jun 30 13:50:55 ss postfix/lmtp[3192]: idle timeout -- exiting


Пользователь решил продолжить мысль 30 Июня 2011, 14:20:07:
отправлять почту пробовал с работы и из дома ... везде один и тот же результат ... Помогите пожалуйста разобраться!



main.cf у меня вот такой

root@ss:~# cat /etc/postfix/main.cf
# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
myorigin = nikitins.msk.ru
myhostname = nikitins.msk.ru

smtpd_banner = $myorigin ESMTP $mail_name (Ubuntu)
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.

myhostname = myhost.mydomain.ru
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = mydomain.ru, myhost.mydomain.ru, localhost.mydomain.ru, localhost
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 192.168.24.0/24 192.168.99.0/24
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all

#SASL parametrs

smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated, reject_unauth_destination
smtpd_tls_auth_only = no
#smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom

#Added by nikitos
local_recipient_maps = mysql:/etc/postfix/dbmail-aliases.cf mysql:/etc/postfix/dbmail-recip.cf
mailbox_transport = dbmail-lmtp:127.0.0.1:24
content_filter = avscan:127.0.0.1:10025
receive_override_options = no_address_mappings

Пользователь решил продолжить мысль 30 Июня 2011, 14:21:08:
кусочек syslog

Jun 30 13:48:14 ss postfix/lmtp[3192]: smtp_parse_destination: 127.0.0.1:24 24
Jun 30 13:48:14 ss postfix/lmtp[3192]: connecting to 127.0.0.1 port 24
Jun 30 13:48:14 ss postfix/lmtp[3192]: smtp_addr_one: host 127.0.0.1
Jun 30 13:48:14 ss postfix/lmtp[3192]: begin 127.0.0.1 address list
Jun 30 13:48:14 ss postfix/lmtp[3192]: pref    0 host 127.0.0.1/127.0.0.1
Jun 30 13:48:14 ss postfix/lmtp[3192]: end 127.0.0.1 address list
Jun 30 13:48:14 ss postfix/lmtp[3192]: smtp_connect_addr: trying: 127.0.0.1[127.0.0.1] port 24...
Jun 30 13:48:14 ss postfix/lmtp[3192]: vstream_tweak_tcp: TCP_MAXSEG 16384
Jun 30 13:48:14 ss postfix/lmtp[3192]: global TLS level: none
Jun 30 13:48:14 ss postfix/lmtp[3192]: < 127.0.0.1[127.0.0.1]:24: 220 ss DBMail LMTP service ready to rock
Jun 30 13:48:14 ss postfix/lmtp[3192]: > 127.0.0.1[127.0.0.1]:24: LHLO myhost.mydomain.ru
Jun 30 13:48:14 ss postfix/lmtp[3192]: < 127.0.0.1[127.0.0.1]:24: 250-ss
Jun 30 13:48:14 ss postfix/lmtp[3192]: < 127.0.0.1[127.0.0.1]:24: 250-PIPELINING
Jun 30 13:48:14 ss postfix/lmtp[3192]: < 127.0.0.1[127.0.0.1]:24: 250-ENHANCEDSTATUSCODES
Jun 30 13:48:14 ss postfix/lmtp[3192]: < 127.0.0.1[127.0.0.1]:24: 250 SIZE
Jun 30 13:48:14 ss postfix/lmtp[3192]: server features: 0x100d size 0
Jun 30 13:48:14 ss postfix/lmtp[3192]: Using LMTP PIPELINING, TCP send buffer size is 50868, PIPELINING buffer size is 4096
Jun 30 13:48:14 ss postfix/lmtp[3192]: > 127.0.0.1[127.0.0.1]:24: MAIL FROM:<>
Jun 30 13:48:14 ss postfix/lmtp[3192]: > 127.0.0.1[127.0.0.1]:24: RCPT TO:<dmitryi@mydomain.ru>
Jun 30 13:48:14 ss postfix/lmtp[3192]: > 127.0.0.1[127.0.0.1]:24: DATA
Jun 30 13:48:14 ss postfix/lmtp[3192]: < 127.0.0.1[127.0.0.1]:24: 250 Sender <> OK
Jun 30 13:48:14 ss postfix/lmtp[3192]: < 127.0.0.1[127.0.0.1]:24: 250 Recipient <dmitryi@mydomain.ru> OK
Jun 30 13:48:14 ss postfix/lmtp[3192]: < 127.0.0.1[127.0.0.1]:24: 354 Start mail input; end with <CRLF>.<CRLF>
Jun 30 13:48:14 ss postfix/lmtp[3192]: header_token: multipart / report
Jun 30 13:48:14 ss postfix/lmtp[3192]: header_token: report-type = delivery-status
Jun 30 13:48:14 ss postfix/lmtp[3192]: header_token: boundary = 8452517E40E85.1309427294/myhost.mydomain.ru
Jun 30 13:48:14 ss postfix/lmtp[3192]: PUSH boundary 8452517E40E85.1309427294/myhost.mydomain.ru
Jun 30 13:48:14 ss postfix/lmtp[3192]: header_token: 8bit 
Jun 30 13:48:14 ss postfix/lmtp[3192]: header_token: text / plain
Jun 30 13:48:14 ss postfix/lmtp[3192]: header_token: message / delivery-status
Jun 30 13:48:14 ss postfix/lmtp[3192]: header_token: message / rfc822
Jun 30 13:48:14 ss postfix/lmtp[3192]: header_token: 8bit 
Jun 30 13:48:14 ss postfix/lmtp[3192]: header_token: text / plain
Jun 30 13:48:14 ss postfix/lmtp[3192]: header_token: 8bit 
Jun 30 13:48:14 ss postfix/lmtp[3192]: POP boundary 8452517E40E85.1309427294/myhost.mydomain.ru
Jun 30 13:48:14 ss postfix/lmtp[3192]: > 127.0.0.1[127.0.0.1]:24: .
Jun 30 13:48:14 ss postfix/lmtp[3192]: > 127.0.0.1[127.0.0.1]:24: QUIT
Jun 30 13:48:14 ss dbmail/lmtpd[1720]: Message:[sort] sort.c,sort_deliver_to_mailbox(+196): message id=245, size=3041 is inserted
Jun 30 13:48:15 ss postfix/lmtp[3192]: < 127.0.0.1[127.0.0.1]:24: 215 Recipient <dmitryi@mydomain.ru> OK
Jun 30 13:48:15 ss postfix/lmtp[3192]: B8D7E17E40E81: to=<dmitryi@mydomain.ru>, relay=127.0.0.1[127.0.0.1]:24, delay=0.26, delays=0.04/0/0/0.21, dsn=2.0.0, status=sent (215 Recipient <dmitryi@mydomain.ru> OK)
Jun 30 13:48:15 ss postfix/lmtp[3192]: smtp_loop: got 1 of 1 end-of-data replies
Jun 30 13:48:29 ss stunnel: LOG5[1641:140220101449472]: Connection closed: 122 bytes sent to SSL, 0 bytes sent to socket
Jun 30 13:49:15 ss postfix/lmtp[3192]: < 127.0.0.1[127.0.0.1]:24: 221 Connection timeout BYE
Jun 30 13:49:15 ss postfix/lmtp[3192]: name_mask: resource
Jun 30 13:49:15 ss dbmail/lmtpd[1720]: Error:[lmtp] lmtp.c,lmtp_handle_connection(+205): client timed, connection closed
Jun 30 13:49:15 ss postfix/lmtp[3192]: name_mask: software
Jun 30 13:49:15 ss postfix/lmtp[3192]: deliver_request_final: send: "" 0
Jun 30 13:49:15 ss postfix/lmtp[3192]: send attr status =
Jun 30 13:49:15 ss postfix/lmtp[3192]: send attr diag_type =
Jun 30 13:49:15 ss postfix/lmtp[3192]: send attr diag_text =
Jun 30 13:49:15 ss postfix/lmtp[3192]: send attr mta_type =
Jun 30 13:49:15 ss postfix/lmtp[3192]: send attr mta_mname =
Jun 30 13:49:15 ss postfix/lmtp[3192]: send attr action =
Jun 30 13:49:15 ss postfix/lmtp[3192]: send attr reason =
Jun 30 13:49:15 ss postfix/lmtp[3192]: send attr status = 0
Jun 30 13:49:15 ss postfix/qmgr[1651]: B8D7E17E40E81: removed
Jun 30 13:49:15 ss postfix/lmtp[3192]: master_notify: status 1
Jun 30 13:49:15 ss postfix/lmtp[3192]: connection closed
« Последнее редактирование: 30 Июня 2011, 14:21:08 от LonelyBeast »

Оффлайн S-VL

  • Участник
  • *
  • Сообщений: 166
  • All OS
    • Просмотр профиля
Re: Не могу отправить письма наружу
« Ответ #1 : 01 Июля 2011, 04:05:04 »
Может Я и ошибаюсь, но:
1. myhostname, вряд ли существенно но повторяется
Цитировать
myhostname = nikitins.msk.ru

И уберите, myhost.mydomain.ru из строки mydestination, помойму повторяться не должно с переменной myhostname.
Цитировать
myhostname = myhost.mydomain.ru
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = mydomain.ru, myhost.mydomain.ru, localhost.mydomain.ru, localhost

myorigin = nikitins.msk.ru - можно закоментировать.

Возможно на это еще стоит обратить внимание, хотя хз но явно не нормально.
Цитировать
Jun 30 13:48:14 ss spamd[1147]: config: cannot create user preferences file /etc/spamassassin/.spamassassin/user_prefs: No such file or directory
Jun 30 13:48:14 ss spamd[1147]: spamd: failed to create readable default_prefs: /etc/spamassassin/.spamassassin/user_prefs
/etc/spamassassin/.spamassassin/user_prefs - нет такого файла, ругается.
« Последнее редактирование: 01 Июля 2011, 04:15:06 от dirsex »

Оффлайн LonelyBeast

  • Автор темы
  • Новичок
  • *
  • Сообщений: 20
  • Ubuntu 11.4
    • Просмотр профиля
Re: Не могу отправить письма наружу
« Ответ #2 : 03 Июля 2011, 21:43:33 »
спасибо, посмотрю

 

Страница сгенерирована за 0.065 секунд. Запросов: 25.