[Dovecot] Recipient delimiters, deliver and SQL databases

Nils Vogels nivo+sender+9bb457 at is-root.com
Sat Dec 9 19:11:19 UTC 2006

Marshal Newrock wrote on 9-12-2006 19:05:
> On Sat, 09 Dec 2006 17:56:20 +0100
> Nils Vogels <nivo+sender+9bb457 at is-root.com> wrote:
>> One of the features supported by postfix, and required for my setup is
>> recipient delimiters. Using recipient delimiters, you can basically
>> send extra information in the e-mail address, to maybe deliver the
>> message into subfolders directly, or to run anti-spam software such
>> as TMDA against.
> Side note: if you use TMDA with what I refer to as the Challenge
> Response Authentication Protocol, you are a source of spam.  Sending
> responses to users who did not send the original message is
> backscatter, and will get you blocked.  No one wants to deal with your
That is a matter of configuring the product to behave sanely, but
indeed, totally not what my question was about :-)

>> When I try to deliver such a message, I get a user unknown:
> [snip]
>> Now, I am pretty sure the problem lies with the %u, expanding to
>> user+test at mydomain, which in some way should become user at mydomain,
>> since the latter is the actual mailbox name of the user, but: how?
> Check the postfix setting recipient_delimiter.
vm-mail# postconf recipient_delimiter
recipient_delimiter = +
vm-mail# postfix reload
postfix/postfix-script: refreshing the Postfix mail system
vm-mail#  echo "Test8" | mail user+test at mydomain
.. results in a bounce, since user+test at mydomain is not a valid mailbox
name, user at mydomain is.

Is there any macro (such as %u) that expands to *JUST* the local user
part of an e-mail address ?



Those who desire to give up freedom in order to gain security, will not have, nor do they deserve, either one.

~Benjamin Franklin (American Statesman, Scientist, Philosopher, Printer, Writer and Inventor. 1706-1790)

More information about the dovecot mailing list