User Tools

Site Tools


e-mail

If you want to send us your comments, please do so. Thanks
More on comments


E-mail

Ports

Which SMTP port1), understanding ports 25, 465 and 587

ProtocolPortEncrypted portComment
POP110995POP3
IMAP 993SSL/TLS
IMAP 143STARTTLS
SMTP25587STARTTLS
SMTP 465SSL. This is obsolete

CLI E-mail

Size in MB

NameSizeRemark
bsd-mailx0,125
mailutils66
nmh11new MH message system
s-nail1

bsd-mailx

To send a message from the command line

mailx -v -s "Test" -S smtp=smtp://[hostingprovidersmtpserver] -S from="user@domain.nl(Username(optional))" Receipient@recepientdomain.nl

Then enter the message an acknowledge with CTRL-D

Reading base64 encoded messages

Run

base64 -d TheMailfile

Other cli e-mail programs

mblaze: Utilities to deal with Maildir

Sending binary files

Like executable programs

  • Rename the program to somename.txt
  • Try zipping the program to somename.txt
  • Try to convert the program to base64

Spam

SpamAssassin

(Manual) setup for webhosting in Direct Amin

Mail folders in mbox format: use the --mbox switch
Maildirs use a trailing slash: Maildir/cur/

Make sure the mailboxes exist. Put some ham- and spammail in them to test

required_score 3.0
rewrite_header subject ***SPAM***

report_safe     0

sa-learn --spam ~/Maildir/spam/
sa-learn --ham ~/Maildir/cur/
sa-learn --ham ~/Maildir/inbox/
sa-learn --ham ~/Maildir/ham/

More on training

Useful links

Android: K-9 mail

Managing accounts

More info on push and poll e-mail

Classes

More info on: K-9 mail classes
To set which classes are shown when

  1. Goto the account overview
  2. Long press on an account until a context menu appears
  3. Tab on Account settings
  4. Tab on Folders
  5. Tab on Folders to display
  6. Make a selection for your needs
  7. Repeat for ohter accounts

To set the classes for a mail folder:

  1. Goto the account overview
  2. Tab on a account. This brings you in the Inbox of the account
  3. Tab on the K9-mail icon in the upper left corner. This brings you in the folder view of the account
  4. Long press on a folder
  5. Select Folder sSettings
  6. Make your settings
  7. Tab back on the bottom of the display to go back to the folder overview of the account
  8. Continue with the next folder
  9. Repeat 4 until 9 until all folders are done
  10. Tab back on the bottom of the display to go back to the account overview
  11. Select the next account / item 2 of this list

We set (and also the Show in top group and Unify settings)

FolderDisplay classSync classPush classnotitication classTop groupUnify
Inbox1st ClassSame as display classSame as sync classSame as push classOnOn
Sent1st ClassSame as display classSame as sync classSame as push classOnOff
Spam1st ClassSame as display classSame as sync classSame as push classOnOff
DraftsNoneSame as display classSame as sync classSame as push classOffOff
K9mail-errorsNoneSame as display classSame as sync classSame as push classOffOff
OutboxNoneSame as display classSame as sync classSame as push classOffOff
TrashNoneSame as display classSame as sync classSame as push classOffOff

Issues

Multiple e-mail addresses

Manually entering multiple e-mail addresses and sending that e-mail does not work. The issue is opened in 2018 but still not resolved
Spaces, comma, semicolon as a separator do not work. You get “Error parsing address!” The separator character is not added to the addresses. An other error message you can get is: “Recipient field contains incomplete input!”

Resending

Resending an e-mail, to an other recipient, does not seem to be possible

Not readable

Solution:

  • Copy the blob at the end of the e-mail to /tmp/blob.txt
  • Run cat /tmp/blob.txt | base64 --decode | less
  • Now you should be able to read the contents.

Main subjects on this wiki: Linux, Debian, HTML, Microcontrollers, Privacy

RSS
Disclaimer
Privacy statement
Bugs statement
Cookies
Copyright © : 2014 - 2024 Webevaluation.nl and the authors
Changes reserved.

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
e-mail.txt · Last modified: 19-02-2024 04:27 by wim