esmtp is a user configurable relay-only Mail Transfer Agent (MTA) with a sendmail compatible syntax. It’s based on libESMTP supporting the AUTH (including the CRAM-MD5 and NTLM SASL mechanisms) and the StartTLS SMTP extensions.
Features include
Fully sendmail command line compatible,
Supports the AUTH SMTP extension, with the CRAM-MD5 and NTLM SASL mechanisms,
Support the StartTLS SMTP extension,
Requires no administration privileges,
Individual user configuration,
Does not receive mail, expand aliases or manage a queue.
Local mail delivery via a MDA.
Install eSMTP in openSUSE (I’m using openSUSE 11.0 here)
To install eSMTP in openSUSE we need to install libesmtp and its devel package
opensuse11:~ # yast2 –install libesmtp libesmtp-devel
Download the latest stable version of eSMTP from here
opensuse11:~ # wget http://mesh.dl.sourceforge.net/sourceforge/esmtp/esmtp-0.6.0.tar.bz2
Unzip & Untar
opensuse11:~ # tar -xjf esmtp-0.6.0.tar.bz2
Configure Compile & Install
opensuse11:~ # cd esmtp-0.6.0
opensuse11:~/esmtp-0.6.0 # ./configure
opensuse11:~/esmtp-0.6.0 # make
For a pre-flight check
opensuse11:~/esmtp-0.6.0 # make check
opensuse11:~/esmtp-0.6.0 # make install
This should install eSMTP MTA on your openSUSE. To confir, check the path to the executable.
opensuse11:~/esmtp-0.6.0 # which esmtp
/usr/local/bin/esmtp
There can be a user configuration file or a global configuration file or a configuration file specified at command line.
User Configuration file
/~esmtprc
This file is read is only there is no Config file specified in the command line.
Global Configuration file
This configuration file is read only when there is no config file specified in the command line and when there is no user configuration file for the particular user.
/etc/esmtprc
There is a sample configuration file “sample.esmtprc” in the source directory from where the software is installed or sample configuration like the following can be used
hostname = mail.myisp.com:25
username = “myself”
password = “secret”
starttls = enabledmda “/usr/bin/procmail -d %T”
In the above the line “mda” indicates the Mail Delivery Agent is Procmail.
If you have more than one account thats supported too as follows:
identity myself@myisp.com
hostname mail.myisp.com:25
username “myself”
password “secret”
starttls enabled defaultidentity myself@anotherisp.com
hostname smtp.anotherisp.com:25
username “myself” password “secret”mda “/usr/bin/procmail -d %T”
For easy to follow information on integration into Mail User Agents (MUA) like Fetchmail and setups on TLS, visit this manual here
is there a way to become a content writer for the site?