sendmail or sending mail

2013-04-19 1 min read Fedora Linux

If you want to use sendmail so that you can send all your mails from the local system to your email address, then you have to use sendmail.  Now, configuring sendmail has never been that easy and if you are working internally on your corporate network then for sending mails to the same domain, generally you don’t have to login. That being the case, you can use something simpler like “sstmp“. Install ssmtp with:

Continue reading

Using ssmtp to send mail using gmail.

2011-02-19 1 min read Fedora Linux

First install the package ssmtp using the command:

  <td>
    <div class="text codecolorer">
      sudo yum install ssmtp
    </div>
  </td>
</tr>
1

Open the configuration file for ssmtp as root user:

  <td>
    <div class="text codecolorer">
      vim /etc/ssmtp/ssmtp.conf
    </div>
  </td>
</tr>
1

Make the following changes to the configuration file:

root=**username**@gmail.com
mailhub=smtp.gmail.com:587
hostname=**username**@gmail.com
UseSTARTTLS=YES
AuthUser=username
AuthPass=password
FromLineOverride=yes

In order to make the default (root) “from” field be the server name,
edit the /etc/ssmtp/revaliases file as root user :

Continue reading

swaks – Swiff army nife for SMTP

2010-03-09 3 min read Fedora Learning Linux

If you are having issues with the <a class="zem_slink freebase/en/simple_mail_transfer_protocol" title="Simple Mail Transfer Protocol" rel="wikipedia" href="http://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol">SMTP Server, then sometimes you just wish you had a swiss army knife to test the same and then you would not have to spend your precious time on some silly mistake that you may have made. Your wish is now fulfilled.

<a class="zem_slink freebase/en/military_of_switzerland" title="Military of Switzerland" rel="wikipedia" href="http://en.wikipedia.org/wiki/Military_of_Switzerland">Swiss Army Knife SMTP: A <a class="zem_slink freebase/en/command_line_interface" title="Command-line interface" rel="wikipedia" href="http://en.wikipedia.org/wiki/Command-line_interface">command line SMTP tester.  Swaks can test various aspects of your SMTP <a class="zem_slink freebase/en/server" title="Server (computing)" rel="wikipedia" href="http://en.wikipedia.org/wiki/Server_%28computing%29">server, including <a class="zem_slink freebase/en/transport_layer_security" title="Transport Layer Security" rel="wikipedia" href="http://en.wikipedia.org/wiki/Transport_Layer_Security">TLS and AUTH.

Continue reading