LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 02-02-2010, 12:55 PM   #1
keopp
LQ Newbie
 
Registered: Feb 2007
Posts: 9

Rep: Reputation: 0
HowTO Insert Counter # in subject line before sending email message


Hello all.
Did anyone heard about or can suggest mabe a postfix serverside solution in order to insert a counter number into the subject line before the message is sent?
I mean something similar with helpdesk tickets, because I would like to create the possibility for the senders, to make further refference about a speciffic message using it's counter number provided by postfix server.

Last edited by keopp; 02-02-2010 at 12:57 PM. Reason: insert tags
 
Old 02-14-2010, 03:05 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,286
Blog Entries: 54

Rep: Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854
Quote:
Originally Posted by keopp View Post
I would like to create the possibility for the senders, to make further reference about a specific message using it's counter number provided by postfix server.
Generally speaking such a process would require you to set up a filter (/etc/postfix/outgoing-filter-check?) or a milter (Postfix should support milters) or an outbound proxy to inject text in outbound messages which is not impossible, for instance see MTAs adding those disclaimer footers (which are BTW totally devoid of any meaning, judicial or otherwise), DKIM or spam-filtering outbound, but doing that would seem the wrong way to do things. First of all messages get a unique Message-Id anyway (so b0rken threading is a MUA problem) plus helpdesk ticketing software exists, so why not use that?..
 
Old 02-14-2010, 03:31 AM   #3
keopp
LQ Newbie
 
Registered: Feb 2007
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks. I am aware about the unique Message-ID and I am also familiar with helpdesk software. The solution I am looking for, is to have all incomming emails numbered(serverside) into their Subject line regardless the sender's email client and excluding an unified system such as an helpdesk software, in order to be further referenced by this number(prefferebly incremental with reset possibilities). The solution, as you mentioned, lays around a proxy, a filter-milter, or similar(see how Hylafax works). This is why I launced this challange for someone who ever used or saw(inside) this working.

Cheers.
 
Old 02-14-2010, 05:41 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,286
Blog Entries: 54

Rep: Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854
You mean Postfix After-Queue Content Filter doesn't work for you?
 
Old 02-15-2010, 03:22 PM   #5
keopp
LQ Newbie
 
Registered: Feb 2007
Posts: 9

Original Poster
Rep: Reputation: 0
Hey man! Thanx.

This can be a lead. Let me chew it for a while...
 
Old 02-26-2010, 02:33 AM   #6
keopp
LQ Newbie
 
Registered: Feb 2007
Posts: 9

Original Poster
Rep: Reputation: 0
@unSpawn

Thank you very much. You gave me a valid clue.

Cheers!!
 
  


Reply

Tags
email, postfix, server


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
[SOLVED] Sending email from command line through authenticated SMTP server xj25vm Linux - Server 7 12-11-2008 04:14 PM
command-line email sending ixion Linux - Software 9 08-01-2008 06:46 AM
LXer: A utility for sending complex email messages from the command line LXer Syndicated Linux News 0 06-06-2008 09:30 AM
command-line for sending email with attachment? enemorales Linux - Software 3 10-06-2004 08:04 AM


All times are GMT -5. The time now is 07:39 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration