Re: dovecot-lda as local mailer and access to manage sive

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

 



Once upon a time, Chris Kottaridis <chriskot@xxxxxxxxxxxxx> 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 <cmadams@xxxxxxxxxx>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux