| Line 28... |
Line 28... |
| 28 |
|
28 |
|
| 29 |
/*
|
29 |
/*
|
| 30 |
|
30 |
|
| 31 |
bug log:
|
31 |
bug log:
|
| 32 |
|
32 |
|
| 33 |
journalctl -a -e -f
|
33 |
journalctl -a -e -f --unit=postfix
|
| - |
|
34 |
|
| 34 |
Mar 09 13:40:20 qbpwcf.org postfix/smtpd[1058247]: connect from unknown[194.48.251.15]
|
35 |
Mar 09 13:40:20 qbpwcf.org postfix/smtpd[1058247]: connect from unknown[194.48.251.15]
|
| 35 |
Mar 09 13:40:21 qbpwcf.org postfix/smtpd[1058247]: disconnect from unknown[194.48.251.15] ehlo=1 auth=0/1 quit=1 commands=2/3
|
36 |
Mar 09 13:40:21 qbpwcf.org postfix/smtpd[1058247]: disconnect from unknown[194.48.251.15] ehlo=1 auth=0/1 quit=1 commands=2/3
|
| 36 |
Mar 09 13:40:45 qbpwcf.org postfix/smtpd[1050779]: connect from unknown[194.48.251.15]
|
37 |
Mar 09 13:40:45 qbpwcf.org postfix/smtpd[1050779]: connect from unknown[194.48.251.15]
|
| 37 |
Mar 09 13:40:46 qbpwcf.org postfix/smtpd[1050779]: disconnect from unknown[194.48.251.15] ehlo=1 auth=0/1 quit=1 commands=2/3
|
38 |
Mar 09 13:40:46 qbpwcf.org postfix/smtpd[1050779]: disconnect from unknown[194.48.251.15] ehlo=1 auth=0/1 quit=1 commands=2/3
|
| 38 |
Mar 09 13:41:07 qbpwcf.org postfix/smtpd[1058247]: connect from unknown[194.48.251.15]
|
39 |
Mar 09 13:41:07 qbpwcf.org postfix/smtpd[1058247]: connect from unknown[194.48.251.15]
|
| 39 |
Mar 09 13:41:08 qbpwcf.org postfix/smtpd[1058247]: disconnect from unknown[194.48.251.15] ehlo=1 auth=0/1 quit=1 commands=2/3
|
40 |
Mar 09 13:41:08 qbpwcf.org postfix/smtpd[1058247]: disconnect from unknown[194.48.251.15] ehlo=1 auth=0/1 quit=1 commands=2/3
|
| 40 |
|
41 |
|
| - |
|
42 |
Nov 18 01:42:38 qbpwcf.org postfix/smtpd[2800808]: warning: unknown[45.144.212.240]: SASL LOGIN authentication failed: Invalid authentication mechanism: 'LOGIN', sasl_username=(unavailable)
|
| - |
|
43 |
|
| 41 |
*/
|
44 |
*/
|
| 42 |
|
45 |
|
| 43 |
#指派命名空間
|
46 |
#指派命名空間
|
| 44 |
namespace qbpwcf;
|
47 |
namespace qbpwcf;
|
| 45 |
|
48 |
|
| Line 1390... |
Line 1393... |
| 1390 |
|
1393 |
|
| 1391 |
}#if end
|
1394 |
}#if end
|
| 1392 |
|
1395 |
|
| 1393 |
#Aug 09 07:12:09 www.qbpwcf.org postfix/smtpd[20829]: connect from unknown[185.234.219.62]
|
1396 |
#Aug 09 07:12:09 www.qbpwcf.org postfix/smtpd[20829]: connect from unknown[185.234.219.62]
|
| 1394 |
#Apr 04 15:11:16 mail.qbpwcf.org postfix/smtps/smtpd[10145]: connect from unknown[212.70.149.72]
|
1397 |
#Apr 04 15:11:16 mail.qbpwcf.org postfix/smtps/smtpd[10145]: connect from unknown[212.70.149.72]
|
| - |
|
1398 |
#Nov 18 01:42:38 qbpwcf.org postfix/smtpd[2800808]: warning: unknown[45.144.212.240]: SASL LOGIN authentication failed: Invalid authentication mechanism: 'LOGIN', sasl_username=(unavailable)
|
| 1395 |
#${month} ${day} ${hour}:${min}:${sec} ${doNotNeed}"
|
1399 |
#${month} ${day} ${hour}:${min}:${sec} ${doNotNeed}"
|
| 1396 |
|
1400 |
|
| 1397 |
#解析時間點
|
1401 |
#解析時間點
|
| 1398 |
#函式說明:
|
1402 |
#函式說明:
|
| 1399 |
#尋找字串中是否含有符合格式的內容,且回傳解析好的變數數值.
|
1403 |
#尋找字串中是否含有符合格式的內容,且回傳解析好的變數數值.
|