Tato stránka používá „cookies“. Soubory cookie nám pomáhají poskytovat, chránit a zlepšovat naše služby. Více informací zde. Přijmout cookies
Tato stránka používá „cookies“. Soubory cookie nám pomáhají poskytovat, chránit a zlepšovat naše služby. Více informací zde. Přijmout cookies

Posielanie emailov z VPS - fórum

Kategorie: Virtuální servery (VPS) / Obecné

přidatNový příspěvek

Chcete-li odebírat toto téma e-mailem, přihlašte se nebo se nejprve zaregistrujte.

Posielanie emailov z VPS

Jiří Vlk, 04.02.2013 15:15:15

Dobrý deň, chcel by som sa spýtať ohľadom odosielania emailov z VPS, odosielanie funguje väčšinou v poriadku no niekedy to proste sekne a neposiela emaily. Má niekto podobný problém alebo radu ako to vyriešiť? OS je defaultný CentOS k VPS, vďaka

Re: Posielanie emailov z VPS

Petr Smetana, WEDOS, 04.02.2013 15:24:43

Dobrý den,

předně bych se podíval do logu (u centosu většinou /var/log/maillog) a zjistil bližší informace.

Re: Posielanie emailov z VPS

Jiří Vlk, 16.02.2013 11:38:15

Feb 16 11:36:11 vm5862 postfix/pickup[1551]: 3B0093E34: uid=5004 from=<web1>
Feb 16 11:36:11 vm5862 postfix/cleanup[2735]: 3B0093E34: message-id=<20130216103611.3B0093E34@vm5862.wedos.net>
Feb 16 11:36:11 vm5862 postfix/qmgr[1552]: 3B0093E34: from=<web1@vm5862.wedos.net>, size=366, nrcpt=1 (queue active)
Feb 16 11:36:39 vm5862 amavis[2177]: (02177-05-7) (!)rw_loop: leaving rw loop, no progress, last event (select) 35.035 s ago
Feb 16 11:36:39 vm5862 amavis[2177]: (02177-05-7) (!)FWD via SMTP: <root@vm5862.wedos.net> -> <root@vm5862.wedos.net>, 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting: at (eval 86) line 596.): id=02177-05-7
Feb 16 11:36:39 vm5862 amavis[1587]: (01587-11-7) (!)rw_loop: leaving rw loop, no progress, last event (select) 35.014 s ago
Feb 16 11:36:39 vm5862 amavis[1587]: (01587-11-7) (!)FWD via SMTP: <root@vm5862.wedos.net> -> <root@vm5862.wedos.net>, 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting: at (eval 86) line 596.): id=01587-11-7
Feb 16 11:36:39 vm5862 amavis[2177]: (02177-05-7) Blocked MTA-BLOCKED, <root@vm5862.wedos.net> -> <root@vm5862.wedos.net>, Message-ID: <20130211120108.066081753@vm5862.wedos.net>, mail_id: ponjCxiN-tyN, Hits: 1.178, size: 720, 35971 ms
Feb 16 11:36:39 vm5862 amavis[1587]: (01587-11-7) Blocked MTA-BLOCKED, <root@vm5862.wedos.net> -> <root@vm5862.wedos.net>, Message-ID: <20130214130130.0BFA03B07@vm5862.wedos.net>, mail_id: csF5MPz+KUZ9, Hits: 1.178, size: 719, 35971 ms
Feb 16 11:36:39 vm5862 postfix/smtp[2547]: 066081753: to=<root@vm5862.wedos.net>, orig_to=<root>, relay=127.0.0.1[127.0.0.1]:10024, conn_use=7, delay=426932, delays=426710/186/0/36, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting: at (eval 86) line 596.): id=02177-05-7 (in reply to end of DATA command))
Feb 16 11:36:39 vm5862 postfix/smtp[2514]: 0BFA03B07: to=<root@vm5862.wedos.net>, orig_to=<root>, relay=127.0.0.1[127.0.0.1]:10024, conn_use=7, delay=164117, delays=163895/186/0/36, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting: at (eval 86) line 596.): id=01587-11-7 (in reply to end of DATA command))
Feb 16 11:36:55 vm5862 amavis[2177]: (02177-05-8) (!)rw_loop: leaving rw loop, no progress, last event (select) 15.015 s ago
Feb 16 11:36:55 vm5862 amavis[1587]: (01587-11-8) (!)rw_loop: leaving rw loop, no progress, last event (select) 15.015 s ago
Feb 16 11:37:03 vm5862 postfix/smtpd[2763]: connect from unknown[127.0.0.1]
Feb 16 11:37:03 vm5862 postfix/smtpd[2763]: warning: SASL: Connect to private/auth failed: No such file or directory
Feb 16 11:37:03 vm5862 postfix/smtpd[2763]: fatal: no SASL authentication mechanisms
Feb 16 11:37:03 vm5862 postfix/smtpd[2765]: connect from unknown[127.0.0.1]
Feb 16 11:37:03 vm5862 postfix/smtpd[2765]: warning: SASL: Connect to private/auth failed: No such file or directory
Feb 16 11:37:03 vm5862 postfix/smtpd[2765]: fatal: no SASL authentication mechanisms
Feb 16 11:37:03 vm5862 postfix/smtpd[2766]: connect from unknown[127.0.0.1]
Feb 16 11:37:03 vm5862 postfix/smtpd[2766]: warning: SASL: Connect to private/auth failed: No such file or directory
Feb 16 11:37:03 vm5862 postfix/smtpd[2766]: fatal: no SASL authentication mechanisms
Feb 16 11:37:03 vm5862 postfix/smtpd[2767]: connect from unknown[127.0.0.1]
Feb 16 11:37:03 vm5862 postfix/smtpd[2767]: warning: SASL: Connect to private/auth failed: No such file or directory
Feb 16 11:37:03 vm5862 postfix/smtpd[2767]: fatal: no SASL authentication mechanisms
Feb 16 11:37:04 vm5862 postfix/master[1543]: warning: process /usr/libexec/postfix/smtpd pid 2763 exit status 1
Feb 16 11:37:04 vm5862 postfix/master[1543]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Feb 16 11:37:04 vm5862 postfix/master[1543]: warning: process /usr/libexec/postfix/smtpd pid 2765 exit status 1
Feb 16 11:37:04 vm5862 postfix/master[1543]: warning: process /usr/libexec/postfix/smtpd pid 2766 exit status 1
Feb 16 11:37:04 vm5862 amavis[2177]: (02177-05-8) (!)FWD via SMTP: <root@vm5862.wedos.net> -> <root@vm5862.wedos.net>, 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting: at (eval 86) line 596.): id=02177-05-8
Feb 16 11:37:04 vm5862 amavis[2177]: (02177-05-8) Blocked MTA-BLOCKED, <root@vm5862.wedos.net> -> <root@vm5862.wedos.net>, Message-ID: <20130213110121.067463C51@vm5862.wedos.net>, mail_id: 9l9bvMQHWaLU, Hits: 1.178, size: 720, 25182 ms
Feb 16 11:37:04 vm5862 postfix/master[1543]: warning: process /usr/libexec/postfix/smtpd pid 2767 exit status 1
Feb 16 11:37:04 vm5862 amavis[1587]: (01587-11-8) (!)FWD via SMTP: <root@vm5862.wedos.net> -> <root@vm5862.wedos.net>, 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting: at (eval 86) line 596.): id=01587-11-8
Feb 16 11:37:04 vm5862 postfix/smtp[2547]: 067463C51: to=<root@vm5862.wedos.net>, orig_to=<root>, relay=127.0.0.1[127.0.0.1]:10024, conn_use=8, delay=257744, delays=257497/222/0/25, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting: at (eval 86) line 596.): id=02177-05-8 (in reply to end of DATA command))
Feb 16 11:37:04 vm5862 amavis[1587]: (01587-11-8) Blocked MTA-BLOCKED, <root@vm5862.wedos.net> -> <root@vm5862.wedos.net>, Message-ID: <20130216010107.25591293D@vm5862.wedos.net>, mail_id: ZlNNV8SEwprS, Hits: 1.178, size: 720, 25181 ms
Feb 16 11:37:04 vm5862 postfix/smtp[2514]: 25591293D: to=<root@vm5862.wedos.net>, orig_to=<root>, relay=127.0.0.1[127.0.0.1]:10024, conn_use=8, delay=34559, delays=34311/222/0/25, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting: at (eval 86) line 596.): id=01587-11-8 (in reply to end of DATA command))

Re: Posielanie emailov z VPS

Jiří Vlk, 18.02.2013 04:30:48

nakoniec som to opravil, islo o zmenu konfiguracie pri update Dovecot, riesenie som nasiel tu http://www.howtoforge.com/postfix-dovecot-warning-sasl-connect-to-private-auth-failed-no-such-file-or-directory len článok ani nečítajte, riešenie je až v uplne poslednom komentári

I had exactly the same problem and the instructions on this page did not help at all. In fact, the instructions on postfix site did not help either.

On our system, here's what helped -

chown postfix:postfix /var/spool/postfix/private/auth

chmod 666 /var/spool/postfix/private/auth

And, in /etc/dovecot/conf.d/10-master.conf (or /usr/local/etc/dovecot/conf.d/10-master.conf) set the config like this -

unix_listener auth-userdb {

mode = 0666

user = postfix

group = postfix

}


# Postfix smtp-auth

unix_listener /var/spool/postfix/private/auth {

mode = 0666

}

Lastly,

/etc/init.d/dovecot restart

Přihlášení zákazníka

Nemáte ještě zákaznický účet? Registrace

Copyright © WEDOS, 2018

Facebook RSS