1 |
Приветствую. |
2 |
|
3 |
Есть машинка, на которой выполняется некая java-штуковина. Она периодически |
4 |
отсылает письма, и иногда у этих писем в bcc есть несуществующие адреса. |
5 |
|
6 |
Java получает примерно такое: |
7 |
|
8 |
" at java.lang.Thread.run(Thread.java:595) |
9 |
|
10 |
Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to |
11 |
relay for testemail@××××××.tom |
12 |
|
13 |
; |
14 |
|
15 |
nested exception is: |
16 |
|
17 |
com.sun.mail.smtp.SMTPAddressFailedException: 550 5.1.1 User unknown |
18 |
|
19 |
; |
20 |
|
21 |
nested exception is: |
22 |
|
23 |
com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to |
24 |
relay for aaa@×××.com |
25 |
|
26 |
; |
27 |
|
28 |
nested exception is: |
29 |
|
30 |
com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to |
31 |
relay for marie@×××.com |
32 |
|
33 |
; |
34 |
|
35 |
nested exception is: |
36 |
|
37 |
com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to |
38 |
relay for yury@×××.com" |
39 |
|
40 |
В логах вижу примерно такое: |
41 |
Nov 28 03:20:39 service1 postfix/smtp[6905]: A1626CC036: to=<aaa@×××.com>, |
42 |
relay=ASPMX.L.GOOGLE.com <http://aspmx.l.google.com/>[209.85.201.114], |
43 |
delay=1, status=bounced (host ASPMX.L.GOOGLE.com<http://aspmx.l.google.com/> |
44 |
[209.85.201.114] said: 550-5.1.1 The email account that you tried to reach |
45 |
does not exist. Please 550-5.1.1 try double-checking the recipient's email |
46 |
address for typos 550-5.1.1 or unnecessary spaces. Learn more |
47 |
at 550 5.1.1 |
48 |
http://mail.google.com/support/bin/answer.py?answer=6596 24si693388wfc.2 (in |
49 |
reply to RCPT TO command)) |
50 |
|
51 |
Ясно что aaa@×××.com не существует, и туда он отправить не может, но почему |
52 |
он не отправляет на все остальные адреса? |
53 |
|
54 |
При этом на соседней машине с RHEL4 абсолютно аналогичная штука работает. |
55 |
|
56 |
-- |
57 |
Vladimir Rusinov |
58 |
http://greenmice.info/ |