LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-13-2013, 05:40 AM   #1
Mik3yZ
LQ Newbie
 
Registered: May 2013
Posts: 1

Rep: Reputation: Disabled
Question Sendmail: Add Sensitivity flag if subject contains "Password (reset|gereset)"


Hi All,

People at my company want to have the "Sensitivity" flag set when the subject contains a set of words.

I am now trying to fix the in the sendmail.cf file;

Code:
#########################
#   Format of headers   #
#########################

H?P?Return-Path: <$g>
HReceived: $?sfrom $s $.$?_($?s$|from $.$_)
        $.$?{auth_type}(authenticated$?{auth_ssf} bits=${auth_ssf}$.)
        $.by $j ($v/$Z)$?r with $r$. id $i$?{tls_version}
        (version=${tls_version} cipher=${cipher} bits=${cipher_bits} verify=${verify})$.$?u
        for $u; $|;
        $.$b
H?D?Resent-Date: $a
H?D?Date: $a
H?F?Resent-From: $?x$x <$g>$|$g$.
H?F?From: $?x$x <$g>$|$g$.
H?x?Full-Name: $x
# HPosted-Date: $a
# H?l?Received-Date: $b
H?M?Resent-Message-Id: <$t.$i@$j>
H?M?Message-Id: <$t.$i@$j>
HSensitivity: Private
This works for all email, but now i want to make it so it only does this for subjects containing "Password (reset|gereset)"...

i have no idea how i should do this, can somebody help / point me in the right direction?

Thanks!
 
Old 05-13-2013, 01:43 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
For outbound you want a milter.
https://www.milter.org/
http://www.sendmail.com/sm/partners/...lter_partners/
http://www.jmaimon.com/sendmail/milters/
In method similar to those threads asking how to tack on a disclaimer. I'd first check Mimedefang.
 
  


Reply



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
Unable to reset root password / init: "x" respawning very fast gshenbag Linux - Enterprise 5 12-30-2009 02:19 AM
How to modify the "Subject" in Sendmail munirfa Linux - General 5 03-06-2006 11:57 PM
"route add" gets reset at reboot trees Linux - Networking 5 01-21-2004 04:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:20 AM.

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
Open Source Consulting | Domain Registration