LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-13-2008, 03:39 AM   #1
caheotrang
LQ Newbie
 
Registered: Jun 2008
Posts: 5

Rep: Reputation: 0
isclaimer not added on reply


I create disclaimer as below
http://www.howtoforge.com/add-automa...ostfix-fedora8
I want to disclaimer not added on reply. How I do?
Thankx
 
Old 06-13-2008, 07:21 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530
E-mail travels between servers you have no control over. So unless you have consulted a lawyer to verify the validity of claims in your "disclaimer" plus force use of encrypted messages that authenticate sender and receiver, don't expect anyone to take notice of it. Disclaimers look "official" but have as much value as say yesterdays newspaper. Adding a "disclaimer" (even if it has no value whatsoever) to *all* e-mail is consistent, adding it to some is not. The HOWTO says
Quote:
(..) The resulting system will automatically add disclaimers to outgoing emails.
. So if you want to *not* add it to replies you'll have to muck with the /etc/postfix/disclaimer script. Add the lines

Code:
from_address=`grep -m 1 "From:" in.$$ | cut -d "<" -f 2 | cut -d ">" -f 1`
grep -q -m 1 "^Subject:.*Re:" in.$$ 2>/dev/null; subject_match_re=$?

if [ $subject_match_re -eq 1 ]; then
 if [ `grep -wi ^${from_address}$ ${DISCLAIMER_ADDRESSES}` ]; then
...
 fi
fi
and test if it works. If it works you must send your changes to the HOWTO author or add them as a comment to the HOWTO.
 
Old 06-16-2008, 09:49 PM   #3
caheotrang
LQ Newbie
 
Registered: Jun 2008
Posts: 5

Original Poster
Rep: Reputation: 0
To unSpawn
It works, but disclaimer changed
for example:
disclaimer is
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
after reply
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxx
pls help me to fix
Thanks
 
Old 06-17-2008, 05:06 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530
Quote:
Originally Posted by caheotrang View Post
It works, but disclaimer changed
Isn't that just the reply indentation? How did you inspect this? By reading the message as text with say 'less' or in your mailclient?
 
Old 06-17-2008, 09:41 AM   #5
caheotrang
LQ Newbie
 
Registered: Jun 2008
Posts: 5

Original Poster
Rep: Reputation: 0
it is indentation as below after reply

the body text after reply (in recipient's mailbox)

This email is intended only for the use of the individual address or
organisation to whom it is addressed and may contain information that is

privileged and confidential. If you, the reader of this email, are not
the
intended recipient, you must not disseminate, distribute or copy this
email.
If you have received this email in error, please immediately notify us
by
phone at +123456 or by return email to .
Thank you for your cooperation.
ABC is not liable if an e-mail or attachment is altered without its
written
consent.

By reading the message as text with say 'less' or in your mailclient?
I dont know what u mean
 
Old 06-17-2008, 10:03 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530
About all e-mail clients render messages according to rules. For instance they indent anything that starts with a (sometimes configurable) "reply" marker. E-mail is basically plain text. So unless your mailclient has an option to show messages without formatting, then saving a message to disk with full headers (or extracting it from the mailbox or file) and using vi, pico, nano, less, more or most to display that message shows what it will *really* look like.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Quick Reply "post reply" button. IsaacKuo LQ Suggestions & Feedback 9 12-04-2005 04:41 PM
please reply sukhbhela Solaris / OpenSolaris 1 09-19-2004 04:50 AM
Need A Reply >>>>please? d4harvey Linux - Hardware 3 09-04-2004 08:08 PM
post reply & submit reply buttons annehoog LQ Suggestions & Feedback 10 01-05-2004 07:43 PM
Evolution - reply - missing own reply emanuelgreisen Linux - Software 0 01-31-2003 05:40 AM


All times are GMT -5. The time now is 03:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration