Email addresses have @mail.(domain).com but should just be @(domain).com
I'm setting up a new Snow Leopard server and can't figure out why the email address isn't looking right. I'm total noob at this, so it's probably a very easy fix. I just used the GUI "Configure Mail Service" in Server Admin to setup the mail service. I created a user in Workgroup Manager. Then logged into WebMail and tested it out. I sent a message to my Yahoo email and a short while later it came through. But instead of showing test@(domain).com in the from: field, it showed test@mail.(domain).com. I replied to it and several minutes later (I'm guessing the greylisting thing is why it took so long) I was able to see it on my WebMail. But when I tried to send an email from my Yahoo account to test@(domain).com it didn't go through and I got a failure notice from Yahoo's mail server.
Main part was:
<tetst@(domain).com>:
(mail server's IP address) does not like recipient.
Remote host said: 554 5.7.1 <test@(domain).com>: Relay access denied
Giving up on (mail server's IP address).
Any help or tips would be greatly appreciated.
Thanks!
Intel iMac, Intel MacBook Pro,
Mac OS X (10.6.2),
iPhone 3G 8GB
ahh, don't you love the new features? Anyway, here's the long way to fix this. I don't know the short way, but I'm sure someone does.
For each user in Web Mail, you can set up your account options. In the reply-to field you can specify the "from" email address. Unfortunately you'd have to do this for every user, but it does work.
If this happens only with webmail (squirrelmail) then you have to edit the entry $domain in /etc/squirrelmail/config/config.php on your server via terminal.
It requires that your know how to handle the editor vi and of course using terminal on OS X.
Just startup terminal and enter vi /etc/squirrelmail/config/config.php
next step is to jump to the entry $domain and replace the hostname with your domainname.
in server admin, check under under the mail service settings -> settings -> advanced -> hosting and ensure your domain.com is in the list of host aliases.
This will not add @(domain).co to his outgoing mails that are send via webmail, this will only make the server responsive for incoming mails that are send to xyz@domain.co.
Sorry to add to this discussion but I have the same problem. However, mine is not on Webmail but on the main email accounts. Whenever I send to a mailing list for example mailgroup@confcast.net the email says mailgroup@server.confcast.net. I have had a quick look in the postfix main.cf file but couldn't see anything there.
Appreciate any advice here as it's a similar problem.
Couldn't find it anywhere inside Server Admin but stumbled across it elsewhere. You need to go to the link similar to this one. From there you can edit many things including the host name address.
Jordan Millar wrote:
Found it!!! At least the answer to my question.
Couldn't find it anywhere inside Server Admin but stumbled across it elsewhere. You need to go to the link similar to this one. From there you can edit many things including the host name address.
(You may have to change the http to https for your site.)
Jordan
Thanks for the info. Unfortunately I'm setting this server up offline (most of the time) so the website isn't pointing to it. It's still pointing to our current mail server that's running 10.4.11 Server. The settings look the same from what I can tell inside Server Admin and the main.cf file. I tried going to mailserver.local/mailman/admin (and variations of that) and couldn't get anything.
I also have to test if it's only webmail or if it also affects Mail.app users also.
I attempted to change the /etc/squirrelmail/config/config.php file. When I updated the $domain = with my domain name in single 'quotes' (at first I didn't use the single quotes and the emails came through as myname@myhostnamecom.myhostname.com!) it worked correctly. 🙂
This thread has been closed by the system or the community team.
You may vote for any posts you find helpful, or search the Community for additional answers.
Email addresses have @mail.(domain).com but should just be @(domain).com
Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.