Operating System - Linux
1748224 Members
4487 Online
108759 Solutions
New Discussion юеВ

attaching a signature with procmail

 
SOLVED
Go to solution
Marcelo Celleri
Occasional Contributor

attaching a signature with procmail

Hello,

I'm trying to attach my business signature to the outgoing messages but first I have to filter some mail so I do this with procmail, is there a way in wich I could concatenate a text file with the signature on it with procmail? or better than that, is there a way in wich I could attach a gif file with my logo?


Thanks in advance...
3 REPLIES 3
Bill Thorsteinson
Honored Contributor

Re: attaching a signature with procmail

Procmail is generally used for incoming
messages. I haven't seen it used for
outgoing messages.

I would suggest you look at the signature
capability of your email tool. Most have
the ability to add a signature automatically.

Some mail software includes a vcard format signature. These can be automatically or manually added to contact lists.

If you insist on using procmail, you can
filter the message through a filter that
adds the signature at the end.

There is a standard of separating the signature
from the body with line containing "-- " (DASH DASH SPACE). This is not often followed.
Steven E. Protter
Exalted Contributor
Solution

Re: attaching a signature with procmail

With some abount of modfication, the script I'm attaching can be used to send mail with or without attachments and include a signature.

For outbound mail, this is more easily accomplished with the email client.

There are probably lots of ways to do it with ascript.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Marcelo Celleri
Occasional Contributor

Re: attaching a signature with procmail

There is another way to do it with sendmail?
I just want to sign my outgoing messages, but still I have to validate if the mail goes from one of my users to another (in this case I don't want to sign) or if the mail goes to the people outside..., also I'm using MailScanner, maybe it could help, because it has a inline signature inside of its configuration, but it signs everything...