ZhangHuangbin wrote:
If user doesn't exist, Postfix will reject it by default, "mynetworks" parameter doesn't help in your case.
I think you can achieve it this way:
*) Add an catch-all account.
*) Add a check_sender_access map to allow your external IP and reject all others. Reference:
http://www.postfix.org/postconf.5.html# … der_access
Adding a @mydomain.com->@mydomain.com alias in vmail.alias worked just fine. If I execute amavisd-release *spam-id* on spam sent to a catch-all where would I find the released spam?