Le 13/05/2011 10:24, Ralf Zimmermann a écrit :
> On 05/13/2011 02:08 AM, Wietse Venema wrote:
>> Jason Voorhees:
>>>> I suggest the documentation, instead:
>>>>
>>>> http://www.postfix.org/postconf.5.html#smtpd_proxy_filter
>>>>
>>>
>>> Thanks, I'm going to read it.
>>>
>>>> This can be anything that speaks SMTP.
>>>>
>>>> (Note that implementing one of the *_bcc options will be far easier)
>>>>
>>>
>>> I'm not pretty sure how to do that because I don't want to bcc all my
>>> e-mail to one address.
> 
>> /etc/postfix/main.cf:
>>     recipient_bcc_maps = pcre:/etc/postfix/recipient_pcre
>>     recipient_delimiter = +
> 
>> /etc/postfix/recipient_pcre:
>>     # Send copy of mail for each u...@example.org recipient
>>     # to archive+user=example....@example.com
>>     /^(.*)@([^@]+)$/ archive+$1=$2...@example.com
> 
>> This sends a copy for each recipient to arch...@example.com, with
>> the original recipient encoded in the address extension.
> 
>> This question comes up every few months or so.
> 
>>      Wietse
> 
> 
> How can I protect incoming Emails, when the IMAP Server use mailbox
> autocreating for mailboxes doesn't exists?
> 
> Can I filter and REJECT incoming Emails where the email address contains
> '+'? With mailbox autocreating everyone can mail to email addresses and
> so autocreate folders.
> 

that depends on
- whether you need delimiters in inbound mail
- why you need autocreation and which imap server you use


with dovecot, you can create two dovecot deliver transports, one with
autocreation enabled and the other with autocreation disabled. then use
transport_maps to select which one to use.

Reply via email to