[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] system-wide raq4 catch-all user



Liam Delahunty wrote:
Josh Endries Sent: 19 December 2003 13:10
(snip)... I guess I can create an "abuse..." user with an "abuse"
alias and forward that, but I'm wondering if anyone out there knows a
better way. Is there a way I can direct all abuse@* emails to me (or
another real user), or at least accept them without giving a "user
unknown" error?


I don't think there's a way, but you could edit the /etc/mail/virtusertable
and add:

 abuse@xxxxxxxxxx	mainabuseuser
 abuse@xxxxxxxxxxxxxx	mainabuseuser

for all the domains you receive email on. Then:
 makemap hash /etc/mail/virtusertable < /etc/mail/virtusertable

Yep, that's what I did. Copy, paste, and search and replace are great. I put in mappings from abuse@xxxxxxxxxxxxxxx to the abuse alias (which goes to postmaster -> root -> me, I believe). Since the @domain.com entries just point to @host.domain.com, I didn't need to put both in, just @host.domain.tld.

Thanks,
Josh