Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.3 Server: Create a postfix catch-all email account' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3 Server: Create a postfix catch-all email account
Authored by: sfleming on Apr 17, '04 03:04:43PM

Unfortunately, it looks like your hint requires manual editing each time I add a user. Since I do that a *lot* (hosting a high school), that's not really practical for me.

The postfix help files imply that I can set up a 'luser_relay' address to make a catch-all account, but it doesn't work. I've started a new thread on the topic. Suggestions welcome!



[ Reply to This | # ]
using luser_relay for catch-all with blacklist
Authored by: kg23 on May 19, '05 07:50:47PM
I was able to get "luser_relay" to work for my "one user" email domain. This allowed me to set up a catch-all without virtual_alias_maps. This also offered the ability to add known spammer email targets (like 'nospam') to a blacklist. Mail to the blacklisted addresses go to /dev/null.

I make no claims to the efficacy or security of this setup. It's working for me.

Add to main.cf:
luser_relay=CATCHALL@DOMAIN.COM
local_recipient_maps =

The local_recipient_map is empty.

Add to /etc/postfix/aliases:
devnull: /dev/null
KNOWNSPAMMER: devnull
Add "KNOWNSPAMMERS" addresses as they get discovered and annoy. Be aware that email to these addresses will receive no bounce messages.

As root:
newaliases
postfix reload


[ Reply to This | # ]

using luser_relay for catch-all with blacklist
Authored by: lipids on Jun 06, '05 07:34:32PM

the luser_relay may be a deprecated feature. I am unsure. However, this does certainly seem more elegant than my solution. I am going to try it.



[ Reply to This | # ]