22 Jul 2024 
Support Center » Knowledgebase » Email Services » Email Continuty , Email Dual Delivery , and Email Routing Rules Tutorial
 Email Continuty , Email Dual Delivery , and Email Routing Rules Tutorial
Article The following rules and capabilities are provided within  the Email Continuity or Email Dual Delivery or Email Routing Systems:

    %%    A literal percent-sign (%)
    %A    The original address, equivalent of %T%P@%D.
    %D    The domain name portion.
    %L    The left-hand-side of a plus-detailed address or the local part.
    %P    The local-part. If %R is not empty, then "%L+%R", else "%L".
    %R    The right-hand-side of a plus-detailed address or the empty string.
    %S    The source-route, ie "@A,@B,@C", or the empty string.
    %T    If %S is not empty, then "%S:", else the empty string.

Some format-path examples:

    Address    Format    Result
    user@example.com         %T%P@%D         user@example.com
    user+detail@example.com    %P@%D    user+detail@example.com
    user+detail@example.com    %L+bulk@%D    user+bulk@example.com
    user+detail@example.com    bulk+%L@%D    bulk+user@example.com
    user+detail@example.com    bulk+%R@%D    bulk+detail@example.com
    user+detail@example.com    %P@bulk.%D    user+detail@bulk.example.com
    @A,@B:user@example.com    %T%P@bulk.%D    @A,@B:user@bulk.example.com

Below is a list of supported tags. Other options may specify additional tags.

          
    CC-Rule-Connect:client-ip      value
    CC-Rule-Connect:[client-ip]      value
    CC-Rule-Connect:client-domain      value
    CC-Rule-Connect:      value
    
    All mail from the client-ip, the unresolved [client-ip] address, or IP addresses that resolve to client-domain is blind-carbon-copied to one or more addresses as given by the value list.
    
    CC-Rule-From:sender-address      value
    CC-Rule-From:sender-domain      value
    CC-Rule-From:sender@      value
    CC-Rule-From:      value
    
    CC-Rule-All:sender-address    value
    CC-Rule-All:sender-domain    value
    CC-Rule-All:sender@    value
    CC-Rule-All:      value
    
    All mail from the sender-address, sender-domain, or that begins with sender@ is blind-carbon-copied to the addresses constructed from the value list explained below. The CC-Rule-From: and/or CC-Rule-All: may be applied. In the case of a +detailed email address, the left hand side of the +detail is used for the sender@ lookup.
    
    CC-Rule-Auth:auth_authen    value
    CC-Rule-Auth:    value
    
    All mail from the authenticated sender, as given by sendmail's {auth_authen} macro, is blind-carbon-copied to the addresses constructed from the value list explained above. The string searched by the pattern list will be the sender-address. The empty form of CC-Rule-Auth: allows for a milter specific default only when {auth_authen} is defined.
    
    CC-Rule-To:recipient-address      value
    CC-Rule-To:recipient-domain      value
    CC-Rule-To:recipient@      value
    CC-Rule-To:      value
    
    CC-Rule-All:recipient-address    value
    CC-Rule-All:recipient-domain    value
    CC-Rule-All:recipient@    value
    CC-Rule-All:      value
    
    All mail from the recipient-address, recipient-domain, or that begins with recipient@ is blind-carbon-copied to the addresses constructed from the value list explained below. The CC-Rule-From: and/or CC-Rule-All: may be applied. In the case of a +detailed email address, the left hand side of the +detail is used for the recipient@ lookup.

A !pattern! uses an astrisk (*) for a wildcard, scanning over zero or more characters; a question-mark (?) matches any single character; a backslash followed by any character treats it as a literal (it loses any special meaning).

!abc!exact match for 'abc'
!abc*!match 'abc' at start of string
!*abc!match 'abc' at the end of string
!abc*def!match 'abc' at the start and match 'def' at the end, maybe with stuff in between.
!*abc*def*!

A format-path string comprises of literal characters and percent-sign (%) prefixed format characters:

%%A literal percent-sign (%)
%AThe original address, equivalent of %T%P@%D.
%DThe domain name portion.
%LThe left-hand-side of a plus-detailed address or the local part.
%PThe local-part. If %R is not empty, then "%L+%R", else "%L".
%RThe right-hand-side of a plus-detailed address or the empty string.
%SThe source-route, ie "@A,@B,@C", or the empty string.
%TIf %S is not empty, then "%S:", else the empty string.

Some format-path examples:

AddressFormatResult
user@example.com %T%P@%D user@example.com
user+detail@example.com%P@%Duser+detail@example.com
user+detail@example.com%L+bulk@%Duser+bulk@example.com
user+detail@example.combulk+%L@%Dbulk+user@example.com
user+detail@example.combulk+%R@%Dbulk+detail@example.com
user+detail@example.com%P@bulk.%Duser+detail@bulk.example.com
@A,@B:user@example.com%T%P@bulk.%D@A,@B:user@bulk.example.com




Article Details
Article ID: 257
Created On: 25 Sep 2013 7:11 AM

 Back
 Login [Lost Password] 
E-mail:
Password:
Remember Me:
 
 Search
 Article Options
Home | Register | Knowledgebase | Troubleshooter | News | Downloads
Language:

Help Desk Software by Kayako SupportSuite v3.60.02