Hello,

I started more heavily relying on plus addressing (or whatever the official
name for the feature is) to separate out a few things.  Unfortunately, it
means that reverse_name=yes is failing more and more often.  I'd like it to
set the from address to the same address (with the +foo), but I'm not sure
what the best way to do this is.

That is, an email sent to jeffpc+foo@... should have the reply from set to
jeffpc+foo@...

I have (simplified for the sake of discussion):

        set from="jeffpc@..."
        set reverse_name=yes
        set use_from=yes

        alternates jsipek@...

(Note that my preferred "bare" address is not listed in alternates, it is
only in $from.)

I see in the docs that alternates takes regular expressions.  So, is the
best way something like:

        set from="jeffpc@..."
        set reverse_name=yes
        set use_from=yes

        alternates jeffpc(\+[^@]+)?@... jsipek(same regexp)@...

In other words, do I have to (1) add my preferred address to alternates, and
(2) change every one of my half a dozen alternates to include a +<anystring>
match?

This seems convoluted, which is why I'm asking if I missed a better way.

Thanks,

Jeff.

Reply via email to