diff options
| author | manuel <manuel@mausz.at> | 2023-08-09 16:04:31 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2023-08-09 16:04:31 +0200 |
| commit | c36bd5f683eea9f6de05fcdda6d65505cbe8c316 (patch) | |
| tree | c3b1c3bf2b8452e3f76f337203507af9e436c2d2 | |
| parent | 2ae3dd41c6d46d80574c59eec9689c16093edf2b (diff) | |
| download | qmail-c36bd5f683eea9f6de05fcdda6d65505cbe8c316.tar.gz qmail-c36bd5f683eea9f6de05fcdda6d65505cbe8c316.tar.bz2 qmail-c36bd5f683eea9f6de05fcdda6d65505cbe8c316.zip | |
qmail-remote: disable QMTP
| -rw-r--r-- | qmail-remote.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qmail-remote.c b/qmail-remote.c index 1a09df9..c353bec 100644 --- a/qmail-remote.c +++ b/qmail-remote.c | |||
| @@ -1179,6 +1179,7 @@ char **argv; | |||
| 1179 | smtpfd = socket(AF_INET,SOCK_STREAM,0); | 1179 | smtpfd = socket(AF_INET,SOCK_STREAM,0); |
| 1180 | if (smtpfd == -1) temp_oserr(); | 1180 | if (smtpfd == -1) temp_oserr(); |
| 1181 | 1181 | ||
| 1182 | #if 0 | ||
| 1182 | if (qmtp_priority(ip.ix[i].pref)) { | 1183 | if (qmtp_priority(ip.ix[i].pref)) { |
| 1183 | if (timeoutconn(smtpfd,&ip.ix[i].ip,(unsigned int) qmtp_port,timeoutconnect) == 0) { | 1184 | if (timeoutconn(smtpfd,&ip.ix[i].ip,(unsigned int) qmtp_port,timeoutconnect) == 0) { |
| 1184 | tcpto_err(&ip.ix[i].ip,0); | 1185 | tcpto_err(&ip.ix[i].ip,0); |
| @@ -1189,6 +1190,7 @@ char **argv; | |||
| 1189 | smtpfd = socket(AF_INET,SOCK_STREAM,0); | 1190 | smtpfd = socket(AF_INET,SOCK_STREAM,0); |
| 1190 | if (smtpfd == -1) temp_oserr(); | 1191 | if (smtpfd == -1) temp_oserr(); |
| 1191 | } | 1192 | } |
| 1193 | #endif | ||
| 1192 | if (timeoutconn(smtpfd,&ip.ix[i].ip,(unsigned int) smtp_port,timeoutconnect) == 0) { | 1194 | if (timeoutconn(smtpfd,&ip.ix[i].ip,(unsigned int) smtp_port,timeoutconnect) == 0) { |
| 1193 | tcpto_err(&ip.ix[i].ip,0); | 1195 | tcpto_err(&ip.ix[i].ip,0); |
| 1194 | partner = ip.ix[i].ip; | 1196 | partner = ip.ix[i].ip; |
