Difference between revisions of "OS4X VMware virtualized image - mail configuration"

From OS4X
Jump to navigation Jump to search
Line 14: Line 14:
  
 
[[Image:Dpkg-reconfigure exim4-config-1.png]]
 
[[Image:Dpkg-reconfigure exim4-config-1.png]]
 +
 +
You will then need the following settings:
 +
*System mail name: The full qualified domain name (FQDN) of the OS4X system (i.e. "<code>os4x.com<code>", "<code>c-works.de<code>" or whatever your mail domain is).
 +
*IP-addresses to listen on for incoming SMTP connections: ''(keep default)'' <code>127.0.0.1 ; ::1</code>
 +
*Other destinations for which mail is accepted: ''(keep default)''
 +
*Domains to relay mail for: ''(keep default)'' [empty]
 +
*Machines to relay mail for: ''(keep default)'' [empty]
 +
*Keep number of DNS-queries minimal (Dial-on-Demand)? ''(keep default)'' No
 +
*Delivery method for local mail: ''(keep default or change to whatever your prefered type is)'' <code>mbox format in /var/mail/</code>
 +
*Split configuration into small files? ''(keep default)'' No
  
 
== Mail sending over SMTP relay (aka. "smarthost") ==
 
== Mail sending over SMTP relay (aka. "smarthost") ==

Revision as of 19:00, 30 May 2014

The OS4Xvirtual Linux environment comes with a pre-installed Mail Transfer Agent (MTA) called "Exim" in version 4. You can configure Exim4 to your needs in order to send emails within your system environment.

Basics

Exim4 is best configured on command line (i.e. via SSH) via a dialog based system. This system easily helps you to accomplish your configuration task.

The command to be executed as root is:

dpkg-reconfigure exim4-config

The following informational prompt asks you to confirm the "OK" button:

Dpkg-reconfigure exim4-config.png

Direct mail sending - without mail relay

If you can send emails directly via SMTP (i.e. your OS4X machine has direct internet access), you can choose the first option "internet site; mail is sent and received directly using SMTP":

Dpkg-reconfigure exim4-config-1.png

You will then need the following settings:

  • System mail name: The full qualified domain name (FQDN) of the OS4X system (i.e. "os4x.com", "c-works.de" or whatever your mail domain is).
  • IP-addresses to listen on for incoming SMTP connections: (keep default) 127.0.0.1 ; ::1
  • Other destinations for which mail is accepted: (keep default)
  • Domains to relay mail for: (keep default) [empty]
  • Machines to relay mail for: (keep default) [empty]
  • Keep number of DNS-queries minimal (Dial-on-Demand)? (keep default) No
  • Delivery method for local mail: (keep default or change to whatever your prefered type is) mbox format in /var/mail/
  • Split configuration into small files? (keep default) No

Mail sending over SMTP relay (aka. "smarthost")

If your network provides an existing mail server, the option "mail sent by smarthost; received via SMTP or fetchmail" will be the best one:

Dpkg-reconfigure exim4-config-2.png