[EXIM] Comment in a re-written address

Startseite
Nachricht löschen
Nachricht beantworten
Autor: paulr
Datum:  
To: exim-users
Betreff: [EXIM] Comment in a re-written address
Hi,

In converting from Nexor's MMTA on our Mail Hubs (nearly there),
I need to convert lines like the following in an MMTA aliases table:

elec-year1:synonym "class@??? (5B7U+2RNU+3KAU)" 822
elec-year2:synonym "class@??? (777V+2RCV+3KDV)" 822
elec-year3:synonym "class@??? (8J9W+3YHW)" 822
elec-year4:synonym "class@??? (689X+2AXX+8N5X+3LDX+3LEX+3LFX)" 822

with

class:class@???

also used as an alias.

I have failed to get Exim's rewriting rules to do what MMTA does.
Only the "working part" of the re-written "To:" header ever gets generatedgenerategenerated
I am happy for the envelope header to be "class@???"
However, the comment field must be present in the "To:" header.

Assistance would be appreciated. Using Exim 1.92.

[ BACKGROUND:
I have a dynamic distribution list facility. It uses
an adapted resend command in Majordomo on server
udcf.gla.ac.uk which can recognise message header lines like

    To: class@??? (8J9W+3YHW)
  and
    To: "(8J9W+3YHW)" <class@???>


and will deliver to all students who are under one or more of the
specified four character course codes (eliminating duplicate recipients).
There are thousands of possible course codes.
]

Best wishes,
Paul R.

Paul Rosenberg, Computing Service, Univ. of Glasgow, Glasgow G12
POSTMASTER@???, Tel +44 (0)141 330 4825, Fax " " " 4808
================================================================



--
*** Exim information can be found at http://www.exim.org/ ***