Marc Guyard
2014-06-23 12:55:57 UTC
Hi,
I've working since many days on MailDrop and i have a problem with the to
and cc.
In my configuration, i've this :
if ($SUBJECT =~ /.*\[Ticket#[0-9]+\].*$/ && ! /^X-Loop: ***@email.com$/:h)
{
log "* Match OTRS Subject"
log "* Add AntiLoop Header ==> X-Loop"
xfilter "reformail -A 'X-Loop: ***@email.com'"
log "* Send email to OTRS mailbox"
to "!***@test.local otrs-***@test.local"
}
In my case, mails who match this rule are send to ***@test.local and
otrs-***@test.local but also to all address in to and cc of the
original email.
How can i specify to foward the email only to addresses specified and not
to this and original to/cc ?
Thanks by advance for your help
Marc GUYARD
I've working since many days on MailDrop and i have a problem with the to
and cc.
In my configuration, i've this :
if ($SUBJECT =~ /.*\[Ticket#[0-9]+\].*$/ && ! /^X-Loop: ***@email.com$/:h)
{
log "* Match OTRS Subject"
log "* Add AntiLoop Header ==> X-Loop"
xfilter "reformail -A 'X-Loop: ***@email.com'"
log "* Send email to OTRS mailbox"
to "!***@test.local otrs-***@test.local"
}
In my case, mails who match this rule are send to ***@test.local and
otrs-***@test.local but also to all address in to and cc of the
original email.
How can i specify to foward the email only to addresses specified and not
to this and original to/cc ?
Thanks by advance for your help
Marc GUYARD