On 3/13/2014 4:45 PM, Andrey Repin wrote:
> Greetings, Noel Jones!
> 
> Thank you for the reply, Noel.
> I'm not seeing my own message sent to the list, is this normal?

Maybe the amavis-users list server is filtering your mail. I don't
recall seeing any from you either.

Note some mail systems, notably google services, suppress
"duplicate" messages preventing you from seeing your message to the
list.  But that doesn't seem to be the case this time.


>>> The other feature is the so-called common mailboxes, such as info@ or 
>>> sales@.
>>> I would like to have different delivery lists for same named common mailbox 
>>> in
>>> each of the two internet domains. I've found vague reference to the
>>> possibility of utilizing LDAP directly to this extent, and I'm reading
>>> http://www.postfix.org/LDAP_README.html to see if I can get it working, but
>>> any quick hints are greatly appreciated.
> 
>> Look at the dovecot shared mailbox feature.
> 
> Um. I'll see about it, but from the name of it, this doesn't sound like the
> feature I need. I don't need a _shared_ mailbox (else I could just connect the
> specified mailbox to users' clients. Trivial task considering IMAP usage).

I see.  Maybe a virtual_alias_maps entry expanding the info@
addresses to the specific users.  Note: NOT virtual_alias_domains.

i...@example1.com   user1@localhost, user2@localhost
i...@example2.com   user3@localhost, user4@localhost

This can be implemented in LDAP or any other supported map type.


> 
>>> The last, but not least feature I'm struggling to implement is the dealing
>>> with retired employees.
>>> When an employee retire, if their account was part of the common business
>>> process (managers commonly fall into this category), their account is not
>>> immediately retired, but password-locked and any mail coming to it needs to 
>>> be
>>> auto-replied with redirection statement for a period of time, before all
>>> access to the specified account is forever restricted.
>>> I could easily hack together an auto-reply bot, but I seems to be unable to
>>> prevent delivery to the existing mailboxes of disabled users.
> 
>> The postfix "relocated" feature is specifically for this.
>> http://www.postfix.org/postconf.5.html#relocated_maps
> 
> It seems it may help me with mail redirection, but doesn't answer the question
> of delivery prevention.
> Quick search of the list turned up a suggestion that I could somehow use
> dovecot to check if the user is available for delivery, but I've found no
> further information on that yet.
> The task is to prevent the use of retired addresses without constant change of
> postfix configuration. Not to keep them in use.

Addresses listed in relocated_maps do not receive mail.

You may be able to use an LDAP lookup that checks the user's dovecot
account status for this postfix map.


> 
> 
> --
> WBR,
> Andrey Repin (anrdae...@freemail.ru) 14.03.2014, <01:35>
> 
> Sorry for my terrible english...
> 

Your English is fine.  Thanks for learning my language.



  -- Noel Jones

Reply via email to