Once upon a time, Chris Kottaridis <chris...@quietwind.net> said:
> I was expecting
> 
> /var/vmail/<domain>/Maildir
> 
> where <domain> would be $j from sendmail, which I would have assumed was
> my hostname.

The issue may be on the Dovecot side; my example included both "-d $u"
and "-a $u+$h@$j" args to deliver, and I think Dovecot may be using the
-d arg instead of the -a arg for figuring the %u/%n/%d fields.  IIRC I
added the -a for Sieve processing (to get the +plus part of the
address).

Another way of handling it would be to setup a custom sendmail ruleset
for envelope recipient address rewriting.  The default EnvToL strips off
the domain; something like (mostly copied from EnvToL, untested of
course):

LOCAL_RULESETS
SEnvToL
R$+ < @ $+ >            $: $1 @ $2
R$+ < @ $* >            $: $1 @ $&m
R$+ + $*                $: < $&{addr_type} > $1 + $2
R<e s> $+ + $*          $: $1
R< $* > $+              $: $2

This would affect other mailers that use this ruleset of course (prog is
the only other by default).

-- 
Chris Adams <cmad...@hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reply via email to