Sieve Subaddress support in Archiveopteryx

The Subaddress extension provides address tag support: alice@example.com can use the subaddresses alice+amazon@example.com, alice+aox@example.com and so on.

These subaddresses need not be registered anywhere. If alice@example.com is valid and subaddresses are enabled, then all subaddresses are valid automatically.

Archiveopteryx fully supports subaddresses.

Subaddress support is disabled by default in Archiveopteryx 2.x. It can be enabled by setting the use-subaddressing variable in archiveopteryx.conf.

The Subadddress specification specifies that the address and subaddress should be separated by a plus sign. Accordingly, this is the default for Archiveopteryx. However, many poorly implemented web forms refuse to accept email addresses containing a plus sign, so it may be better to use a hyphen or another character: address-separator = "-"

In the following example, mail to alice+aox@example.com is specially filed, mail to alice+amazon@example.com is rejected, and mail to all other subaddresses is filed in the normal inbox.

if allof ( envelope :user "to" "alice", envelope :domain "to" "example.com" ) { if envelope :detail "to" "amazon" { reject; stop; } if envelope :detail "to" "aox" { fileinto "lists/aox"; } keep; }

In case of questions, please write to info@aox.org.

Relevant links

About this page

Last modified: 2010-11-19
Location: aox.org/sieve/subaddress