User Tools

Site Tools


pop3_imap_and_smtp_auth_for_popular_mail_clients

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
pop3_imap_and_smtp_auth_for_popular_mail_clients [2021/03/22 20:03] – created hc9pop3_imap_and_smtp_auth_for_popular_mail_clients [2021/03/22 20:13] (current) – [Heirloom Mailx under Linux/BSD] hc9
Line 1: Line 1:
 ====== POP3, IMAP and SMTP AUTH for Popular Mail Clients ====== ====== POP3, IMAP and SMTP AUTH for Popular Mail Clients ======
  
-==== Introduction ====+=== Introduction ===
  
 SDF uses SMTP Authentication to allow remote network clients such as desktop, tablet and phone mail applications to use its SMTP server for the purpose of sending (relaying) e-mail messages. SDF users with the VPM, VHOST and MetaARPA memberships have access to the SMTP server. SDF uses SMTP Authentication to allow remote network clients such as desktop, tablet and phone mail applications to use its SMTP server for the purpose of sending (relaying) e-mail messages. SDF users with the VPM, VHOST and MetaARPA memberships have access to the SMTP server.
Line 26: Line 26:
 Please note that BlueMail on Android does not support the correct password encryption algorithm, and therefore you cannot set up your SDF email account under BlueMail. The devs have been notified of this bug; if they do fix it, the instructions here will be updated. Please note that BlueMail on Android does not support the correct password encryption algorithm, and therefore you cannot set up your SDF email account under BlueMail. The devs have been notified of this bug; if they do fix it, the instructions here will be updated.
  
-==== K-9 Mail for Android ====+===== K-9 Mail for Android =====
  
 ^ To //retrieve// mail via IMAP ^^ ^ To //retrieve// mail via IMAP ^^
Line 45: Line 45:
   * If you are a Meta-ARPA member and //not// a VHOST member, this is whatever web domain you've chosen (frequently username.sdf.org@sdf.org). If you're a VHOST member, it's your VHOST domain.    * If you are a Meta-ARPA member and //not// a VHOST member, this is whatever web domain you've chosen (frequently username.sdf.org@sdf.org). If you're a VHOST member, it's your VHOST domain. 
  
-==== Outlook Express under Windows ====+===== Outlook Express under Windows =====
  
   * Open Outlook Express   * Open Outlook Express
Line 66: Line 66:
   * Click 'Apply'   * Click 'Apply'
  
-==== Mail.App under Macos X ====+===== Mail.App under Macos X =====
  
   * Open Mail.app   * Open Mail.app
Line 80: Line 80:
   * Click ok, and close the Preferences window.   * Click ok, and close the Preferences window.
  
-==== Mozilla Thunderbird ====+===== Mozilla Thunderbird =====
  
   * Tools -> Account Settings -> Add Mail Account   * Tools -> Account Settings -> Add Mail Account
Line 101: Line 101:
   * You will be prompted for your SMTP password the first time you go to send mail. This is the password generated by mkvpm on the command line.   * You will be prompted for your SMTP password the first time you go to send mail. This is the password generated by mkvpm on the command line.
  
-==== Heirloom Mailx under Linux/BSD ====+===== Heirloom Mailx under Linux/BSD =====
      
 Add the following to ~homeuser/.nailrc to set the default SMTP relay: Add the following to ~homeuser/.nailrc to set the default SMTP relay:
  
 <code> <code>
-    # Remote SDF SMTP relaying (use SDF 'mkvpm' tool to set auth user:pw): +# Remote SDF SMTP relaying (use SDF 'mkvpm' tool to set auth user:pw): 
-    set ssl-verify="ignore" +set ssl-verify="ignore" 
-    set smtp-use-starttls +set smtp-use-starttls 
-    set smtp=mx.sdf.org:587 +set smtp=mx.sdf.org:587 
-    set smtp-auth=cram-md5 +set smtp-auth=cram-md5 
-    set smtp-auth-user="sdf_user.sdf.org@sdf.org" +set smtp-auth-user="sdf_user.sdf.org@sdf.org" 
-    set smtp-auth-password="my_password"+set smtp-auth-password="my_password"
 </code> </code>
  
Line 118: Line 118:
  
 <code> <code>
-    set ssl-ca-file="/home/home_user/.openssl/sdf_self-signed_ca.pem" +set ssl-ca-file="/home/home_user/.openssl/sdf_self-signed_ca.pem" 
-    set ssl-verify="warn"  # will issue "self-signed CA" warning +set ssl-verify="warn"  # will issue "self-signed CA" warning 
-    ...+...
 </code> </code>
  
-  Account-specific smtp settings are possible; see the Heirloom Mailx documentation.+Account-specific smtp settings are possible; see the Heirloom Mailx documentation.
  
-==== Postfix MTA using libsaslc(3) on NetBSD 6.x: ====+===== Postfix MTA using libsaslc(3) on NetBSD 6.x: =====
  
   * first, verify that //postfix(1)// knows about //libsaslc// :   * first, verify that //postfix(1)// knows about //libsaslc// :
  
 <code> <code>
-    % sudo postconf -A +% sudo postconf -A 
-    saslc+saslc
 </code> </code>
  
Line 139: Line 139:
  
 <code> <code>
-      myhostname = mypc.my.box +myhostname = mypc.my.box 
-      mydomain = my.box +mydomain = my.box 
-      mynetworks_style = host +mynetworks_style = host 
-      alias_maps = hash:/etc/mail/aliases +alias_maps = hash:/etc/mail/aliases 
-      # SMTP client settings: +# SMTP client settings: 
-      relayhost = [mx.sdf.org]:submission +relayhost = [mx.sdf.org]:submission 
-      smtp_generic_maps = hash:/etc/postfix/generic +smtp_generic_maps = hash:/etc/postfix/generic 
-      smtp_sasl_auth_enable = yes +smtp_sasl_auth_enable = yes 
-      smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd +smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd 
-      smtp_sasl_security_options = noplaintext, noanonymous +smtp_sasl_security_options = noplaintext, noanonymous 
-      smtp_sasl_tls_security_options = noanonymous +smtp_sasl_tls_security_options = noanonymous 
-      ## explicitly allow/prohibit certain SSL protocols: +## explicitly allow/prohibit certain SSL protocols: 
-      #smtp_tls_mandatory_protocols = !SSLv2, !SSLv3, TLSv1 +#smtp_tls_mandatory_protocols = !SSLv2, !SSLv3, TLSv1 
-      ## use of "may" option allows fallback to cleartext +## use of "may" option allows fallback to cleartext 
-      #smtp_tls_security_level = may +#smtp_tls_security_level = may 
-      smtp_tls_security_level = encrypt +smtp_tls_security_level = encrypt 
-      smtp_sasl_type = saslc+smtp_sasl_type = saslc
 </code> </code>
  
-   ///etc/postfix/generic//+///etc/postfix/generic//
  
 <code> <code>
-      # applies to msgs to be delivered off-site +# applies to msgs to be delivered off-site 
-      me@mypc.my.box  sdf_login@sdf.org+me@mypc.my.box  sdf_login@sdf.org
 </code> </code>
  
Line 169: Line 169:
  
 <code> <code>
-      [mx.sdf.org]:submission  sdf_login.sdf.org:smtp_passwd+[mx.sdf.org]:submission  sdf_login.sdf.org:smtp_passwd
 </code> </code>
  
Line 175: Line 175:
  
 <code> <code>
-    % cd /etc/postfix/ +% cd /etc/postfix/ 
-    % sudo postmap generic sasl_passwd  # creates generic.db & sasl_passwd.db +% sudo postmap generic sasl_passwd  # creates generic.db & sasl_passwd.db 
-    % sudo postfix check                # no output unless errors +% sudo postfix check                # no output unless errors 
-    % sudo /etc/rc.d/postfix reload+% sudo /etc/rc.d/postfix reload
 </code> </code>
  
Line 184: Line 184:
  
 <code> <code>
-    % mailx sdf_login@sdf.org +% mailx sdf_login@sdf.org 
-      Subject: test +  Subject: test 
-      123 +  123 
-      +  
-      EOT+  EOT
  
-    % sudo tail -n10 /var/log/maillog | grep smtp +% sudo tail -n10 /var/log/maillog | grep smtp 
-      Apr 27 08:53:42 mypc postfix/smtp[13387]: A61631F1FDC: to=<sdf_login@sdf.org>,+  Apr 27 08:53:42 mypc postfix/smtp[13387]: A61631F1FDC: to=<sdf_login@sdf.org>,
-      relay=mx.sdf.org[192.94.73.24]:587, delay=3.9, delays=0.02/0/3.7/0.11, dsn=2.0.0, status=sent \ +  relay=mx.sdf.org[192.94.73.24]:587, delay=3.9, delays=0.02/0/3.7/0.11, dsn=2.0.0, status=sent \ 
-      (250 2.0.0 s3RFrfvZ010436 Message accepted for delivery)+  (250 2.0.0 s3RFrfvZ010436 Message accepted for delivery)
 </code> </code>
  
-  You should now be set up to use SDF's SMTP server. Enjoy!+You should now be set up to use SDF's SMTP server. Enjoy!
      
 ===== iPhone Mail Application ===== ===== iPhone Mail Application =====
pop3_imap_and_smtp_auth_for_popular_mail_clients.1616443384.txt.gz · Last modified: 2021/03/22 20:03 by hc9