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 september. 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 Gallery

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) Sends E-Mail using the SMTP server configured for Push-Mail.

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: 2023-02-06 06:41 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.51 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: 2023-02-06 07:23 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.51 Dynamic linker / loader Linux
Depends on lib libar7cfg.so 112 4 - 7.51 TFFS-Configuration API to ar7.cfg and many more. AVM
Depends on lib libavmauth.so 70 6.50 - 7.51 Fritzbox authentification helpers AVM
Depends on lib libavmcipher.so 112 4 - 7.51 AES / DES / Rijndael encryption / decryption. AVM
Depends on lib libavmcsock.so 125 3.42 - 7.51 Networking, I/O and helper functions AVM
Depends on lib libavmfbconf.so 32 7.39 - 7.51 API to hardcoded fbconf.cfg AVM
Depends on lib libavmfbstate.so 32 7.39 - 7.51 IPC fritzbox state notification AVM
Depends on lib libavmhmac.so 112 4 - 7.51 HMAC / SHA / MD5 hashing. AVM
Depends on lib libavmnexus.so 64 6.98 - 7.51 avmnexusd worker socket API AVM
Depends on lib libavmnexuscpp.so 64 6.98 - 7.51 TODO Linux
Depends on lib libavmnexusmail.so 64 6.98 - 7.51 TODO Linux
Depends on lib libboxlib.so 125 3.85 - 7.51 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 125 3.42 - 7.51 Standard C library Linux
Depends on lib libcrypto.so 32 7.39 - 7.51 OpenSSL general crypto and X.509 library Linux
Depends on lib libdl.so 110 3.42 - 7.50 Dynamic linking library Linux
Depends on lib libdputil.so 76 6.35 - 7.51 DataPipe / packet utilities AVM
Depends on lib libewnwlinux.so 76 6.35 - 7.51 Linux networking functions AVM
Depends on lib libewnwnet.so 76 6.35 - 7.51 Internet helper functions AVM
Depends on lib libgcc_s.so 66 4 - 6.110 GCC low-level runtime library Linux
Depends on lib libpthread.so 110 3.42 - 7.50 POSIX threading library Linux
Depends on lib librt.so 61 6.35 - 7.50 POSIX realtime extensions library Linux
Depends on lib libslab.so 35 3.73 - 4.99 Slab allocator or empty dummy library Linux
Depends on lib libsvctl.so 52 7.19 - 7.51 supervisor notification library AVM
Depends on lib libtiinterpreter.so 32 7.39 - 7.51 Preprocessor for SSI-Files by TI. AVM
Depends on lib libwdt.so 125 3.85 - 7.51 AVM-Watchdogs management API AVM
Depends on lib libwebkpiclient.so 23 7.39 - 7.51 KPI sensor for system parts which use HTTP / HTTPS AVM
Depends on lib libwebsrv.so 76 6.35 - 7.51 HTTP / HTTPS webserver and tools. AVM
Depends on lib libz.so 64 6.83 - 7.51 Zlib compressor / decompressor Linux
30 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2023-02-06 05:57 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.88 /sbin 38.4k - 40.3k
FRITZ!Box WLAN 3370 5.01 - 6.55 /sbin 36.7k - 41.1k
FRITZ!Box 3390 5.50 - 6.55 /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 6.27 - 7.02 /sbin 40.2k - 43.7k
FRITZ!Box 4040 6.50 - 7.39 /sbin 30.7k - 37.6k
FRITZ!Box 4060 7.26 - 7.39 /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 - 7.30 /sbin 44.2k
FRITZ!Box 5590 Fiber (arm) 7.27 - 7.39 /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.29 /sbin 35.8k - 41.5k
FRITZ!Box 6430 Cable (atom) 6.84 - 7.29 /sbin 35.8k - 41.5k
FRITZ!Box 6490 Cable (arm) 6.20 - 7.39 /sbin 30.2k - 41.5k
FRITZ!Box 6490 Cable (atom) 6.83 - 7.39 /sbin 35.8k - 41.5k
FRITZ!Box 6590 Cable (arm) 6.83 - 7.39 /sbin 35.8k - 41.5k
FRITZ!Box 6590 Cable (atom) 6.83 - 7.39 /sbin 35.8k - 41.5k
FRITZ!Box 6591 Cable (arm) 7.04 - 7.39 /sbin 40.6k - 45.7k
FRITZ!Box 6591 Cable (atom) 7.04 - 7.39 /sbin 40.6k - 45.7k
FRITZ!Box 6660 Cable (arm) 7.14 - 7.39 /sbin 41.6k - 45.7k
FRITZ!Box 6660 Cable (atom) 7.14 - 7.39 /sbin 41.6k - 45.7k
FRITZ!Box 6690 Cable (arm) 7.28 - 7.50 /sbin 41.6k - 45.7k
FRITZ!Box 6690 Cable (atom) 7.28 - 7.50 /sbin 41.6k - 45.7k
FRITZ!Box 6810 LTE 5.27 - 6.34 /sbin 38.1k - 38.7k
FRITZ!Box 6820 LTE v1 6.40 - 7.29 /sbin 40.3k - 48.4k
FRITZ!Box 6820 LTE v2 6.40 - 7.29 /sbin 40.3k - 48.4k
FRITZ!Box 6820 LTE v3 7.19 - 7.29 /sbin 44.3k
FRITZ!Box 6840 LTE 5.07 - 6.87 /sbin 36.7k - 41.1k
FRITZ!Box 6842 LTE 6.01 - 6.34 /sbin 38.1k - 38.7k
FRITZ!Box 6850 LTE 7.21 - 7.39 /sbin 33.6k - 44.2k
FRITZ!Box 6850 5G 7.24 - 7.39 /sbin 37.6k
FRITZ!Box 6890 LTE 6.84 - 7.39 /sbin 41.1k - 48.4k
FRITZ!Box 6890 LTE v1 6.84 - 7.39 /sbin 41.1k - 48.4k
FRITZ!Box 6890 LTE v2 6.84 - 7.39 /sbin 41.1k - 48.4k
FRITZ!Box Fon WLAN 3.42 - 4.49 /sbin 35.3k - 43.6k
FRITZ!Box Fon WLAN 7050 3.56 - 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.91 - 4.99 /sbin 39.3k - 44.3k
FRITZ!Box Fon WLAN 7170 v1 3.91 - 4.99 /sbin 39.3k - 44.3k
FRITZ!Box Fon WLAN 7170 v2 3.91 - 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.63 - 6.06 /sbin 36.7k - 44.3k
FRITZ!Box Fon WLAN 7270 v3 4.70 - 6.06 /sbin 36.7k - 44.3k
FRITZ!Box 7272 5.55 - 6.88 /sbin 38.4k - 40.3k
FRITZ!Box 7312 5.23 - 6.55 /sbin 37.6k - 40.3k
FRITZ!Box Fon WLAN 7320 4.85 - 6.34 /sbin 37.4k - 38.7k
FRITZ!Box 7330 5.06 - 6.55 /sbin 36.7k - 40.3k
FRITZ!Box 7330 SL 5.08 - 6.55 /sbin 36.7k - 40.3k
FRITZ!Box Fon WLAN 7340 4.83 - 6.06 /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.35 /sbin 36.7k - 38.7k
FRITZ!Box Fon WLAN 7360 v2 5.22 - 6.87 /sbin 37.8k - 41.1k
FRITZ!Box 7362 SL 5.53 - 7.13 /sbin 38.2k - 48.4k
FRITZ!Box 7369 6.30 - 6.32 /sbin 38.7k
FRITZ!Box Fon WLAN 7390 4.81 - 6.87 /sbin 36.7k - 40.3k
FRITZ!Box 7412 6.21 - 6.87 /sbin 38.7k - 41.1k
FRITZ!Box 7430 6.26 - 7.29 /sbin 39.6k - 48.4k
FRITZ!Box 7490 (main) 5.57 - 7.51 /sbin 37.0k - 48.4k
FRITZ!Box 7510 7.30 - 7.39 /sbin 37.6k
FRITZ!Box 7520 6.98 - 7.50 /sbin 34.6k - 37.6k
FRITZ!Box 7520 v2 (arm) 7.30 - 7.50 /sbin 37.6k
FRITZ!Box 7530 6.93 - 7.51 /sbin 30.6k - 37.6k
FRITZ!Box 7530 AX 7.20 - 7.39 /sbin 37.7k - 37.8k
FRITZ!Box 7560 6.51 - 7.29 /sbin 41.1k - 48.4k
FRITZ!Box Fon WLAN 7570 vDSL 4.70 - 4.94 /sbin 39.3k - 44.3k
FRITZ!Box 7580 6.51 - 7.29 /sbin 41.1k - 48.4k
FRITZ!Box 7581 6.54 - 7.16 /sbin 30.2k - 41.8k
FRITZ!Box 7582 6.83 - 7.16 /sbin 30.2k - 41.8k
FRITZ!Box 7583 7.01 - 7.31 /sbin 43.5k - 48.4k
FRITZ!Box 7583 VDSL 7.19 - 7.31 /sbin 44.2k
FRITZ!Box 7590 6.83 - 7.51 /sbin 41.1k - 48.4k
FRITZ!Box 7590 AX 7.19 - 7.39 /sbin 44.0k - 44.2k
FRITZ!WLAN Repeater 300E 5.09 - 6.33 /sbin 36.9k - 39.6k
FRITZ!WLAN Repeater 310 A 5.24 - 7.15 /sbin 37.5k - 48.4k
FRITZ!WLAN Repeater 310 B 6.30 - 7.15 /sbin 40.2k - 48.4k
FRITZ!WLAN Repeater 450E 6.00 - 7.14 /sbin 38.4k - 48.4k
FRITZ!Repeater 600 7.11 - 7.29 /sbin 36.3k - 48.4k
FRITZ!Repeater 600 v2 7.19 - 7.30 /sbin 36.3k
FRITZ!WLAN Repeater 1160 6.51 - 7.14 /sbin 41.1k - 48.4k
FRITZ!Repeater 1200 7.11 - 7.29 /sbin 37.6k
FRITZ!Repeater 1200 AX 7.27 - 7.39 /sbin 37.6k
FRITZ!WLAN Repeater 1750E 6.12 - 7.30 /sbin 38.7k - 48.4k
FRITZ!Repeater 2400 7.12 - 7.50 /sbin 36.1k - 48.3k
FRITZ!Repeater 3000 6.98 - 7.39 /sbin 33.6k - 37.6k
FRITZ!Repeater 3000 AX 7.39 - 7.41 /sbin 33.6k - 37.6k
FRITZ!Repeater 6000 7.19 - 7.39 /sbin 37.6k
FRITZ!WLAN Repeater DVB-C 6.12 - 7.02 /sbin 38.7k - 43.7k
FRITZ!Powerline 540E 5.58 - 7.14 /sbin 38.4k - 48.4k
FRITZ!Powerline 546E 5.50 - 7.10 /sbin 38.1k - 48.4k
FRITZ!Powerline 1240E 6.33 - 7.14 /sbin 40.2k - 48.4k
FRITZ!Powerline 1260E 6.90 - 7.29 /sbin 30.7k - 37.6k
FRITZ!Powerline 1260 7.08 - 7.29 /sbin 37.6k
FRITZ!Smart Gateway 7.39 - 7.51 /sbin 37.6k
Speedport W 501V 3.93 - 4.07 /sbin 43.6k
Speedport W 503V MK 4.79 /sbin 39.3k
125 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2023-02-06 07:23 GMT.

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

SMW-Browser

Information is currently being retrieved from the backend.