Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Plussed users

2 views
Skip to first unread message

Kristo Kriechbaum

unread,
Mar 19, 2003, 5:02:38 PM3/19/03
to
Hi,

I would like to use a symbol other than "+" for the plussed users feature. I
know that an email addressed to bob+test@domain would be delivered to
bob@domain. I want to be able to use something like "-" or "_" instead of
plus, so that something like bob_test@domain would be delivered to
bob@domain.

I frequently use plussed addresses when signing up for something, that way if
I ever start getting spam to that address I can simply have it go straight to
the spam folder. The problem is that many forms on web sites think that plus
is not a valid character in an email address.

I think I found the lines in the sendmail.cf file where the plussed user stuff
is set up, but I want to hack that as a last resort. Is there something
simple I can put in the sendmail.mc file to do this?

Thanks,
Kristo

Andrzej Filip

unread,
Mar 19, 2003, 6:07:00 PM3/19/03
to

You can use regexmap after LOCAL_RULE_0 to convert custom separator into +
[from what you want to what sendmail wants].
It will allow you to get what you want via *.mc file only.

<mclines>
LOCAL_CONFIG
Kplus regex -d+ -s1,2 ^([^-_]+)[-_](.+)$
LOCAL_RULE_0
R$* <@ $=w. > $* $: $(plus $1 $) <@$2.> $3
</mclines>

PUT TAB (\t) BEFORE $:

--
Andrzej [pl>en: Andrew] Adam Filip http://www.polbox.com/a/anfi/
Watch "The Hostile Takeover" *Random epigram* :
A dog does not always bark at the front gate.
-- Spanish Proverb

0 new messages