• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 780
  • Last Modified:

Customization MAILER-DAEMON messages - Adding signatures to All-outgoing-mails.

Hi everybody,

Based on Centos 5.2. I want to customize MAILER-DAEMON messages, how to?
Like;

Hi. This is the qmail-send program at xxxx
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

And,

I want add "TEXT"  to all outgoing mails. How?
0
gneral
Asked:
gneral
4 Solutions
 
ai_ja_naiCommented:
>Based on Centos 5.2. I want to customize MAILER-DAEMON messages
recompile qmail-local.c or qmail-send.c, changing the messages which is hard coded in the source; follow these instructions carefully (http://cr.yp.to/proto/qsbmf.txt), since the message format is strict


>I want add "TEXT"  to all outgoing mails.
where do you want to add it? in the body, at the end? In the subject?
0
 
gneralAuthor Commented:
Thank you for the reply,

In the BODY and END at the msgs.
0
 
ai_ja_naiCommented:
Then, you should definetely not do it, because you would break the pgp signature that lies at the end of a message
0
 
Maciej SsysadminCommented:
I don't use qmail, but I found this article: http://forum.qmailrocks.org/showpost.php?p=11968
I agree with ai_ja_nai, that you really shouldn't do that (PGP, smime, etc).
0
 
Morne LateganCommented:
I assume that you want to ad a disclaimer to your e-mail.

The software to use is alter-mime. I have used it successfully with Postfix at a couple of sites, but not with q-mail.

This post forum seems to indicate that it works with qmail too:

http://www.mail-archive.com/qmail-ldap@qmail-ldap.org/msg06608.html

You can google for the words "qmail disclaimer altermime" for more info.

Hope it helps
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now