LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Can I use Sendmail as a Mail Server to append HTML to messages? (http://www.linuxquestions.org/questions/linux-server-73/can-i-use-sendmail-as-a-mail-server-to-append-html-to-messages-4175445076/)

lifefanatic 01-10-2013 11:23 PM

Can I use Sendmail as a Mail Server to append HTML to messages?
 
We have several people in our office with their own email accounts (different domains)who would like to have their messages branded. I'd like to set up our own server, and have the messages pass through, and the applicable HTML template applied to each message, based on the sender.

I know there are services that provide this, but at $140 each per year, I'd rather keep it inhouse. It seems most services have the clients change their outgoing mail server.

is this possible with sendmail, or am I on the wrong track? emailstationery.com or http://www.fabusend.com/ are some samples of what I'm trying to replicate

unSpawn 01-11-2013 06:58 AM

Quote:

Originally Posted by lifefanatic (Post 4867498)
We have several people in our office with their own email accounts (different domains)who would like to have their messages branded.

Somehow I doubt they would "like" it to...


Quote:

Originally Posted by lifefanatic (Post 4867498)
I'd like to set up our own server, and have the messages pass through, and the applicable HTML template applied to each message, based on the sender.

Welcome to your own private world of hurt in which you deal with b0rkage caused by a gazillion different MUA's, plain text, MIME, TNEF and other standards they (don't) adhere to, etc, etc. Check the last sentence of http://www.linuxquestions.org/questi....php?p=1921256 but please read Stupid Email Disclaimers as well.

lifefanatic 01-11-2013 11:58 AM

Actually, they DO. They don't want an email disclaimer. They want a customized picture header and footer, with links to their site, etc. I've managed tost it up in outlook and thunderbird, but they use iphones and webmail and want their messages branded from everywhere. Easiest way to do this for different domains would be using a relay server (I think).

inboxfx DOES this- you have to change your outgoing mail server- and would work, but at $150 a year, I thought I could set up my own. Thanks for the link...email disclaimers might work. Maybe it's not sendmail I should be looking at, then? I'm also worried about their messages being marked as spam if they're being relayed from a different servr.

NyteOwl 01-11-2013 02:15 PM

Clear to see they don't have to read the mails they send, or pay for the mailbox space and bandwidth to move them.
It can also interfere with encrypted or signed email messages and if you don't correctly follow the letter of the MIME specs you can easily break file attachments, multiparts, etc.

This kind of personalization is best done in the client however if you must, check out milter (mail filter):

http://www.milter.org/
http://www.bmsi.com/python/milter.html


All times are GMT -5. The time now is 07:41 AM.