Hi all,

As far as I have understood, check_recipient_access in 
smtpd_recipient_restrictions uses the original RCPT TO addresses for
lookup (and not on the results after resolving (virtual) aliases).

I want all mails received for a certain user to put on HOLD
for a while (because I am repairing her IMAP mailbox).

This user receives mail for a lot of (virtual) email addresses, e.g.
i...@example1.com, webmas...@example2.net, etc.

Do I really have to write my check_recipient_access map in the form

  i...@example1.com       HOLD
  webmas...@example2.net  HOLD
  ...

or is there a shorter way to do this, because all this mail addresses
are in the end aliased to the same "local" user account?

Some of those email addresses are even aliased to more than one user. 
So the bad side effect of the map as shown above would be, that NOBODY
receives mails targeted at e.g. i...@example1.com - but I only want to
prevent one special mailbox to not receive any mail...

Thanks and regards
-stefan-


Reply via email to