[Cialug] Sendmail spam rejection
Aaron Porter
atporter at gmail.com
Tue Oct 24 18:56:24 CDT 2006
On 10/24/06, Daniel A. Ramaley <daniel.ramaley at drake.edu> wrote:
> So far Google has not been quite as helpful as i would have liked
> (probably because i'm not familiar enough with sendmail to search the
> correct terms), but i've found 2 possibilities. I don't know whether
> they are plausible, though. One would be to set up a virtusertable hash
> file with a list of valid recipients (all 20 000 of them), but i think
> that is mostly used to rewrite addresses. I don't want to rewrite
> addresses, i just want to have a list of valid ones and deny the rest:
> user1 at example.com user1 at example.com
> user2 at example.com user2 at example.com
> ...
> @example.com error:"550 We do not accept spam"
>
> Would that work? If not, the other idea i've seen would be to set up
> sendmail's ldap_routing feature, but instead of using real LDAP, use a
> hash table. Unfortunately, i've not yet found understandable
> instructions on how to use the ldap_routing with a hash file.
Might fit better into the access table, but it should work.
user at example.edu ACCEPT
@example.edu error:"500 foo"
More information about the Cialug
mailing list