Koozali.org: home of the SME Server

emails with whoever@foo.com

Offline dilligaf

  • *
  • 266
  • +0/-0
    • http://www.willcraft.com
emails with whoever@foo.com
« on: July 19, 2005, 02:47:08 PM »
On My SME Server 6.X I have a few accounts that when they send an email it looks like the recipient it is from user@foo.com yet the domain is something completely different.
If I reply to that message it fails, becuase there is no such user @foo.com (wherever that is)
But if I reply to the proper address they get it.
Under the hostnames etc in the smeserver there is nothing relating to foo.com? The hostnames are all as per the proper domain,
Can any one help?
Dan

Offline dilligaf

  • *
  • 266
  • +0/-0
    • http://www.willcraft.com
Further testing shows...
« Reply #1 on: July 19, 2005, 05:56:44 PM »
That this is only happening on mail sent from twig (2.8.3).
Using the standard webmail, does NOT show the sender as whoever@foo.com.
I can not see in twig, where it is adding this @foo.com

Offline mudra

  • ****
  • 78
  • +0/-0
emails with whoever@foo.com
« Reply #2 on: July 19, 2005, 07:39:39 PM »
Looking at my TWIG install on 6.01 under preferences for mail there is a slot to put a reply-to mail address. Maybe these have been set wrong, OR maybe they default to a pretend address until something is put in.

Never had this problem myself, so can't be sure.

Hope this helps.

Mudra

Offline dilligaf

  • *
  • 266
  • +0/-0
    • http://www.willcraft.com
emails with whoever@foo.com
« Reply #3 on: July 19, 2005, 07:49:00 PM »
Hi Mudra,
Yes, I saw and tried that but no go.
The email still comes out as whoever@foo.com
Dan
Quote from: "mudra"
Looking at my TWIG install on 6.01 under preferences for mail there is a slot to put a reply-to mail address. Maybe these have been set wrong, OR maybe they default to a pretend address until something is put in.

Never had this problem myself, so can't be sure.

Hope this helps.

Mudra

Offline mudra

  • ****
  • 78
  • +0/-0
emails with whoever@foo.com
« Reply #4 on: July 19, 2005, 08:01:04 PM »
You beat me to it, I was just going to add that to my post.

However, I think I have found the problem, but not necessarily the answer. SSH into your server and go to

/opt/twig/config and look in config.inc.php3

you will find the following line:

$config["fromdomain"] = "foo.com"; //This is where mail is sent from

I changed this to my domain and all works now !!

Hope this helps.


EDIT: Did this work as well for you, as it seems to have done for me ?
Please note I do NOT know if this breaks anything else, but looks good so far.

Mudra