Koozali.org: home of the SME Server

"mail" Pseudonym

grog

"mail" Pseudonym
« on: June 16, 2006, 01:52:27 AM »
On a previous SMEServer i had the pseudonym "mail" redirected to a normal mail account as alot of our mail comes in as mail@ourdomain.com.

Unfortunatly, i forgot how i did this and cant seem to find the file again i did it to. Either i'm missing something, or it's changed since older versions.

Can anybody let me know where i change this.

Regards

Glen Greig

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: "mail" Pseudonym
« Reply #1 on: June 16, 2006, 11:00:30 AM »
Quote from: "grog"
On a previous SMEServer i had the pseudonym "mail" redirected to a normal mail account as alot of our mail comes in as mail@ourdomain.com.

Unfortunatly, i forgot how i did this and cant seem to find the file again i did it to. Either i'm missing something, or it's changed since older versions.

Can anybody let me know where i change this.

Regards

Glen Greig
The name mail is an internal system name reserved for the mail server and is therefore not elegible for a username or mailaccount. You might be able to tweak it using the command line as I can create a user mail there using the following command
Code: [Select]
db accounts set mail user The rest of the settings can be set per the server-manager, including mail delivery options, such as forwarding. I don't know if there are other consequences and implications, maybe one of the developers can comment on this
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline tariqf

  • *****
  • 179
  • +0/-0
solved yet?
« Reply #2 on: June 24, 2006, 12:33:03 PM »
Hi I have the same problem on my 6.01 box. Did you find a resolution?

Offline JonB

  • *
  • 351
  • +0/-0
"mail" Pseudonym
« Reply #3 on: June 24, 2006, 02:14:24 PM »
Grog,

On SME7 in the Pseudonyms panel you would create a pseudonym of
mail@mydomain.com and point to the user you want to receive the mail.


Jon
...

Offline tariqf

  • *****
  • 179
  • +0/-0
"mail" Pseudonym
« Reply #4 on: June 24, 2006, 02:42:09 PM »
unfortunately jonb's suggestion does not work on sme6 please can someone advise what I should do?

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
"mail" Pseudonym
« Reply #5 on: June 25, 2006, 11:26:14 AM »
Quote from: "tariqf"
unfortunately jonb's suggestion does not work on sme6 please can someone advise what I should do?
Did you also try my suggestion earlier in this thread?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

grog

"mail" Pseudonym
« Reply #6 on: June 29, 2006, 02:19:05 AM »
Quote from: "JonB"
Grog,

On SME7 in the Pseudonyms panel you would create a pseudonym of
mail@mydomain.com and point to the user you want to receive the mail.


Jon
Thanks, this worked perfect.

INteresting that the name "mail" will not work, but the address "mail@domain.com" does work.

Anyway, i'm not complaining, all working perfectly..

grog

"mail" Pseudonym
« Reply #7 on: June 29, 2006, 02:43:09 AM »
:-(  :-(  :-(  :-(

Stoped working.

I had a forward file in /var/qmail/aliases before, since the pseudonym seemed to work, i deleted those files, and now things have stoped working.

I put those files back, and it seems to work again..

It seems the files in /var/qmail/aliases need to be there and be valid, but it still ignores the addresses and uses the one setup as a pseudonym in the web interface..

All very confusing..