I use this setup so that every site I set up an account for gets given a different email address, e.g. diymacserver@mydomain.com
the idea behind this is that if I get lots of spam sent to a particular address I can just start to bounce the mail sent to that address...
Anyway, I now have an address that I want to bounce (because lots of spam goes there), but can't work out how to use postfix.admin to bounce specific addresses... Basically I want to keep my general alias:
@mydomain.com --> myactualaddress@mydomain.com.
but also have a rule that says that mail to the alias:
So I already have a general alias that means that *@mydomain.com goes to me, I need a specific rule that just bounces all mail sent to thisaddressgetslotsofspam@mydomain.com...
Sorry, can't help you with that. You have a catch-all address and that is what it will do. The only thing you could do is create aliases for all the addresses you use and remove the catch-all.
#
I've used postfix.admin to set up my domain so that @mydomain.com gets sent to me... I've done this with an alias:
@mydomain.com --> myactualaddress@mydomain.com.
I use this setup so that every site I set up an account for gets given a different email address, e.g.
diymacserver@mydomain.com
the idea behind this is that if I get lots of spam sent to a particular address I can just start to bounce the mail sent to that address...
Anyway, I now have an address that I want to bounce (because lots of spam goes there), but can't work out how to use postfix.admin to bounce specific addresses... Basically I want to keep my general alias:
@mydomain.com --> myactualaddress@mydomain.com.
but also have a rule that says that mail to the alias:
thisaddressgetslotsofspam@mysomain.com --> bounce back to sender
Any ideas on how to do this?
#
Just remove the alias and the mail address does not exist anymore and emails get bounced...
Nice idea by the way!
#
But the problem is that I don;t currently have an alias for
thisaddressgetslotsofspam@mydomain.com --> myactualaddress@mydomain.com.I only have the general rule that anything @mydomain.com goes to myactualaddress@mydomain.com, va the alias:
@mydomain.com --> myactualaddress@mydomain.comSo I already have a general alias that means that *@mydomain.com goes to me, I need a specific rule that just bounces all mail sent to thisaddressgetslotsofspam@mydomain.com...
#
Sorry, can't help you with that. You have a catch-all address and that is what it will do. The only thing you could do is create aliases for all the addresses you use and remove the catch-all.