
Robert
Thanks for the information. Below is my final version of the scripts. Do you see any thing wrong with my data? Also just to make sure I will add this in the Kernel/Config.pm file is the section add your code here. Sorry for the basic questions as I am still a newbee with OTRS.
[...]
# Job Name: 1-Match Restore Request for restore@example.com
# (sort emails with From: restore@example.com
# into queue 'Restore')
$Self->{'PostMaster::PreFilterModule'}->{'1-Match'} = {
Module => 'Kernel::System::PostMaster::Filter::Match',
Match => {
To => 'restore@example.com',
},
Set => {
'X-OTRS-Queue' => 'Restore',
},
};
# Job Name: 2-Match Subject request for sdc@example.com
# (sort emails with From: sdc@example.com and Subject: Restore
# into queue 'Restore')
$Self->{'PostMaster::PreFilterModule'}->{'2-Match'} = {
Module => 'Kernel::System::PostMaster::Filter::Match',
Match => {
To => 'sdc@example.com',
Subject => 'Restore',
},
Set => {
'X-OTRS-Queue' => 'Restore',
},
};
[...]
Thanks,
Jason
-----Original Message-----
From: Robert Kehl [mailto:robert.kehl@otrs.de]
Sent: Wednesday, March 17, 2004 3:49 PM
To: User questions and discussions about OTRS.
Subject: Re: [otrs] Routing Emails
On Wednesday, March 17, 2004 3:01 PM
Jason White
Is it possible to route request to a Queue based on the subject line of the email? Also I have a couple of email alias's called restore@domain.com and backup@domain.com they are aliases to support@domain.com . OTRS logs in to the mail server with the support account to get the emails but it routes the restore and backup request to the support Queue instead of the restore queue.
Both is achievable via the Postmaster::Filter modules. http://doc.otrs.org/1.2/en/html/receiving-email-filter-module.html Defaults.pm some examples, too: # fgrep -B1 -A32 "PostMaster Filter Modules" Kernel/Config/Defaults.pm Procmail can be used as well: http://doc.otrs.org/1.2/en/html/receiving-email-cmd.html hth, Robert Kehl -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Tel. +49 (0)6172 4832388 _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support oder Consulting für Ihr OTRS System? => http://www.otrs.de/
participants (1)
-
Jason White