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) Process running mailer

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-12-21 07:02 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 - 8.00 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-12-21 07:44 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 Process running mailer AVM
Depends on lib ld.so 41 7.08 - 8.00 Dynamic linker / loader Linux
Depends on lib libar7cfg.so 114 4.34 - 8.00 TFFS-Configuration API to ar7.cfg and many more. AVM
Depends on lib libavmauth.so 70 6.51 - 8.00 Fritzbox authentification helpers AVM
Depends on lib libavmcipher.so 114 4.34 - 8.00 AES / DES / Rijndael encryption / decryption. AVM
Depends on lib libavmcsock.so 127 3.42 - 8.00 Networking, I/O and helper functions AVM
Depends on lib libavmfbconf.so 41 7.39 - 7.81 API to hardcoded fbconf.cfg AVM
Depends on lib libavmfbstate.so 44 7.39 - 8.00 IPC fritzbox state notification AVM
Depends on lib libavmhmac.so 114 4.34 - 8.00 HMAC / SHA / MD5 hashing. AVM
Depends on lib libavmnexus.so 64 6.98 - 8.00 avmnexusd worker socket API AVM
Depends on lib libavmnexuscpp.so 64 6.98 - 8.00 Mesh client / server C++ API class AVM
Depends on lib libavmnexusmail.so 64 6.98 - 8.00 Push-Mail across a Mesh network AVM
Depends on lib libavmwdt.so 22 7.61 - 8.00 AVM-Watchdogs management API AVM
Depends on lib libboxenv.so 21 7.90 - 8.00 API to the rc.conf enhanced Config-Environment AVM
Depends on lib libboxlib.so 127 3.85 - 8.00 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 127 3.42 - 8.00 Standard C library Linux
Depends on lib libcore.so 22 7.61 - 8.00 Gathers the MAC addresses of the device and maintains its device mode. AVM
Depends on lib libcrypto.so 44 7.39 - 8.00 OpenSSL general crypto and X.509 library Linux
Depends on lib libdl.so 106 3.42 - 8.00 Dynamic linking library Linux
Depends on lib libdputil.so 77 6.35 - 8.00 DataPipe / packet utilities AVM
Depends on lib libemailservice.so 21 7.90 - 8.00 Email sender using mailer AVM
Depends on lib libeventlog.so 21 7.90 - 8.00 System Event-Log management API AVM
Depends on lib libewnwjson.so 21 7.90 - 8.00 JSON helper functions AVM
Depends on lib libewnwlinux.so 77 6.35 - 8.00 Linux networking functions AVM
Depends on lib libewnwnet.so 77 6.35 - 8.00 Internet helper functions AVM
Depends on lib libfbconf.so 22 7.61 - 8.00 API to hardcoded fbconf.cfg AVM
Depends on lib libgcc_s.so 64 4.22 - 6.110 GCC low-level runtime library Linux
Depends on lib libhtmltemplate.so 21 7.90 - 8.00 Template preprocessor for HTML / XML markup AVM
Depends on lib libjuisclient.so 21 7.90 - 8.00 Update-Search - second generation - JUIS AVM
Depends on lib liblocalize.so 21 7.90 - 8.00 Charset conversion helper functions AVM
Depends on lib libm.so 5 7.90 - 8.00 C math library Linux
Depends on lib liboauth2.so 21 7.90 - 8.00 OAuth v2.0 authentificator Linux
Depends on lib libpthread.so 106 3.42 - 8.00 POSIX threading library Linux
Depends on lib librt.so 56 6.35 - 8.00 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 21 7.90 - 8.00 C++ slab allocator AVM
Depends on lib libsvctl.so 52 7.19 - 8.00 supervisor notification library AVM
Depends on lib libtiinterpreter.so 44 7.39 - 8.00 Preprocessor for SSI-Files by TI. AVM
Depends on lib libwdt.so 124 3.85 - 7.81 AVM-Watchdogs management API AVM
Depends on lib libwebkpiclient.so 32 7.39 - 8.00 KPI sensor for system parts which use HTTP / HTTPS AVM
Depends on lib libwebsrv.so 77 6.35 - 8.00 HTTP / HTTPS webserver and tools. AVM
Depends on lib libyajl.so 21 7.90 - 8.00 Event-driven JSON parser Linux
Depends on lib libz.so 64 6.83 - 8.00 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-12-21 05:44 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/rtl) label in the Model column shows which CPU is meant for Multi-Linux models.
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 (main) 5.50 - 6.89 /sbin 38.4k - 40.3k
FRITZ!Box WLAN 3370 (main) 5.01 - 6.56 /sbin 36.7k - 41.1k
FRITZ!Box 3390 (main) 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 /sbin 40.2k - 43.7k
FRITZ!Box 4040 6.52 - 8.00 /sbin 30.7k - 37.7k
FRITZ!Box 4050 7.58 - 7.90 /sbin 37.6k
FRITZ!Box 4060 7.29 - 7.90 /sbin 37.6k
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 - 8.00 /sbin 44.0k - 44.2k
FRITZ!Box 5590 Fiber (main) 7.29 - 8.00 /sbin 37.6k
FRITZ!Box 5690 Pro (main) 7.62 /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 (atom) 6.84 - 7.29 /sbin 35.8k - 41.5k
FRITZ!Box 6490 Cable (arm) 6.20 - 6.64 /sbin 30.2k - 30.8k
FRITZ!Box 6490 Cable (atom) 6.83 - 7.51 /sbin 35.8k - 41.5k
FRITZ!Box 6590 Cable (atom) 6.83 - 7.51 /sbin 35.8k - 41.5k
FRITZ!Box 6591 Cable (arm) 7.04 - 7.08 /sbin 40.6k - 45.7k
FRITZ!Box 6591 Cable (atom) 7.04 - 8.00 /sbin 40.6k - 45.8k
FRITZ!Box 6660 Cable (atom) 7.14 - 8.00 /sbin 41.6k - 45.8k
FRITZ!Box 6670 Cable (atom) 7.61 - 7.90 /sbin 45.7k - 45.8k
FRITZ!Box 6690 Cable (atom) 7.28 - 7.90 /sbin 41.6k - 45.8k
FRITZ!Box 6810 LTE 6.35 /sbin 38.1k - 38.7k
FRITZ!Box 6820 LTE v1 (main) 6.40 - 7.59 /sbin 40.3k - 48.4k
FRITZ!Box 6820 LTE v2 (main) 6.40 - 7.59 /sbin 40.3k - 48.4k
FRITZ!Box 6820 LTE v3 (main) 7.19 - 7.57 /sbin 44.1k - 44.3k
FRITZ!Box 6820 LTE v4 7.59 /sbin 44.2k
FRITZ!Box 6840 LTE (main) 5.08 - 6.88 /sbin 36.7k - 41.1k
FRITZ!Box 6842 LTE /sbin 38.1k - 38.7k
FRITZ!Box 6850 LTE 7.21 - 7.90 /sbin 33.6k - 44.2k
FRITZ!Box 6850 5G 7.24 - 7.90 /sbin 37.6k - 37.7k
FRITZ!Box 6890 LTE (main) 6.84 - 7.57 /sbin 41.1k - 48.4k
FRITZ!Box 6890 LTE v1 (main) 6.84 - 7.57 /sbin 41.1k - 48.4k
FRITZ!Box 6890 LTE v2 (main) 6.84 - 7.57 /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 (main) 5.55 - 6.88 /sbin 38.4k - 40.3k
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 (main) 5.53 - 7.18 /sbin 38.2k - 48.4k
FRITZ!Box 7369 (main) 6.30 - 6.32 /sbin 38.7k
FRITZ!Box Fon WLAN 7390 4.81 - 5.22 /sbin 36.7k - 40.3k
FRITZ!Box 7412 (main) 6.21 - 6.88 /sbin 38.7k - 41.1k
FRITZ!Box 7430 (main) 6.26 - 7.31 /sbin 39.6k - 48.4k
FRITZ!Box 7490 (main) 5.57 - 7.51 /sbin 37.0k - 48.4k
FRITZ!Box 7510 7.30 - 8.00 /sbin 37.6k
FRITZ!Box 7520 6.98 - 8.00 /sbin 34.6k - 37.7k
FRITZ!Box 7520 v2 (main) 7.30 - 8.00 /sbin 37.6k - 37.7k
FRITZ!Box 7530 6.98 - 8.00 /sbin 33.6k - 37.7k
FRITZ!Box 7530 AX 7.20 - 8.00 /sbin 37.7k - 37.9k
FRITZ!Box 7560 (main) 6.51 - 7.30 /sbin 41.1k - 48.4k
FRITZ!Box Fon WLAN 7570 vDSL 4.70 - 4.94 /sbin 39.3k - 44.3k
FRITZ!Box 7580 (main) 6.53 - 7.30 /sbin 41.1k - 48.4k
FRITZ!Box 7581 6.54 - 7.18 /sbin 30.2k - 41.8k
FRITZ!Box 7582 6.83 - 7.18 /sbin 30.2k - 41.8k
FRITZ!Box 7583 (main) 7.01 - 7.59 /sbin 43.5k - 48.4k
FRITZ!Box 7583 VDSL (main) 7.19 - 8.00 /sbin 44.1k - 44.2k
FRITZ!Box 7590 (main) 6.83 - 8.00 /sbin 41.1k - 48.4k
FRITZ!Box 7590 AX (main) 7.19 - 8.00 /sbin 44.0k - 44.2k
FRITZ!Box 7690 7.61 - 7.90 /sbin 37.6k
FRITZ!Smart Gateway 7.52 - 7.63 /sbin 33.5k - 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.2k - 48.4k
FRITZ!Repeater 600 v2 7.27 - 7.58 /sbin 36.2k - 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 - 37.7k
FRITZ!Repeater 1200 AX 7.30 - 7.58 /sbin 37.6k
FRITZ!WLAN Repeater 1750E 6.12 - 7.32 /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 - 37.7k
FRITZ!Repeater 3000 AX 7.41 - 7.58 /sbin 37.6k
FRITZ!Repeater 6000 7.19 - 7.58 /sbin 37.6k
FRITZ!WLAN Repeater DVB-C 6.12 - 7.04 /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.57 - 7.58 /sbin 37.6k
FRITZ!Powerline 1240E 6.33 - 7.16 /sbin 40.2k - 48.4k
FRITZ!Powerline 1260E 6.90 - 7.58 /sbin 30.7k - 37.7k
FRITZ!Powerline 1260 7.27 - 7.58 /sbin 37.6k - 37.7k
Speedport W 501V 3.93 - 4.07 /sbin 43.6k
Speedport W 503V MK 4.79 /sbin 39.3k
Speedport W 504V MK 5.04 /sbin 37.5k
128 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-12-21 07:44 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.18 LMSOCloseH
3.42 - 4.99 LMSOConnectedSession
3.42 - 4.99 LMSODisconnectedSession
3.42 - 7.18 LMSOSmtpReceiveH
3.42 - 7.18 LMSOSocketTimeout
3.42 - 7.18 LMSSGetTimeStr
3.42 - 7.18 LMSSWriteFileToSocket
3.42 - 4.99 SetAttachementToFile
3.42 - 7.18 StartSession
4.52 - 7.18 correct_crlf
4.57 - 7.18 cram_md5_response
4.47 - 7.18 encode_qp
4.03 - 4.99 encode_str
4.47 - 7.18 encode_str_qp
3.42 - 8.00 free_mailer
6.20 - 8.00 get_LastMessageId
3.42 - 8.00 main
3.42 - 4.99 parse_auth
3.42 - 4.99 parse_smtp_server_string
3.85 - 7.18 pure_filename
6.20 - 8.00 set_LastMessageId
3.42 - 8.00 start_mailer
26 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.