Need email server aid
Alvin Thompson
alvin at thompsonlogic.com
Mon Apr 26 19:06:40 UTC 2010
On 04/22/2010 11:26 AM, Chuck Kuecker wrote:
> Which species of base64 encoding do I want? Wikipedia shows several
> associated with email.
Chuck, it would likely be far easier to just include a lightweight SMTP
server locally on the device and take advantage of one of the billion
SMTP libraries out there for whatever language you're working with.
Since all you need to do is send mail from the device and not accept
mail (you can still *receive* mail if you want by getting it from the
server via POP or IMAP), and since you only need to accept connections
locally, configuration should be easy. There are many very lightweight
SMTP servers available for this use case. Why make more work for yourself?
Just make sure you get an SMTP server that includes a mail queue for
reliability (that excludes "ssmtp" and "esmtp" for example).
"Nullmailer" comes to mind. Nullmailer's configuration is dead simple:
you just specify the embedded device's name in /etc/mailname (this will
also be the domain part of the "from" address for your mail unless
otherwise specified), and specify your mail server address
(mail.ckent.org) in /etc/nullmailer/remotes.
Hope this helps,
Alvin
More information about the ubuntu-users
mailing list