E-Mail

310 views
Skip to first unread message

Windy

unread,
Apr 26, 2012, 4:52:02 PM4/26/12
to mvd...@googlegroups.com
Hello Group
 

I have been using SENDMAIL for quite a while now and it has worked reasonably well.

I have had the benefit that the SMTP Server the mail is being sent to, is the same as the ADSL connection, and therefore most ISP’s don’t require Username & Password to connect to their Mail Servers, because you are already on their network due to the ADSL link. This just means all I have to do is enter the IP ADDRESS into the DS[   ] section of sendmail.cf

I am now getting clients whereby their ADSL connection is not the same as their E-Mail provider, and as such I need to provide Username & Password to connect up to the SMTP server. I have looked at the HOW TO’s on the WEB, but it all seems OTT to get implemented. Does anyone have a quick HOW TO, to get SendMail to pass username & password to the SMTP Server

Secondly, I have also noticed that SendMail seems to corrupt some emails going out. I am not 100% convinced yet, but still doing tests. Does anyone therefore have “better” email transports than SENDMAIL.

TIA

 

John

John Thompson

unread,
Apr 26, 2012, 5:00:25 PM4/26/12
to mvd...@googlegroups.com
What OS are you running on?

If you ever have to use ssl/tls authentication with sendmail, you should be prepared to develop a new career (in my opinion).

I have use msmtp with success on Linux.  Makes life easy for me.


Here is a decent, getting started guide, although its for a linux distro that you may not be that familiar with (however the config files should be the same format).

Tony Gravagno

unread,
Apr 26, 2012, 6:19:07 PM4/26/12
to mvd...@googlegroups.com

I'm not aware of main Mail Transport Agents (MTA). For *nix you have Sendmail and Postfix, both of which are built-in to Linux:

http://www.centos.org/docs/4/html/rhel-rg-en-4/s1-email-mta.html

 

You you're not really looking for a MTA, you're looking a Mail User Agent, or MUA, which will connect to external servers. For this you can use Mutt, or my preference is PHPMailer:

http://www.mutt.org/

http://phpmailer.worxware.com/

 

I'd like to post an [AD] here because it's in context. I just wrote a new blog entry about NebulaMail (which uses PHPMailer). The blog should help to clarify why NebulaMail should be considered along with others being discussed here.

http://nebula-rnd.com/blog/tech/mv/2012/04/nebulamail-v3.html

 

HTH

T

John Winward

unread,
Apr 27, 2012, 2:42:25 AM4/27/12
to mvd...@googlegroups.com

I am running CentOS, mainly 5.7 and above

 

 

Regards,

 

John Winward

Description: LogoEmail

Tel.:     01638 751172

Fax.:    08700 522575

 

**********************************************************************************************************************************************

Confidentiality: This e-mail and its attachments are intended for the above named only and may be confidential. If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this e-mail and highlight the error. Security Warning: Please note that this e-mail has been created in the knowledge that Internet e-mail is not a 100% secure communications medium. We advise that you understand and observe this lack of security when e-mailing us.

***********************************************************************************************************************************************

Viruses: Although we have taken steps to ensure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free.

 

MRP Systems
Registered office: Keepers Cottage, 15 Dane Hill Road, Kennett, Newmarket, Suffolk CB8 7QX, United Kingdom
Registration No. N/A   VAT Number 720 1210 11


--
You received this message because you are subscribed to
the "Pick and MultiValue Databases" group.
To post, email to: mvd...@googlegroups.com
To unsubscribe, email to: mvdbms+un...@googlegroups.com
For more options, visit http://groups.google.com/group/mvdbms

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.1913 / Virus Database: 2411/4960 - Release Date: 04/26/12

image001.jpg

John Winward

unread,
Apr 27, 2012, 2:42:40 AM4/27/12
to mvd...@googlegroups.com

Thanks Tony

 

Will take a look

 

 

Regards,

 

John Winward

Description: LogoEmail

Tel.:     01638 751172

Fax.:    08700 522575

 

**********************************************************************************************************************************************

Confidentiality: This e-mail and its attachments are intended for the above named only and may be confidential. If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this e-mail and highlight the error. Security Warning: Please note that this e-mail has been created in the knowledge that Internet e-mail is not a 100% secure communications medium. We advise that you understand and observe this lack of security when e-mailing us.

***********************************************************************************************************************************************

Viruses: Although we have taken steps to ensure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free.

 

MRP Systems
Registered office: Keepers Cottage, 15 Dane Hill Road, Kennett, Newmarket, Suffolk CB8 7QX, United Kingdom
Registration No. N/A   VAT Number 720 1210 11


 

No virus found in this message.


Checked by AVG - www.avg.com
Version: 2012.0.1913 / Virus Database: 2411/4960 - Release Date: 04/26/12

image001.jpg

David Morris

unread,
Apr 27, 2012, 4:16:27 AM4/27/12
to mvd...@googlegroups.com
John,

I've never set up sendmail to do the authentication (my ISP still operates its own smarthost fortunately!), but this looks relatively straight forward:


I've always tried to steer clear of sendmail to be honest. The configuration blows my mind.

Postfix is an option and the config hacking seems much easier. I'm an openSuse fan and their standard install moved to Postfix as an MTA some time ago.

Here's a couple of links for smtp auth if you fancy trying that instead:


Let me know if I can be of any further assistance (I'm in your timezone!)

--
David Morris
blog: http://www.brassedoff.net/wp | twitter: @brassedoff
email: da...@brassedoff.net | linkedIn: http://www.linkedin.com/in/davidcmorris

John Winward

unread,
Apr 27, 2012, 4:45:05 AM4/27/12
to mvd...@googlegroups.com

Thanks

 

I have got Postfix loaded also, so I could just EDIT the relevant file and tell it to use Postfix instead, especially if you say the background settings are easier to edit.

 

I do seem to recall that there used to be a GUI option to “switch mail environments”, but it has been so long ago I cannot remember if that still exists. That was great because it kept all your standard settings. I am assuming it was just changing one link / path in the background.

 

 

Regards,

 

John Winward

Description: LogoEmail

Tel.:     01638 751172

Fax.:    08700 522575

 

**********************************************************************************************************************************************

Confidentiality: This e-mail and its attachments are intended for the above named only and may be confidential. If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this e-mail and highlight the error. Security Warning: Please note that this e-mail has been created in the knowledge that Internet e-mail is not a 100% secure communications medium. We advise that you understand and observe this lack of security when e-mailing us.

***********************************************************************************************************************************************

Viruses: Although we have taken steps to ensure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free.

 

MRP Systems
Registered office: Keepers Cottage, 15 Dane Hill Road, Kennett, Newmarket, Suffolk CB8 7QX, United Kingdom
Registration No. N/A   VAT Number 720 1210 11


 

--

You received this message because you are subscribed to
the "Pick and MultiValue Databases" group.
To post, email to: mvd...@googlegroups.com
To unsubscribe, email to: mvdbms+un...@googlegroups.com
For more options, visit http://groups.google.com/group/mvdbms

No virus found in this message.
Checked by AVG - www.avg.com

Version: 2012.0.1913 / Virus Database: 2411/4961 - Release Date: 04/26/12

image001.jpg

David Morris

unread,
Apr 27, 2012, 4:52:17 AM4/27/12
to mvd...@googlegroups.com
On 27 April 2012 09:45, John Winward <jo...@mrpsystems.co.uk> wrote:

Thanks

 

I have got Postfix loaded also, so I could just EDIT the relevant file and tell it to use Postfix instead, especially if you say the background settings are easier to edit.

 

I do seem to recall that there used to be a GUI option to “switch mail environments”, but it has been so long ago I cannot remember if that still exists. That was great because it kept all your standard settings. I am assuming it was just changing one link / path in the background.


The way the MTAs normally work is for frequently used stuff like 'mail' used to inject new mail into the processing queue, they have a symlink called "mail" that points to the actual executable, so if you're running Postfix, and you invoke 'mail' you end up using Postfix, ditto for sendmail, qmail, courier-mta etc. The actual MTA used is buried in a /etc/sysconfig file somewere (or whatever CentOS uses). (Apologies if that's teaching elderly relative to suck eggs)

CAVEAT ALERT: I've never had to configure Postfix (or sendmail) for SMTP AUTH, but Postfix does look easier.

YMMV :-)

 

John Winward

unread,
Apr 27, 2012, 4:58:06 AM4/27/12
to mvd...@googlegroups.com

Yes, it looks much easier.

 

I tend to have WEBMIN on my systems, which is a HTML admin for Linux. Very useful tool when you cannot get to the system console, or you don’t wish to have VNC running.

 

The Postfix section under WEBMIN looks like it has a very simple setup where you can just enter username & password.

 

Think I am going to give that a try !!!

 

 

Regards,

 

John Winward

 

Tel.:     01638 751172

Fax.:    08700 522575

 

**********************************************************************************************************************************************

Confidentiality: This e-mail and its attachments are intended for the above named only and may be confidential. If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this e-mail and highlight the error. Security Warning: Please note that this e-mail has been created in the knowledge that Internet e-mail is not a 100% secure communications medium. We advise that you understand and observe this lack of security when e-mailing us.

***********************************************************************************************************************************************

Viruses: Although we have taken steps to ensure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free.

 

MRP Systems
Registered office: Keepers Cottage, 15 Dane Hill Road, Kennett, Newmarket, Suffolk CB8 7QX, United Kingdom
Registration No. N/A   VAT Number 720 1210 11


 

From: mvd...@googlegroups.com [mailto:mvd...@googlegroups.com] On Behalf Of David Morris
Sent: 27 April 2012 09:52
To: mvd...@googlegroups.com
Subject: Re: [mvdbms] E-Mail

 

 

On 27 April 2012 09:45, John Winward <jo...@mrpsystems.co.uk> wrote:

--

You received this message because you are subscribed to
the "Pick and MultiValue Databases" group.
To post, email to: mvd...@googlegroups.com
To unsubscribe, email to: mvdbms+un...@googlegroups.com
For more options, visit http://groups.google.com/group/mvdbms

David Morris

unread,
Apr 27, 2012, 5:03:46 AM4/27/12
to mvd...@googlegroups.com




On 27 Apr 2012, at 09:58, "John Winward" <jo...@mrpsystems.co.uk> wrote:

Yes, it looks much easier.

 

I tend to have WEBMIN on my systems, which is a HTML admin for Linux. Very useful tool when you cannot get to the system console, or you don’t wish to have VNC running.

 

The Postfix section under WEBMIN looks like it has a very simple setup where you can just enter username & password.

 

Think I am going to give that a try !!!


Webmin would get my vote if I wasn't a command line freak! It sounds like a lot of the donkey work has already been done for you.

Good luck. Report back ;-)

fwinans

unread,
Apr 29, 2012, 10:36:37 PM4/29/12
to mvd...@googlegroups.com
On Thursday, April 26, 2012 2:52:02 PM UTC-6, Windy wrote:
> Does anyone therefore have “better” email transports than SENDMAIL?
Yes, we're on d3 on rhel5.4 and formerly used sendmail and, for debugging, simple
little telnet sessions to the smtp server as explained in the O'Reilly 'Bat Book' on
sendmail.  Also we have a lan security camera that emails pics offsite;  both quit
working some years ago when ISPs we had access to made some security changes.
Now we use a nice program with a really badly chosen name;  'email' is the name,
stands for 'encrypted mail.'   You could download the rpm package for your mboard
architecture type / installed rhel type, but it is just too easy to fetch the   compressed
tar file and let the makefile install it for you, following the very very simple steps in
their  README file.  Then you've got a new linux command,  email,  that sends
mail using command line args and/or config file defaults.  You can customize it with
site defaults and override that with per-linux_account defaults.  www   dot cleancode
dot org.  Also, some of our ISP's prefer encrypted sessions {missing STARTTLS is
the gripe msg if you try to send messages without encryption} but other of our email
accounts have smtp servers that do not even permit encrypted sessions.  It is a good
first step to send a test message using windows outlook express or thunderbird, then
enshrine the same settings in your  linux  "email"  program settings for that isp.  And
yes pretty much all of our accounts connect using port 587 on their smtp servers. 
You can do   man email   after  installing this program.  You should still be able to use
sendmail for any accounts it happens to work for, even after installing this new  'email'
program.  Maybe I'm just unlucky that all my email accounts administratively reject
sendmail, as best as I can get it configured.  Email is touted as being similar to mailx
but somewhat easier to use, btw.   Apologies in advance for giving this much room to
a somewhat off-topic post, but hey, green-screen apps live, and die, by the quality of
their input/output infrastructure, which admits email, spreadsheet csv file transfers,
and even visual-basic scripts running on terminal emulators.  And cups (sigh.)

Oh, if you want to stuff tagged params in your raw email coming out of pick,
for middleware scripts to later suck out and pass on to the 'email' program,
then I suggest you use  vi   with '-es'   "whatever"   scripts instead of the
old shell programming method of running an   awk  program.

Frank

Scott Ballinger

unread,
Apr 30, 2012, 12:37:04 PM4/30/12
to mvd...@googlegroups.com
I use the POSTIE command line email program at all my sites.
I think the commercial license is only US$75.00, available at www.infradig.com.
POSTIE is super easy to implement and requires zero administration.
From the web site..

Postie Overview:
  • Send or receive command line email (Postie)
  • or directly from any program (PostieX).
  • Send SMTP/NNTP/IMAP or receive POP/IMAP on Windows or Unix
  • Relay POP3/IMAP from any server to IMAP/SMTP on any server
  • Save time and benefit from automating the sending and receiving of email
  • More features than found in any other email product on the market today
  • HTML and/or plain-text formatting
  • Inline image embedding in HTML
  • Attach one or more files
  • ... or a directory full of files
  • ... or send them one message at a time
  • Optionally use SSL/TLS for secure transmissionIPV6 ready on all protocols ...
© Infradig Systems 2012. Running Blancmange alpha release.

/Scott Ballinger

Steven Davies-Morris

unread,
Apr 30, 2012, 11:29:25 PM4/30/12
to mvd...@googlegroups.com
On 04/30/2012 09:37 AM, Scott Ballinger wrote:
> I use the POSTIE command line email program at all my sites.
> I think the commercial license is only US$75.00, available at
> www.infradig.com.
> POSTIE is super easy to implement and requires zero administration.
> From the web site..
>
> Postie Overview:
>
> * Send or receive command line email (Postie)
> * or directly from any program (PostieX).
> * Send SMTP/NNTP/IMAP or receive POP/IMAP on Windows or Unix
> * Relay POP3/IMAP from any server to IMAP/SMTP on any server
> * Save time and benefit from automating the sending and receiving of email
> * More features than found in any other email product on the market today
> * HTML and/or plain-text formatting
> * Inline image embedding in HTML
> * Attach one or more files
> * ... or a directory full of files
> * ... or send them one message at a time
> * Optionally use SSL/TLS for secure transmissionIPV6 ready on all
> protocols ...
>
> � Infradig Systems 2012. Running Blancmange alpha release.
>
> /Scott Ballinger

Thanks for this link, Scott. I've been using sendmail for a long time
but something with a bit more functionality for a small amount of $$$
would be useful. I shall look into postie.
--
SDM a 21st century schizoid man in SoCal
Systems Theory website www.systemstheory.net
"overfulnoisecascade" prog-ambient-tribal-space CD coming soon

Scott Ballinger

unread,
May 1, 2012, 10:20:22 PM5/1/12
to mvd...@googlegroups.com
I just traded emails with Andrew Davison, the Postie developer; the price for Postie is only $35 (probably Australian$), Windows or Linux.
Although the downloads section of the Infradig.com site now only lists Windows versions, Andrew can make a Linux build on request.
/Scott

Steven Davies-Morris

unread,
May 1, 2012, 11:11:28 PM5/1/12
to mvd...@googlegroups.com
Thanks, Scott. I will get in touch and request a Linux build.

fwinans

unread,
May 11, 2012, 4:47:29 PM5/11/12
to mvd...@googlegroups.com
On April 29, 2012 fwinans wrote:
Oops, that main page has nothing to click on to drill down to downloads page;
http://www.cleancode.org/downloads/email/ is a much better link.  You can use 
bunzip2   email-3.1.3.tar.bz2   to convert it to a simple  .tar  file...

Frank
Reply all
Reply to author
Forward
0 new messages