I have managed to semi-successfully transfer one of my domains running postfix/dovecote to MIAB VPS, but have question about aliases.
I have been manually editing /etc/postfix/virtual in order to get the following setup on my old mail server.
I wanted to combat spam, or know who sold or misused my email address so in order to do that I have requested each user to create unique e-mail address alias if giving away to organizations, banks etc. it would start with “number DOT domain where they giving the e-mail address DOT yearmonthandday (to make it unique) AT my DOT domain”.
So I would have firstname.lastname@example.org and I would have it forwarded to my email@example.com in /etc/postfix/virtual
What I am looking is there a way to automate this in MIAB so I do not need to add in aliases but lets say all email that will start with number one “firstname.lastname@example.org” would automatically go to me and e-mails starting with number two “email@example.com” go to my son etc.?
Have you tried using the + sign in your email addresses, that is how I combat this. So compose your email like firstname.lastname@example.org. This will always go to the inbox of email@example.com and you can use rules in your mailclient or server to move it to any folder you woud like to.
Your setup of
firstname.lastname@example.org -> email@example.com
firstname.lastname@example.org -> email@example.com
Wont work, if you want something like this to work you need to do it like:
firstname.lastname@example.org -> email@example.com
ivanka +firstname.lastname@example.org -> email@example.com
It should always start with an existing username. Otherwise you’ll be stuck with aliases.
So there would be nothing easier for them then remove the “+3” from the e-mail “firstname.lastname@example.org” and instead of that email going to specific folder it would get delivered to Inbox and I would not be able to track who sold/abused that unique e-mail alias “email@example.com” address that we all create for every website that wants e-mail registration …
3 - is unique number that would identify specific user (1 for donald, 2 for ivanka, 3 for tiffany etc. for eg.)
snap.pack - would be the name of the server that e-mail has been used to register with
20170101 - Is the date that it has been registered with the website
That way, this alias would be unique and easily traceable to whom abused that specific address.
I have listened to program on BBC Radio 4 while ago and someone there was talking about this approach (and making money back from companies that send spam to him), he used same approach, but without the unique date and the spamming company argued that the email was not unique etc. … so when he start making the aliases unique spam went down to 0 and same has worked for me in the past when running the mail and manually adding aliases to /etc/postfix/virtual on server set up from article over here
So it looks like there is not way to get emails starting with “prefix number dot something dot dateandtime at domain.name” be delivered to predefined user without having to add them manually via Mail → Aliases menu