www.eserv.ru // SmtpSend4

wikipost /2011-12-14 18:51/ (v1)
Продукты и услуги Скачать Документация Купить Поддержка Форумы Партнёрам Статьи О компании
News
15.05.2012
Eserv504
15.05.2012
ActiveSync
01.04.2012
Eproxy508
25.03.2012
Eserv503
26.02.2012
Eserv502
08.02.2012
UMI.CMS
22.12.2011
Eserv431
20.12.2011
Eproxy507
15.11.2011
Eproxy506
19.09.2011
Eproxy505
08.09.2011
Eserv430
07.09.2011
Lightning
19.07.2011
PoweredBy
16.07.2011
IPv6
08.07.2011
Eproxy5beta1
17.06.2011
IPv6DNS
13.06.2011
IPv6Mail
21.03.2011
Eserv428
22.10.2010
Eserv426
22.10.2010
SSL
22.04.2010
Eserv423
20.04.2010
Eserv4WhatsNew
19.04.2010
EservLDAP
19.04.2010
EservDHCP
19.04.2010
EservRubricator
08.04.2010
EservDNS
08.04.2010
NSСI
08.04.2010
WPAD
27.03.2010
Eserv422
27.03.2010
Eserv4Docs
26.03.2010
Eserv4FAQ
21.03.2010
EservIrc
05.03.2010
Eserv421
05.03.2010
HttpProxy
02.03.2010
EservVideo
02.12.2009
Eserv4Wiki
02.12.2009
Eserv4acWEB
02.12.2009
PopPull
22.11.2009
PigMailPigProxy2/WhatsNew
22.11.2009
PigMail/WhatsNew
23.09.2009
FossilEservHowTo
22.09.2009
SourceCodeManagement
22.09.2009
FossilScm
16.09.2009
SendEmail
08.09.2009
RoundCube
07.05.2009
GitScm
07.05.2009
GitEservHowTo
06.05.2009
SunBird

SmtpSend4

#|
||-s servername|DNS server name (autodetect by default)||
||-p portnumber|port number for SMTP (default is 25)||
||-o outputfile|filename for messages (default is stdout)||
||-dial|dial before mail sending (only with Eserv/2)||
||-z|serialize SMTPSEND sessions||
||-b|daemon mode (do not exit; loop on mail\out\ folder)||
||-r|number of days to keep send trying; return if older||
||-ir|immediately return message on any errors||
||-rd|folder for returned mail (default 'mail\spool\')||
||-ra|MAILFROM for returned mail (default 'postmaster@local')||
||-debug|debug mode (DNS dump)||
||-v|validate only mode (without 'DATA' SMTPcommand)||
||-f foldername|set folder name (default 'mail\out\')||
||-sm|use specified SMTP server instead MX||
||-to|SMTP timeout in seconds (default is 10min)||
||-dmto|daemon mode tick interval||
||-pd|print current default DNS-server of TCP/IP stack||
||-dc|disable DNS checking||
||-ld|loop detect (equal MAIL FROM and RCPT TO)||
||-helo name|use specified name instead of domain in HELO command||
||-ehlo|use EHLO instead of HELO||
||-tls|use secure connection with STARTTLS, if available||
||-ssl|use secure connection (use -p command to set SSL port number)||
||-u|username, if ESMTP AUTH required by ISP||
||-w|password, if ESMTP AUTH required by ISP||
||-delay ms|delay 'ms' milliseconds after each send operation to slow down sending||
||-ini inifile|filename with global options (default is: {Eserv}\Eserv[.orig].ini, {ModuleDirName}\smtpsend4.ini)||
||-rh hours|move to retry folder, if can't post within 'hours' (default is 4 hr)||
||-rf retryfolder|retry folder name (default is mail\retry\)||
||-rn notifyfile|template of notification message for -rh (default is built-in template)||
||-s3|send to 'A' host when 'MX's not accepting message (default — use 'A' only if there no 'MX's at all)||
||-sh isp_server|use this server if MX- and A- delivery failed||
||-dw|disable icon and log-window creating||
||-ln number|limit number of lines in the listbox window (default is 30000)||
||-ll n|log format string ID (default is 912)||
||-pigmail|PigMail compatible mode (Eserv3.pigmail.ini)||
||-text|Text mode (no xml tags)||
||-cd|Change current directory (relative to ModuleDirName)||
|#

SmtpSend4 включен в состав Eserv, начиная с версии 3.

Upd 14.12.2011:
В версии 4.27 добавлена поддержка SSL-соединений (в дополнение к давно поддерживаемым TLS). Пример:

smtpsend4.exe -test -sm email-smtp.us-east-1.amazonaws.com -ssl -p 465
Работает на Eserv/7.0.beta1/Linux/arm64 (Dec 25 2023)