<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML DIR=ltr><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"></HEAD><BODY><DIV><FONT face="Courier New" color=#000000 size=2>Dovecot LDA (deliver) aliases question.</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" color=#000000 size=2>I have a multiple virtual
domain setup using sendmail, username/domain, password, home directory all
stored in mysql,Set-UID/GID for dovecot 'deliver' setup as referenced in Dovecot
LDA wiki. Delivery, and POP/IMAP work just fine, serving a mail store in
/home/vmail/domain/username type of setup.</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" color=#000000 size=2>My problem comes from what
may be a misunderstanding on my part on how to setup aliases for some virtual
users.</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" color=#000000 size=2>I have the mailer
specification for dovecot defined, and my mailertable and (access) tables setup
for each domain, with an entry like this for each domain in
mailertable:</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" color=#000000
size=2>domain.com
dovecot:dovecot</FONT></DIV>
<DIV><FONT face="Courier New" color=#000000 size=2></FONT> </DIV>
<DIV><FONT face="Courier New" color=#000000 size=2>and since I also function as
SMTP relay for each customer, I also have an entry in in access</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" color=#000000
size=2>domain.com
RELAY</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" color=#000000 size=2>and the tables are made with
hash... this all appears to work just fine, except when I want to alias a
certian email address.</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" color=#000000 size=2>Lets say that I have one
email in the domain that needs to be forwarded to another remote account (on
another server), I would normally accomplish this with an entry in virtusertable
something like this:</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT color=#000000 size=2><A href="mailto:sales@domain.com"><FONT
face="Courier New">sales@domain.com</FONT></A><FONT
face="Courier New">
</FONT><A href="mailto:user@otherdomain.com"><FONT
face="Courier New">user@otherdomain.com</FONT></A><FONT face="Courier New">
</FONT></FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT color=#000000 size=2><FONT face="Courier New">but when using
dovecots' deliver as the LDA specified for domain.com in mailertable, this
appears to be ignored, with the email being returned undeliverable (if </FONT><A
href="mailto:sales@domain.com"><FONT
face="Courier New">sales@domain.com</FONT></A><FONT face="Courier New"> doesn't
exist), or being delivered to </FONT><A href="mailto:sales@domain.com"><FONT
face="Courier New">sales@domain.com</FONT></A><FONT face="Courier New"> (if the
account exists in the mysql table).</FONT></FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" color=#000000 size=2>I have also tried creating
the account, and placing a .forward file in the appropriate
/home/vmail/domain/user directory, but this also appears to be
ignored.</FONT></DIV>
<DIV><FONT face="Courier New" color=#000000 size=2>Does anyone have some advice
on how to implement such an ability?</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>I am running dovecot-1.0.rc17,
sendmail-8.13.1-3.RHEL4.5, mysql-4.1.20-1.RHEL4.1 on Centos 4.4</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" color=#000000 size=2>Sincerely</FONT></DIV>
<DIV><FONT face="Courier New" color=#000000 size=2>Michael P.</FONT></DIV>
<DIV><FONT face="Courier New" color=#000000
size=2></FONT> </DIV></BODY></HTML>