質問編集履歴
5
ログデータ追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -83,3 +83,147 @@
|
|
83
83
|
in_flow_delay = 0
|
84
84
|
|
85
85
|
```
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
●/var/log/maillog
|
92
|
+
|
93
|
+
```ここに言語を入力
|
94
|
+
|
95
|
+
Oct 5 16:00:02 s1example postfix/cleanup[9830]: 240E740525BF9: message-id=<JD20201005160002.9778.sender@example.com>
|
96
|
+
|
97
|
+
Oct 5 16:00:02 s1example postfix/qmgr[10529]: 240E740525BF9: from=<return@example.com>, size=529, nrcpt=1 (queue active)
|
98
|
+
|
99
|
+
Oct 5 16:00:02 s1example postfix/pickup[5790]: 37FC840525BFA: uid=1001 from=<return@example.com>
|
100
|
+
|
101
|
+
Oct 5 16:00:02 s1example postfix/cleanup[9830]: 37FC840525BFA: message-id=<JD20201005160002.9778.sender@example.com>
|
102
|
+
|
103
|
+
Oct 5 16:00:02 s1example postfix/qmgr[10529]: 37FC840525BFA: from=<return@example.com>, size=533, nrcpt=1 (queue active)
|
104
|
+
|
105
|
+
Oct 5 16:00:02 s1example postfix/pickup[5790]: 5012040525BFC: uid=1001 from=<return@example.com>
|
106
|
+
|
107
|
+
Oct 5 16:00:02 s1example postfix/cleanup[9830]: 5012040525BFC: message-id=<JD20201005160002.9778.sender@example.com>
|
108
|
+
|
109
|
+
Oct 5 16:00:02 s1example postfix/qmgr[10529]: 5012040525BFC: from=<return@example.com>, size=534, nrcpt=1 (queue active)
|
110
|
+
|
111
|
+
Oct 5 16:00:02 s1example postfix/pickup[5790]: 6AD0440525BFD: uid=1001 from=<return@example.com>
|
112
|
+
|
113
|
+
Oct 5 16:00:02 s1example postfix/cleanup[9830]: 6AD0440525BFD: message-id=<JD20201005160002.9778.sender@example.com>
|
114
|
+
|
115
|
+
Oct 5 16:00:02 s1example postfix/qmgr[10529]: 6AD0440525BFD: from=<return@example.com>, size=534, nrcpt=1 (queue active)
|
116
|
+
|
117
|
+
Oct 5 16:00:02 s1example postfix/pickup[5790]: 8336A40525BFE: uid=1001 from=<return@example.com>
|
118
|
+
|
119
|
+
Oct 5 16:00:02 s1example postfix/cleanup[9830]: 8336A40525BFE: message-id=<JD20201005160002.9778.sender@example.com>
|
120
|
+
|
121
|
+
Oct 5 16:00:02 s1example postfix/qmgr[10529]: 8336A40525BFE: from=<return@example.com>, size=534, nrcpt=1 (queue active)
|
122
|
+
|
123
|
+
Oct 5 16:00:02 s1example postfix/pickup[5790]: 9C96D40525BFF: uid=1001 from=<return@example.com>
|
124
|
+
|
125
|
+
Oct 5 16:00:02 s1example postfix/cleanup[9830]: 9C96D40525BFF: message-id=<JD20201005160002.9778.sender@example.com>
|
126
|
+
|
127
|
+
Oct 5 16:00:02 s1example postfix/smtp[9843]: 5012040525BFC: to=<destination+3@example.com>, relay=mx01.muumuu-mail.com[123.4.567.8]:25, delay=0.42, delays=0.16/0.01/0.05/0.2, dsn=2.0.0, status=sent (250 Queued! <JD20201005160002.9778.sender@example.com> (Queue-Id: A909F41004F5))
|
128
|
+
|
129
|
+
Oct 5 16:00:02 s1example postfix/qmgr[10529]: 5012040525BFC: removed
|
130
|
+
|
131
|
+
Oct 5 16:00:02 s1example postfix/qmgr[10529]: 9C96D40525BFF: from=<return@example.com>, size=534, nrcpt=1 (queue active)
|
132
|
+
|
133
|
+
Oct 5 16:00:02 s1example postfix/pickup[5790]: B5F0940525BFC: uid=1001 from=<return@example.com>
|
134
|
+
|
135
|
+
Oct 5 16:00:02 s1example postfix/cleanup[9830]: B5F0940525BFC: message-id=<JD20201005160002.9778.sender@example.com>
|
136
|
+
|
137
|
+
Oct 5 16:00:02 s1example postfix/smtp[9846]: 6AD0440525BFD: to=<destination+4@example.com>, relay=mx01.muumuu-mail.com[123.4.567.8]:25, delay=0.41, delays=0.17/0.02/0.05/0.18, dsn=2.0.0, status=sent (250 Queued! <JD20201005160002.9778.sender@example.com> (Queue-Id: BD4541C80568))
|
138
|
+
|
139
|
+
Oct 5 16:00:02 s1example postfix/qmgr[10529]: 6AD0440525BFD: removed
|
140
|
+
|
141
|
+
Oct 5 16:00:02 s1example postfix/smtp[9849]: 8336A40525BFE: to=<destination+5@example.com>, relay=mx01.muumuu-mail.com[123.4.567.8]:25, delay=0.37, delays=0.16/0.01/0.03/0.15, dsn=2.0.0, status=sent (250 Queued! <JD20201005160002.9778.sender@example.com> (Queue-Id: CD6BD41004F5))
|
142
|
+
|
143
|
+
Oct 5 16:00:02 s1example postfix/qmgr[10529]: 8336A40525BFE: removed
|
144
|
+
|
145
|
+
Oct 5 16:00:02 s1example postfix/qmgr[10529]: B5F0940525BFC: from=<return@example.com>, size=534, nrcpt=1 (queue active)
|
146
|
+
|
147
|
+
Oct 5 16:00:02 s1example postfix/pickup[5790]: D06BA40525BFD: uid=1001 from=<return@example.com>
|
148
|
+
|
149
|
+
Oct 5 16:00:02 s1example postfix/cleanup[9830]: D06BA40525BFD: message-id=<JD20201005160002.9778.sender@example.com>
|
150
|
+
|
151
|
+
Oct 5 16:00:02 s1example postfix/smtp[9843]: 9C96D40525BFF: to=<destination+6@example.com>, relay=mx01.muumuu-mail.com[123.4.567.8]:25, delay=0.39, delays=0.17/0/0.04/0.18, dsn=2.0.0, status=sent (250 Queued! <JD20201005160002.9778.sender@example.com> (Queue-Id: EC3311A40478))
|
152
|
+
|
153
|
+
Oct 5 16:00:02 s1example postfix/qmgr[10529]: 9C96D40525BFF: removed
|
154
|
+
|
155
|
+
Oct 5 16:00:03 s1example postfix/qmgr[10529]: D06BA40525BFD: from=<return@example.com>, size=534, nrcpt=1 (queue active)
|
156
|
+
|
157
|
+
Oct 5 16:00:03 s1example postfix/pickup[5790]: 00F0E40525BFE: uid=1001 from=<return@example.com>
|
158
|
+
|
159
|
+
Oct 5 16:00:03 s1example postfix/cleanup[9830]: 00F0E40525BFE: message-id=<JD20201005160002.9778.sender@example.com>
|
160
|
+
|
161
|
+
Oct 5 16:00:03 s1example postfix/smtp[9846]: B5F0940525BFC: to=<destination+7@example.com>, relay=mx01.muumuu-mail.com[123.4.567.8]:25, delay=0.35, delays=0.17/0/0.05/0.13, dsn=2.0.0, status=sent (250 Queued! <JD20201005160002.9778.sender@example.com> (Queue-Id: 0843E41004F6))
|
162
|
+
|
163
|
+
Oct 5 16:00:03 s1example postfix/qmgr[10529]: B5F0940525BFC: removed
|
164
|
+
|
165
|
+
Oct 5 16:00:03 s1example postfix/qmgr[10529]: 00F0E40525BFE: from=<return@example.com>, size=534, nrcpt=1 (queue active)
|
166
|
+
|
167
|
+
Oct 5 16:00:03 s1example postfix/pickup[5790]: 178EE40525BFC: uid=1001 from=<return@example.com>
|
168
|
+
|
169
|
+
Oct 5 16:00:03 s1example postfix/cleanup[9830]: 178EE40525BFC: message-id=<JD20201005160003.9778.sender@example.com>
|
170
|
+
|
171
|
+
Oct 5 16:00:03 s1example postfix/smtp[9849]: D06BA40525BFD: to=<destination+8@example.com>, relay=mx01.muumuu-mail.com[123.4.567.8]:25, conn_use=2, delay=0.38, delays=0.21/0/0.01/0.15, dsn=2.0.0, status=sent (250 Queued! <JD20201005160002.9778.sender@example.com> (Queue-Id: 2751D1A40569))
|
172
|
+
|
173
|
+
Oct 5 16:00:03 s1example postfix/smtp[9837]: 240E740525BF9: to=<test@example.com>, relay=mx01.muumuu-mail.com[123.4.567.8]:25, delay=1.1, delays=0.17/0.02/0.77/0.15, dsn=2.0.0, status=sent (250 Queued! <JD20201005160002.9778.sender@example.com> (Queue-Id: 275391A405C0))
|
174
|
+
|
175
|
+
Oct 5 16:00:03 s1example postfix/qmgr[10529]: 240E740525BF9: removed
|
176
|
+
|
177
|
+
Oct 5 16:00:03 s1example postfix/qmgr[10529]: D06BA40525BFD: removed
|
178
|
+
|
179
|
+
Oct 5 16:00:03 s1example postfix/cleanup[9864]: 2E2AD40525BF9: message-id=<20201005070003.2E2AD40525BF9@s1.example.com>
|
180
|
+
|
181
|
+
Oct 5 16:00:03 s1example postfix/qmgr[10529]: 178EE40525BFC: from=<return@example.com>, size=535, nrcpt=1 (queue active)
|
182
|
+
|
183
|
+
Oct 5 16:00:03 s1example postfix/pickup[5790]: 3E15440525BFD: uid=1001 from=<return@example.com>
|
184
|
+
|
185
|
+
Oct 5 16:00:03 s1example postfix/cleanup[9830]: 3E15440525BFD: message-id=<JD20201005160003.9778.sender@example.com>
|
186
|
+
|
187
|
+
Oct 5 16:00:03 s1example postfix/smtp[9843]: 00F0E40525BFE: to=<destination+9@example.com>, relay=mx01.muumuu-mail.com[123.4.567.8]:25, conn_use=2, delay=0.34, delays=0.16/0/0.01/0.17, dsn=2.0.0, status=sent (250 Queued! <JD20201005160002.9778.sender@example.com> (Queue-Id: 4193F4100543))
|
188
|
+
|
189
|
+
Oct 5 16:00:03 s1example postfix/qmgr[10529]: 2E2AD40525BF9: from=<>, size=2547, nrcpt=1 (queue active)
|
190
|
+
|
191
|
+
Oct 5 16:00:03 s1example postfix/bounce[9861]: 37FC840525BFA: sender non-delivery notification: 2E2AD40525BF9
|
192
|
+
|
193
|
+
Oct 5 16:00:03 s1example postfix/trivial-rewrite[9557]: warning: do not list domain example.com in BOTH virtual_mailbox_domains and relay_domains
|
194
|
+
|
195
|
+
Oct 5 16:00:03 s1example postfix/qmgr[10529]: 00F0E40525BFE: removed
|
196
|
+
|
197
|
+
Oct 5 16:00:03 s1example postfix/qmgr[10529]: 37FC840525BFA: removed
|
198
|
+
|
199
|
+
Oct 5 16:00:03 s1example postfix/qmgr[10529]: 3E15440525BFD: from=<return@example.com>, size=535, nrcpt=1 (queue active)
|
200
|
+
|
201
|
+
Oct 5 16:00:03 s1example postfix/smtp[9846]: 178EE40525BFC: to=<destination+10@example.com>, relay=mx01.muumuu-mail.com[123.4.567.8]:25, conn_use=3, delay=0.39, delays=0.22/0.04/0.01/0.13, dsn=2.0.0, status=sent (250 Queued! <JD20201005160003.9778.sender@example.com> (Queue-Id: 671CC1A40569))
|
202
|
+
|
203
|
+
Oct 5 16:00:03 s1example postfix/qmgr[10529]: 178EE40525BFC: removed
|
204
|
+
|
205
|
+
Oct 5 16:00:03 s1example postfix/pickup[5790]: 66AD340525BFA: uid=1001 from=<return@example.com>
|
206
|
+
|
207
|
+
Oct 5 16:00:03 s1example postfix/virtual[9868]: 2E2AD40525BF9: to=<return@example.com>, relay=virtual, delay=0.26, delays=0.11/0.01/0/0.14, dsn=2.0.0, status=sent (delivered to maildir)
|
208
|
+
|
209
|
+
Oct 5 16:00:03 s1example postfix/qmgr[10529]: 2E2AD40525BF9: removed
|
210
|
+
|
211
|
+
Oct 5 16:00:03 s1example postfix/cleanup[9864]: 66AD340525BFA: message-id=<JD20201005160003.9778.sender@example.com>
|
212
|
+
|
213
|
+
Oct 5 16:00:03 s1example postfix/smtp[9837]: 3E15440525BFD: to=<destination+11@example.com>, relay=mx01.muumuu-mail.com[123.4.567.8]:25, conn_use=3, delay=0.29, delays=0.12/0/0.01/0.17, dsn=2.0.0, status=sent (250 Queued! <JD20201005160003.9778.sender@example.com> (Queue-Id: 71DC341004F6))
|
214
|
+
|
215
|
+
Oct 5 16:00:03 s1example postfix/qmgr[10529]: 3E15440525BFD: removed
|
216
|
+
|
217
|
+
Oct 5 16:00:03 s1example postfix/qmgr[10529]: 66AD340525BFA: from=<return@example.com>, size=535, nrcpt=1 (queue active)
|
218
|
+
|
219
|
+
Oct 5 16:00:03 s1example postfix/pickup[5790]: 7F0B040525BF9: uid=1001 from=<return@example.com>
|
220
|
+
|
221
|
+
Oct 5 16:00:03 s1example postfix/cleanup[9830]: 7F0B040525BF9: message-id=<JD20201005160003.9778.sender@example.com>
|
222
|
+
|
223
|
+
Oct 5 16:00:03 s1example postfix/qmgr[10529]: 7F0B040525BF9: from=<return@example.com>, size=535, nrcpt=1 (queue active)
|
224
|
+
|
225
|
+
Oct 5 16:00:03 s1example postfix/pickup[5790]: 997BF40525BFC: uid=1001 from=<return@example.com>
|
226
|
+
|
227
|
+
Oct 5 16:00:03 s1example postfix/cleanup[9864]: 997BF40525BFC: message-id=<JD20201005160003.9778.sender@example.com>
|
228
|
+
|
229
|
+
```
|
4
説明文追加
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
postfixで
|
1
|
+
postfixでsendmailコマンドの処理速度を高速化するには
|
test
CHANGED
@@ -12,7 +12,27 @@
|
|
12
12
|
|
13
13
|
テストとしてforでループしながら千通のメールを送信するだけのプログラムを実行してみても、処理が終了するまで2分程かかってしまいます。
|
14
14
|
|
15
|
-
(テストは独自ドメインのサブアドレス宛に送っている為再送なくスムーズに全件送られます)
|
15
|
+
(テストは独自ドメインのサブアドレス宛に送っている為全件再送なくスムーズに全件送られます)
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
```Perl
|
20
|
+
|
21
|
+
for (my $i = 1 ; $i <= 1000 ; $i++) {
|
22
|
+
|
23
|
+
open(MAIL, "| /usr/sbin/sendmail destination+".$i."@example.com");
|
24
|
+
|
25
|
+
print MAIL "From: sender@example.com\n";
|
26
|
+
|
27
|
+
~この後ヘッダやら本文やらを指定~
|
28
|
+
|
29
|
+
close(MAIL);
|
30
|
+
|
31
|
+
}
|
32
|
+
|
33
|
+
```
|
34
|
+
|
35
|
+
|
16
36
|
|
17
37
|
|
18
38
|
|
@@ -46,6 +66,8 @@
|
|
46
66
|
|
47
67
|
●main.cf
|
48
68
|
|
69
|
+
```
|
70
|
+
|
49
71
|
default_process_limit = 5000
|
50
72
|
|
51
73
|
smtpd_client_connection_count_limit = 200
|
@@ -59,3 +81,5 @@
|
|
59
81
|
smtpd_error_sleep_time = 0
|
60
82
|
|
61
83
|
in_flow_delay = 0
|
84
|
+
|
85
|
+
```
|
3
説明追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
|
13
13
|
テストとしてforでループしながら千通のメールを送信するだけのプログラムを実行してみても、処理が終了するまで2分程かかってしまいます。
|
14
14
|
|
15
|
-
|
15
|
+
(テストは独自ドメインのサブアドレス宛に送っている為再送なくスムーズに全件送られます)
|
16
16
|
|
17
17
|
|
18
18
|
|
2
設定項目追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -52,6 +52,8 @@
|
|
52
52
|
|
53
53
|
default_destination_recipient_limit = 100
|
54
54
|
|
55
|
+
default_destination_concurrency_limit = 60
|
56
|
+
|
55
57
|
smtp_connect_timeout = 10s
|
56
58
|
|
57
59
|
smtpd_error_sleep_time = 0
|
1
実行方法を追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,8 +1,16 @@
|
|
1
|
-
古い以前のサーバでは1万通のメールを5分程で送り終えていましたが、サーバを変えてから同じリストに配信しても、
|
1
|
+
古い以前のサーバでは1万通のメールを5分程で送り終えていましたが、サーバを変えてから同じリストに配信しても、26分程かかる様になってしまいました。
|
2
2
|
|
3
3
|
|
4
4
|
|
5
5
|
処理能力的にはまだまだ余裕があると思うのですが、どの設定項目を変更すれば早く処理出来る様になりますでしょうか?
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
ちなみに、メールの送信はPerlプログラムから行っています。
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
テストとしてforでループしながら千通のメールを送信するだけのプログラムを実行してみても、処理が終了するまで2分程かかってしまいます。
|
6
14
|
|
7
15
|
|
8
16
|
|