Quote:
Originally Posted by dlublink
Hey,
Easiest thing to do is to not have the user that is being spammed. That way Postfix will outright reject it.
|
In the case of a virtual domain, I have not found a way to have the emails that *should* go to my account separated from those that don't map to a user on the system. Let me get into a little more detail.
If my domain is example.com (and .net), and my user account is
really-me@host.net (remember my example.com and .net are virtual domains served by host.net), then I can create any email address with the following format:
<website-I-created-account-on>@example.com
Why? This lets me remove that single address should this company sell it and cause a spam overload. Also, I can more easily sort my mail into folders because I know who it's addressed to.
So the issue, to deal with the spammers who are sending fake email addresses using my domain name (and therefore getting bounces, etc, sent back to my host for my email filters to struggle with), is how to tell Postfix as early as possible "these addresses are total fakes"!
I've got a bunch of entries in /etc/postfix/recipient-access that look like this:
<non-existent-address>@example.com REJECT
Some of them still get through. I'm hoping that the email addresses I've had to throw away because of spam can be "cleaned" by a quarantine period in here....I haven't proven that yet.
Quote:
Originally Posted by dlublink
Did you ever find how to execute a command on a virtual mailbox?
David
|
My mailbox on host.com handles all the email for my virtual domain example.com. I guess when I do anything with that mailbox, I am working with a virtual mailbox.
I'm still looking for a spam-foiling rule that will get the <alphabet-soup>@example.com addresses to bounce.
Since I wrote the first post, we've had to change (just this week) the server in our home which was retrieving mail, serving the internet and acting as a firewall. In the process, I moved to having my home computer retrieve the mail from my host.com site using the command fetchmail (use fetchmailconf to configure---very easy!).
I haven't had a chance yet to see if that will facilitate my spam-trapping. I think first I should check for upgrades to SpamAssassin and see how much that helps. I do have an extensive list of procmail filters which keeps most of the spam on the server for me to delete manually, instead of burning bandwidth to bring it down to my home computer.
My apologies for rambling so much. I've learned (from the searching-for-an-answer side of the scene) that having someone over-explain helps me to find answers!
Anne.