If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.

0
U

Property:mailer (avmcmd)

From BoxMatrix


BoxMatrix >> Shell-Commands >> mailer (avmcmd) @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Media

Startup-Scr Hotplug-Scr BusyBox-Cmds Bash-Cmds AVM-Cmds Chipset-Cmds Linux-Cmds Shared-Libs Kernel-Mods Research

Info
  
Name-Collision - multiple objects in this wiki use the name mailer!
mailer (avmcmd) SMTP / SMTPS system MTA to send Email
mailer (process) SMTP / SMTPS system MTA to send Email

AVM-Command

Goto:   Callers  -  Config  -  Source  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

mailer is the system MTA, responsible for sending Email using SMTP or SMTPS.
It is used to send all kinds of Push-Mail, Fax2Mail, Crash-Mail and Email from a FRITZ!Fon, see the Callers below.

By default it uses the SMTP / SMTPS server configured for Push-Mail, but it could be passed options to use a different server.
If the target address is an AVM address and Push-Mail is not configured mailer uses a hardcoded SMTP server of AVM.

fw 7.29 help:

root@fritz2:/var/mod/root# mailer -?

usage: mailer [-s subject] -f from -t to -m mailserver [-a authname [-w passwd]] -i file(s) [-r] [-d attachfile(s)] [-l] [-c charset]

options:
  -?                 - print this help
  -p STRING          - pidfile. ("/var/run/mmailer.pid")
  -s STRING          - subject. ("FRITZ!Box")
  -f STRING          - from. (NULL)
  -t STRING          - to. (NULL)
  -m STRING          - mailserver. (NULL)
  -a STRING          - authname. (NULL)
  -w STRING          - passwd. (NULL)
  -n                 - no SMTP-Auth. (NOTSET)
  -d STRING          - attachment(s). (NULL)
  -i STRING          - inline part(s) - add text file(s) here. (NULL)
  -r                 - use "multipart/related" if possible. (NOTSET)
  -l                 - SMTP with SSL or TLS. (NOTSET)
  -c STRING          - charset (default: iso-8859-1, no charset conversion!). (NULL)
  -D STRING          - switch debug logs on. (FUNC)

note: please use filename extensions if possible

Callers

Direct launch of mailer:

Indirect launch through libemailservice.so - fw 5.27+:

Config

Daily updated index of Configuration files accessed by this command. Last update: 2024-04-24 06:35 GMT.
A - in the Mod column marks manual research, the Firmware then shows where the item occurs, not the Relation.

Relation Typ Object Mod Firmware Info Origin
Config from tffs ar7.cfg (tffs) - 4.07 - 7.90 TODO AVM
1 config relation for this command

Source

The names of source files compiled into an executable often help to understand function blocks (and show gaps in the docs).
fw 7.39 source files:

$ strings /sbin/mailer | grep -e '\.c$' -e '\.cpp$'

ar7/mailer/main.c
sharedlibs/mmailer/session.c
sharedlibs/mmailer/smtpprot.c
sharedlibs/mmailer/util.c
sharedlibs/mmailer/base64coder.c
sharedlibs/mmailer/qpcoder.c  

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-04-24 07:26 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
Runs as proc mailer (process) 5* 7.24 - 7.39 SMTP / SMTPS system MTA to send Email AVM
Depends on lib ld.so 40 7.08 - 7.90 Dynamic linker / loader Linux
Depends on lib libar7cfg.so 118 4.34 - 7.90 TFFS-Configuration API to ar7.cfg and many more. AVM
Depends on lib libavmauth.so 76 6.51 - 7.90 Fritzbox authentification helpers AVM
Depends on lib libavmcipher.so 118 4.34 - 7.90 AES / DES / Rijndael encryption / decryption. AVM
Depends on lib libavmcsock.so 131 3.42 - 7.90 Networking, I/O and helper functions AVM
Depends on lib libavmfbconf.so 53 7.39 - 7.80 API to hardcoded fbconf.cfg AVM
Depends on lib libavmfbstate.so 56 7.39 - 7.90 IPC fritzbox state notification AVM
Depends on lib libavmhmac.so 118 4.34 - 7.90 HMAC / SHA / MD5 hashing. AVM
Depends on lib libavmnexus.so 72 6.98 - 7.90 avmnexusd worker socket API AVM
Depends on lib libavmnexuscpp.so 72 6.98 - 7.90 Mesh client / server C++ API class Linux
Depends on lib libavmnexusmail.so 72 6.98 - 7.90 Push-Mail across a Mesh network Linux
Depends on lib libavmwdt.so 16 7.59 - 7.90 AVM-Watchdogs management API AVM
Depends on lib libboxenv.so 12 7.90 API to the rc.conf enhanced Config-Environment AVM
Depends on lib libboxlib.so 131 3.85 - 7.90 Box status, logging and statistics functions AVM
Depends on lib libboxnotify.so 1 6.35 boxnotifyd client API (old) AVM
Depends on lib libc.so 131 3.42 - 7.90 Standard C library Linux
Depends on lib libcore.so 16 7.59 - 7.90 Collects the MAC addresses of the device it's running on AVM
Depends on lib libcrypto.so 56 7.39 - 7.90 OpenSSL general crypto and X.509 library Linux
Depends on lib libdl.so 119 3.42 - 7.90 Dynamic linking library Linux
Depends on lib libdputil.so 82 6.35 - 7.90 DataPipe / packet utilities AVM
Depends on lib libemailservice.so 12 7.90 Email sender using mailer AVM
Depends on lib libeventlog.so 12 7.90 System Event-Log management API AVM
Depends on lib libewnwjson.so 12 7.90 JSON helper functions AVM
Depends on lib libewnwlinux.so 82 6.35 - 7.90 Linux networking functions AVM
Depends on lib libewnwnet.so 82 6.35 - 7.90 Internet helper functions AVM
Depends on lib libfbconf.so 16 7.59 - 7.90 API to hardcoded fbconf.cfg AVM
Depends on lib libgcc_s.so 66 4.22 - 6.110 GCC low-level runtime library Linux
Depends on lib libhtmltemplate.so 12 7.90 Template preprocessor for HTML / XML markup AVM
Depends on lib libjuisclient.so 12 7.90 Update-Search - second generation - JUIS AVM
Depends on lib liblocalize.so 12 7.90 Charset conversion helper functions AVM
Depends on lib libm.so 7 7.90 C math library Linux
Depends on lib liboauth2.so 12 7.90 OAuth v2.0 authentificator Linux
Depends on lib libpthread.so 119 3.42 - 7.90 POSIX threading library Linux
Depends on lib librt.so 70 6.35 - 7.90 POSIX realtime extensions library Linux
Depends on lib libslab.so 34 3.73 - 4.99 Slab allocator or empty dummy library Linux
Depends on lib libslab_c++.so 12 7.90 C++ slab allocator AVM
Depends on lib libsvctl.so 61 7.19 - 7.90 supervisor notification library AVM
Depends on lib libtiinterpreter.so 56 7.39 - 7.90 Preprocessor for SSI-Files by TI. AVM
Depends on lib libwdt.so 128 3.85 - 7.80 AVM-Watchdogs management API AVM
Depends on lib libwebkpiclient.so 50 7.39 - 7.90 KPI sensor for system parts which use HTTP / HTTPS AVM
Depends on lib libwebsrv.so 82 6.35 - 7.90 HTTP / HTTPS webserver and tools. AVM
Depends on lib libyajl.so 12 7.90 Event-driven JSON parser Linux
Depends on lib libz.so 72 6.83 - 7.90 Zlib compressor / decompressor Linux
44 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2024-04-24 05:11 GMT.
Showing all models using this command. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom) label in the Model column shows which CPU is meant for models with multiple Linux instances.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.

Model Firmware Path Size
FRITZ!Box 3.62 - 4.02 /sbin 35.3k - 43.6k
FRITZ!Box 2070 3.87 - 4.15 /sbin 43.5k - 43.6k
FRITZ!Box 2170 4.31 - 4.57 /sbin 35.9k - 40.1k
FRITZ!Box SL WLAN 3.65 - 4.34 /sbin 35.3k - 43.6k
FRITZ!Box WLAN 3020 3.65 - 4.34 /sbin 35.3k - 43.6k
FRITZ!Box WLAN 3030 3.65 - 4.34 /sbin 35.3k - 43.6k
FRITZ!Box WLAN 3050 3.63 - 4.07 /sbin 35.3k - 43.6k
FRITZ!Box WLAN 3070 3.87 - 4.15 /sbin 43.5k - 43.6k
FRITZ!Box WLAN 3130 4.21 - 4.34 /sbin 39.8k - 43.6k
FRITZ!Box WLAN 3131 4.29 - 4.57 /sbin 35.9k - 40.1k
FRITZ!Box WLAN 3170 4.31 - 4.58 /sbin 35.9k - 40.1k
FRITZ!Box WLAN 3270 4.57 - 5.54 /sbin 37.4k - 43.4k
FRITZ!Box WLAN 3270 v3 4.77 - 5.54 /sbin 37.4k - 39.4k
FRITZ!Box 3272 5.50 - 6.89 /sbin 38.4k - 40.3k
FRITZ!Box WLAN 3370 5.01 - 6.56 /sbin 36.7k - 41.1k
FRITZ!Box 3390 5.50 - 6.56 /sbin 38.2k - 41.1k
FRITZ!Box 3490 (main) 6.20 - 7.30 /sbin 38.7k - 48.4k
FRITZ!Box Fon ata 3.45 - 4.28 /sbin 35.3k - 43.6k
FRITZ!Box Fon ata 1020 3.45 - 4.28 /sbin 35.3k - 43.6k
FRITZ!Box 4020 7.39 /sbin 40.2k - 45.7k
FRITZ!Box 4040 6.52 - 7.57 /sbin 30.7k - 45.7k
FRITZ!Box 4050 7.57 /sbin 37.6k
FRITZ!Box 4060 7.26 - 7.57 /sbin 37.6k - 45.7k
FRITZ!Box Fon 3.42 - 4.49 /sbin 35.3k - 43.6k
FRITZ!Box Fon 5010 3.88 - 4.43 /sbin 39.8k - 43.6k
FRITZ!Box Fon 5012 3.88 - 4.27 /sbin 43.5k - 43.6k
FRITZ!Box Fon 5050 3.68 - 4.31 /sbin 35.3k - 43.6k
FRITZ!Box Fon 5124 4.47 - 4.77 /sbin 39.3k - 39.8k
FRITZ!Box Fon 5140 4.25 - 4.41 /sbin 35.8k - 43.6k
VoIP Gateway 5188 4.28 - 4.81 /sbin 39.3k - 44.3k
FRITZ!Box 5490 (main) 6.51 - 7.29 /sbin 41.1k - 48.3k
FRITZ!Box 5491 (main) 7.01 - 7.29 /sbin 43.7k - 48.3k
FRITZ!Box 5530 Fiber (main) 7.21 - 7.80 /sbin 44.0k - 45.7k
FRITZ!Box 5590 Fiber (arm) 7.27 - 7.90 /sbin 37.6k - 45.7k
FRITZ!Box 5690 Pro (arm) 7.59 - 7.60 /sbin 37.6k
FRITZ!Box 6320 Cable v1 6.03 - 6.04 /sbin 29.1k
FRITZ!Box 6320 Cable v2 6.21 /sbin 29.6k
FRITZ!Box 6340 Cable 5.24 /sbin 28.5k
FRITZ!Box 6360 Cable 4.85 - 6.51 /sbin 27.7k - 30.8k
FRITZ!Box 6430 Cable (arm) 6.84 - 7.57 /sbin 35.8k - 45.7k
FRITZ!Box 6430 Cable (atom) 6.84 - 7.29 /sbin 35.8k - 41.5k
FRITZ!Box 6490 Cable (arm) 6.20 - 7.57 /sbin 30.2k - 45.7k
FRITZ!Box 6490 Cable (atom) 6.83 - 7.51 /sbin 35.8k - 41.5k
FRITZ!Box 6590 Cable (arm) 6.83 - 7.57 /sbin 35.8k - 45.7k
FRITZ!Box 6590 Cable (atom) 6.83 - 7.51 /sbin 35.8k - 41.5k
FRITZ!Box 6591 Cable (arm) 7.04 - 7.90 /sbin 40.6k - 45.7k
FRITZ!Box 6591 Cable (atom) 7.04 - 7.90 /sbin 40.6k - 45.7k
FRITZ!Box 6660 Cable (arm) 7.14 - 7.90 /sbin 41.6k - 45.7k
FRITZ!Box 6660 Cable (atom) 7.14 - 7.90 /sbin 41.6k - 45.7k
FRITZ!Box 6670 Cable (arm) 7.57 - 7.62 /sbin 45.7k
FRITZ!Box 6670 Cable (atom) 7.61 - 7.62 /sbin 45.7k
FRITZ!Box 6690 Cable (arm) 7.28 - 7.90 /sbin 41.6k - 45.7k
FRITZ!Box 6690 Cable (atom) 7.28 - 7.90 /sbin 41.6k - 45.7k
FRITZ!Box 6810 LTE 6.35 /sbin 38.1k - 38.7k
FRITZ!Box 6820 LTE v1 6.40 - 7.51 /sbin 40.3k - 48.4k
FRITZ!Box 6820 LTE v2 6.40 - 7.51 /sbin 40.3k - 48.4k
FRITZ!Box 6820 LTE v3 7.19 - 7.57 /sbin 44.1k - 44.3k
FRITZ!Box 6840 LTE 5.08 - 7.39 /sbin 36.7k - 45.7k
FRITZ!Box 6842 LTE /sbin 38.1k - 38.7k
FRITZ!Box 6850 LTE 7.21 - 7.90 /sbin 33.6k - 45.7k
FRITZ!Box 6850 5G 7.24 - 7.90 /sbin 37.6k - 45.7k
FRITZ!Box 6890 LTE 6.84 - 7.51 /sbin 41.1k - 48.4k
FRITZ!Box 6890 LTE v1 6.84 - 7.51 /sbin 41.1k - 48.4k
FRITZ!Box 6890 LTE v2 6.84 - 7.51 /sbin 41.1k - 48.4k
FRITZ!Box Fon WLAN 3.42 - 4.49 /sbin 35.3k - 43.6k
FRITZ!Box Fon WLAN 7050 3.58 - 4.50 /sbin 35.3k - 43.6k
FRITZ!Box Fon WLAN 7112 4.76 - 4.88 /sbin 39.3k - 39.4k
FRITZ!Box Fon WLAN 7140 4.02 - 4.77 /sbin 39.3k - 44.1k
FRITZ!Box Fon WLAN 7141 4.14 - 4.77 /sbin 39.3k - 67.6k
FRITZ!Fon 7150 4.27 - 4.77 /sbin 39.4k - 44.1k
FRITZ!Box Fon WLAN 7170 3.96 - 4.99 /sbin 39.3k - 44.3k
FRITZ!Box Fon WLAN 7170 v1 3.96 - 4.99 /sbin 39.3k - 44.3k
FRITZ!Box Fon WLAN 7170 v2 3.96 - 4.99 /sbin 39.3k - 44.3k
FRITZ!Box Fon WLAN 7240 4.65 - 6.06 /sbin 37.4k - 44.3k
FRITZ!Box Fon WLAN 7270 v1 4.44 - 4.99 /sbin 39.3k - 44.3k
FRITZ!Box Fon WLAN 7270 v2 4.67 - 6.06 /sbin 36.7k - 44.3k
FRITZ!Box Fon WLAN 7270 v3 4.76 - 6.06 /sbin 36.7k - 44.3k
FRITZ!Box 7272 5.55 - 7.39 /sbin 38.4k - 45.7k
FRITZ!Box 7312 5.23 - 6.56 /sbin 37.6k - 40.3k
FRITZ!Box Fon WLAN 7320 4.85 - 6.35 /sbin 37.4k - 38.7k
FRITZ!Box 7330 5.06 - 6.56 /sbin 36.7k - 40.3k
FRITZ!Box 7330 SL 5.08 - 6.56 /sbin 36.7k - 40.3k
FRITZ!Box Fon WLAN 7340 4.83 - 5.05 /sbin 37.3k - 39.4k
FRITZ!Box Fon WLAN 7360 SL 5.04 - 6.34 /sbin 36.7k - 38.7k
FRITZ!Box Fon WLAN 7360 v1 5.06 - 6.36 /sbin 36.7k - 38.7k
FRITZ!Box Fon WLAN 7360 v2 5.22 - 6.88 /sbin 37.8k - 41.1k
FRITZ!Box 7362 SL 5.53 - 7.14 /sbin 38.2k - 48.4k
FRITZ!Box 7369 6.30 - 6.32 /sbin 38.7k
FRITZ!Box Fon WLAN 7390 4.81 - 5.22 /sbin 36.7k - 40.3k
FRITZ!Box 7412 6.21 - 6.88 /sbin 38.7k - 41.1k
FRITZ!Box 7430 6.26 - 7.39 /sbin 39.6k - 48.4k
FRITZ!Box 7490 (main) 5.57 - 7.57 /sbin 37.0k - 48.4k
FRITZ!Box 7510 7.30 - 7.57 /sbin 37.6k
FRITZ!Box 7520 6.98 - 7.51 /sbin 34.6k - 45.7k
FRITZ!Box 7520 v2 (arm) 7.30 - 7.57 /sbin 37.6k - 45.7k
FRITZ!Box 7530 6.98 - 7.56 /sbin 33.6k - 45.7k
FRITZ!Box 7530 AX 7.20 - 7.90 /sbin 37.7k - 45.7k
FRITZ!Box 7560 6.51 - 7.39 /sbin 41.1k - 48.4k
FRITZ!Box Fon WLAN 7570 vDSL 4.70 - 4.94 /sbin 39.3k - 44.3k
FRITZ!Box 7580 6.53 - 7.30 /sbin 41.1k - 48.4k
FRITZ!Box 7581 6.54 - 7.16 /sbin 30.2k - 41.8k
FRITZ!Box 7582 6.83 - 7.17 /sbin 30.2k - 41.8k
FRITZ!Box 7583 7.01 - 7.57 /sbin 43.5k - 48.4k
FRITZ!Box 7583 VDSL 7.19 - 7.31 /sbin 44.2k
FRITZ!Box 7590 6.83 - 7.90 /sbin 41.1k - 48.4k
FRITZ!Box 7590 AX 7.19 - 7.90 /sbin 44.0k - 45.7k
FRITZ!Box 7690 7.59 /sbin 37.6k
FRITZ!Smart Gateway 7.39 - 7.59 /sbin 37.6k
FRITZ!WLAN Repeater 300E 5.09 - 6.34 /sbin 36.9k - 39.6k
FRITZ!WLAN Repeater 310 A 5.24 - 7.16 /sbin 37.5k - 48.4k
FRITZ!WLAN Repeater 310 B 6.30 - 7.16 /sbin 40.2k - 48.4k
FRITZ!WLAN Repeater 450E 6.00 - 7.15 /sbin 38.4k - 48.4k
FRITZ!Repeater 600 7.11 - 7.58 /sbin 36.1k - 48.4k
FRITZ!Repeater 600 v2 7.19 - 7.58 /sbin 36.1k - 36.3k
FRITZ!WLAN Repeater 1160 6.51 - 7.15 /sbin 41.1k - 48.4k
FRITZ!Repeater 1200 7.11 - 7.58 /sbin 37.6k - 45.7k
FRITZ!Repeater 1200 AX 7.27 - 7.57 /sbin 37.6k
FRITZ!WLAN Repeater 1750E 6.12 - 7.39 /sbin 38.7k - 48.4k
FRITZ!Repeater 2400 7.12 - 7.58 /sbin 36.1k - 48.3k
FRITZ!Repeater 3000 6.98 - 7.58 /sbin 33.6k - 45.7k
FRITZ!Repeater 3000 AX 7.39 - 7.57 /sbin 33.6k - 45.7k
FRITZ!Repeater 6000 7.19 - 7.57 /sbin 37.6k
FRITZ!WLAN Repeater DVB-C 6.12 - 7.03 /sbin 38.7k - 43.7k
FRITZ!Powerline 540E 5.58 - 7.15 /sbin 38.4k - 48.4k
FRITZ!Powerline 546E 5.50 - 7.15 /sbin 38.1k - 48.4k
FRITZ!Powerline 1240 AX 7.51 - 7.57 /sbin 37.6k
FRITZ!Powerline 1240E 6.33 - 7.16 /sbin 40.2k - 48.4k
FRITZ!Powerline 1260E 6.90 - 7.57 /sbin 30.7k - 45.7k
FRITZ!Powerline 1260 7.27 - 7.57 /sbin 37.6k - 37.7k
Speedport W 501V 3.93 - 4.07 /sbin 43.6k
Speedport W 503V MK 4.79 /sbin 39.3k
131 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-04-24 07:26 GMT.

Firmware Symbol
4.57 - 7.32 ConvertFromB64
3.42 - 7.32 ConvertToB64
5.50 - 7.32 ConvertToB64WithoutCRLF
3.42 - 7.32 GuessContentType
3.42 - 7.17 LMSOCloseH
3.42 - 4.99 LMSOConnectedSession
3.42 - 4.99 LMSODisconnectedSession
3.42 - 7.17 LMSOSmtpReceiveH
3.42 - 7.17 LMSOSocketTimeout
3.42 - 7.16 LMSSGetTimeStr
3.42 - 7.16 LMSSWriteFileToSocket
3.42 - 4.99 SetAttachementToFile
3.42 - 7.16 StartSession
4.52 - 7.16 correct_crlf
4.57 - 7.16 cram_md5_response
4.47 - 7.16 encode_qp
4.03 - 4.99 encode_str
4.47 - 7.16 encode_str_qp
3.42 - 7.90 free_mailer
6.20 - 7.90 get_LastMessageId
3.42 - 7.90 main
3.42 - 4.99 parse_auth
3.42 - 4.99 parse_smtp_server_string
3.85 - 7.16 pure_filename
6.20 - 7.90 set_LastMessageId
3.42 - 7.90 start_mailer
26 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.