Koozali.org: home of the SME Server

Virtual domain e-mail alias prob

Lloyd keen

Virtual domain e-mail alias prob
« on: March 13, 2001, 09:31:46 PM »
After applying the mods in the above howto I can no longer receive any e-mail to anyone (even a valid user account) for the domain for which I have modified (in this case lloydkeen.com). I keep getting the following error message:

Hi. This is the qmail-send program at lloydkeen.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

:
This message is looping: it already has my Delivered-To line. (#5.4.6)

--- Below this line is a copy of the message.

Here is the output of my /var/qmail/control/virtualdomains if that's any help:

#------------------------------------------------------------
# DO NOT MODIFY THIS FILE! It is updated automatically by the
# e-smith server and gateway software. Instead, modify the source
# template in the /etc/e-smith/templates directory. For more
# information, see http://www.e-smith.org.
#
# copyright (C) 1999, 2000 e-smith, inc.
#------------------------------------------------------------

lloydkeen.com:alias-localdelivery
e-smith.lloydkeen.com:alias-localdelivery
bullantsclub.org:alias-localdelivery
clbengineering.com:alias-localdelivery
kauta.com:alias-localdelivery
qvdsolutions.com:alias-localdelivery
travellingmadeeasy.net:alias-localdelivery
e-smith.lloydkeen.com:alias-localdelivery
e-smith.e-smith.lloydkeen.com:alias-localdelivery
e-smith.bullantsclub.org:alias-localdelivery
e-smith.clbengineering.com:alias-localdelivery
e-smith.kauta.com:alias-localdelivery
e-smith.qvdsolutions.com:alias-localdelivery
e-smith.travellingmadeeasy.net:alias-localdelivery
e-smith-manager.lloydkeen.com:alias-localdelivery
e-smith-manager.e-smith.lloydkeen.com:alias-localdelivery
e-smith-manager.bullantsclub.org:alias-localdelivery
e-smith-manager.clbengineering.com:alias-localdelivery
e-smith-manager.kauta.com:alias-localdelivery
e-smith-manager.qvdsolutions.com:alias-localdelivery
e-smith-manager.travellingmadeeasy.net:alias-localdelivery
ftp.lloydkeen.com:alias-localdelivery
ftp.e-smith.lloydkeen.com:alias-localdelivery
ftp.bullantsclub.org:alias-localdelivery
ftp.clbengineering.com:alias-localdelivery
ftp.kauta.com:alias-localdelivery
ftp.qvdsolutions.com:alias-localdelivery
ftp.travellingmadeeasy.net:alias-localdelivery
mail.lloydkeen.com:alias-localdelivery
mail.e-smith.lloydkeen.com:alias-localdelivery
mail.bullantsclub.org:alias-localdelivery
mail.clbengineering.com:alias-localdelivery
mail.kauta.com:alias-localdelivery
mail.qvdsolutions.com:alias-localdelivery
mail.travellingmadeeasy.net:alias-localdelivery
proxy.lloydkeen.com:alias-localdelivery
proxy.e-smith.lloydkeen.com:alias-localdelivery
proxy.bullantsclub.org:alias-localdelivery
proxy.clbengineering.com:alias-localdelivery
proxy.kauta.com:alias-localdelivery
proxy.qvdsolutions.com:alias-localdelivery
proxy.travellingmadeeasy.net:alias-localdelivery
www.lloydkeen.com:alias-localdelivery
www.e-smith.lloydkeen.com:alias-localdelivery
www.bullantsclub.org:alias-localdelivery
www.clbengineering.com:alias-localdelivery
www.kauta.com:alias-localdelivery
www.qvdsolutions.com:alias-localdelivery
www.travellingmadeeasy.net:alias-localdelivery
lloydkeen.com:lloyd

#------------------------------------------------------------
# TEMPLATE END
#------------------------------------------------------------

Anyone have any ideas?

Darrell May

Re: Virtual domain e-mail alias prob
« Reply #1 on: March 14, 2001, 07:30:19 AM »
Lloyd keen wrote:

> #------------------------------------------------------------
> # DO NOT MODIFY THIS FILE! It is updated automatically by the
> # e-smith server and gateway software. Instead, modify the
> source
> # template in the /etc/e-smith/templates directory. For more
> # information, see http://www.e-smith.org.
> #
> # copyright (C) 1999, 2000 e-smith, inc.
> #------------------------------------------------------------
>
> lloydkeen.com:alias-localdelivery
> e-smith.lloydkeen.com:alias-localdelivery

> e-smith.lloydkeen.com:alias-localdelivery

> lloydkeen.com:lloyd
>
> #------------------------------------------------------------
> # TEMPLATE END
> #------------------------------------------------------------
>
> Anyone have any ideas?

Some :-)  You have lloydkeen.com going to :alias-localdelivery and to :lloyd which I believe is where your loop is coming from:

lloydkeen.com:alias-localdelivery
lloydkeen.com:lloyd

You must have lloydkeen.com:lloyd in a custom-template which should be removed?

Also you show a double entry for e-smith.lloydkeen.com:alias-localdelivery???

If you wish to revert to the default settings then either rename or remove your /etc/e-smith/templates-custom/var/qmail/control/virtualdomains and then perform:
   
/sbin/e-smith/signal-event console-save

This will recreate the file var/qmail/control/virtualdomains with defaults.  Then issue the command "killall -HUP qmail-send" to restart qmail and re-read in the updated var/qmail/control/virtualdomains file.

killall -HUP qmail-send

Regards,

Darrell

Charlie Brady

Re: Virtual domain e-mail alias prob
« Reply #2 on: March 14, 2001, 07:59:19 AM »
Darrell May wrote:

> Some :-)  You have lloydkeen.com going to
> :alias-localdelivery and to :lloyd which I believe is where
> your loop is coming from:

There's no need to guess what the loop is, since the original bounce message shows the Delivered-To headers.

My guess is that there is a forward set up for the user lloyd. Hence mail to lloyd@blah looks in ~lloyd/.qmail, which says to forward it to lloyd@blah. And around and around we go.

Charlie