Koozali.org: home of the SME Server

Receiving admin emails in a mail client

Offline lloydh

  • ***
  • 45
  • +0/-0
Receiving admin emails in a mail client
« on: August 20, 2010, 03:28:38 AM »
I have a SME Server 7.5.1 and the mail configuration is default.      My workstation is Ubuntu with Thunderbird mail client configured to go straight to the ISP for mail, is there an easy way for me to receive the server's admin emails in Thunderbird.        Currently I am logging in as root and viewing the files in /home/e-smith/Maildir/new but there must be an easier way.

I have looked in the documentation and the only thing I can find is that I need to enable webmail and login as admin and I will go that way if no other options are available.        I have searched these forums and the only thing I found was a link to an article that supposedly explained how to redirect admin's mail to another user but the link is broken and I am assuming that is no longer an option.

Does anybody know of a simple method that will allow me to receive the admin emails in Thunderbird.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Receiving admin emails in a mail client
« Reply #1 on: August 20, 2010, 04:13:01 AM »
lloydh

Add a forward to email address (your usual email adress) for the admin user in server manager.
Too easy !!!
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline lloydh

  • ***
  • 45
  • +0/-0
Re: Receiving admin emails in a mail client
« Reply #2 on: August 20, 2010, 08:36:51 AM »
Thanks Mary, as you said, too easy.   I couldn't see the woods for the trees.    :lol:

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Receiving admin emails in a mail client
« Reply #3 on: August 20, 2010, 06:29:10 PM »
Does anybody know of a simple method that will allow me to receive the admin emails in Thunderbird.

As pointed out, you can forward them. But you can also just login to the admin IMAP mailbox using thunderbird.
Edit->Account settings->Manage identities->Add.

Offline lloydh

  • ***
  • 45
  • +0/-0
Re: Receiving admin emails in a mail client
« Reply #4 on: August 21, 2010, 04:28:50 AM »
Thanks Charlie, I have set that up and it is working.       Mary's suggestion almost worked, I set the admin email to both deliver locally and forward but gmail bounced the email because I don't have a static IP address and my address is blacklisted so I have changed it to sending it to my ISP's email and that should work.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Receiving admin emails in a mail client
« Reply #5 on: August 21, 2010, 07:03:37 AM »
lloydh

In server manager Email panel change the outgoing smtp server to be your ISPs mail server eg mail.yourisp.com

Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline anivio

  • *
  • 18
  • +0/-0
Re: Receiving admin emails in a mail client
« Reply #6 on: August 21, 2010, 10:46:58 AM »
I have a similar problem:

I have configured my server with the domain "mydomain.local" because i do not have a static ip and i am using the sever only locally. Also i have changed the admin and user e-mails to be forwarded to my e-mail address.

I have got 4 e-mails this morning to my mail address anivio@mydomain.com but every mail has a "failure notice" subject.

Code: [Select]
From: MAILER-DAEMON@mydomain.local
Subject: failure notice
Date: 20. August 2010 21:07:19 MESZ
To:         root@mydomain.local

Hi. This is the qmail-send program at mydomain.local.
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.

<anivio@mydomain.com>:
90.34.16.180 does not like recipient.
Remote host said: 554 5.7.1 <anivio@mydomain.com>: Recipient address rejected: Mail appeared to be SPAM or forged. Ask your Mail/DNS-Administrator to correct HELO and DNS MX settings or to get removed from DNSBLs; MTA helo: mydomain.local, MTA hostname: XXXX [XXXX] (helo/hostname mismatch)
Giving up on 90.34.16.180.

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



« Last Edit: August 21, 2010, 11:09:21 AM by anivio »

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Receiving admin emails in a mail client
« Reply #7 on: August 21, 2010, 04:58:56 PM »
anivio

It is better to use a real domain name like yourdomain.com when configuring the main domain on your server, or a domain name of that style, rather than mydomain.local (which can cause problems).

Configure outgoing mail to use your ISPs smtp server as described in previous post.

Note that SME server can manage dynamic connections using the built in dyndns client etc, or you can install ddclient contrib to manage many domains when using a dynamic IP connection to your ISP.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline lloydh

  • ***
  • 45
  • +0/-0
Re: Receiving admin emails in a mail client
« Reply #8 on: August 22, 2010, 06:58:53 AM »
Thanks guys for your help, I am receiving the admin emails in Thunderbird as well as sending them to my email address at my ISP, that's all I need and I am happy.

Offline anivio

  • *
  • 18
  • +0/-0
Re: Receiving admin emails in a mail client
« Reply #9 on: August 24, 2010, 10:58:25 PM »
Quote
It is better to use a real domain name like yourdomain.com when configuring the main domain on your server, or a domain name of that style, rather than mydomain.local (which can cause problems).

I have changed the domain name from ".local" to ".com". The wiki says that i should use ".local" if i use the server only locally.

Quote
Configure outgoing mail to use your ISPs smtp server as described in previous post.

I have tried it but it did not work. I am still getting the failure notice e-mails.

I have configured my mail client to receive the local admin and user e-mails. This works fine.

Quote
Note that SME server can manage dynamic connections using the built in dyndns client etc, or you can install ddclient contrib to manage many domains when using a dynamic IP connection to your ISP.

Someone has told me that it is not recommend to use dynamic dns services for a mail server. He said that i should use my internet service provider to handle my mails.
« Last Edit: August 24, 2010, 11:01:07 PM by anivio »

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Receiving admin emails in a mail client
« Reply #10 on: August 25, 2010, 03:01:44 AM »
anivio

Quote
The wiki says that i should use ".local" if i use the server only locally.

That is really Windows server parlance.
It has been said before in these forums, that that naming scheme is not advisable with SME server.
Please provide the link to that advice as it should really be "amended" IMO.


Quote
I have tried it but it did not work. I am still getting the failure notice e-mails.

You imply you are using a SME server behind another SME server. Then set the server domain name (ie on the SME in server only mode) to have the same domain name as the main server (I assume the main server is in gateway server mode).
I assume wanadoo.fr is your ISP and they are blocking the mail for anti-spam reasons.
Do you have reverse DNS & SPF setup for the main domain so that your ISP & other mail servers do not reject mail coming from your server ?


Quote
Someone has told me that it is not recommend to use dynamic dns services for a mail server. He said that i should use my internet service provider to handle my mails.

It depends on the degree of mission critical & reliability requirements.
A mail server will work OK most of the time with a dynamic IP (and there are many people successfully using them that way in less critical situations), but there can be times when the mail might fail ie when the IP changes and there is a finite time for external records to update.

If you are running a business and really want surety for incoming mail to your mail server, then you should have a static IP, or otherwise host mail externally as someone advised you.

Good quality ADSL accounts are only issued with static IP's nowadays in my part of the world, dynamic IPs are disappearing fast.

There was a good post a while back by one of the sme masters about dynamic IPs and mail servers, but I can't seem to easily find it.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline anivio

  • *
  • 18
  • +0/-0
Re: Receiving admin emails in a mail client
« Reply #11 on: August 25, 2010, 10:51:41 AM »
Quote
Please provide the link to that advice as it should really be "amended" IMO.

http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Booklet/de#Kapitel_5_-_Installation_und_Konfiguration_der_SME_Server_Software

Search for .local. It is the german documentation.

Quote
You imply you are using a SME server behind another SME server. Then set the server domain name (ie on the SME in server only mode) to have the same domain name as the main server (I assume the main server is in gateway server mode).
I assume wanadoo.fr is your ISP and they are blocking the mail for anti-spam reasons.

I have only one sme server in "only server" mode. I have a router from my isp with integrated dhcp, firewall and gateway. Furthermore i have a webhoster where my e-mail and domain is located.

I have used the same smtp settings in server manager which i am using in my mail client.

Quote
Do you have reverse DNS & SPF setup for the main domain so that your ISP & other mail servers do not reject mail coming from your server ?

During sme server configuration i have left this empty.

Dynamic IP

I am running a business.

It would be great to have an own e-mail server running with sme server but it "must" work (I have 10 domains to handle). At the moment i prefer to use an external host until i have found a good documentaion how to set it up. A static ip from my isp is expensive.



« Last Edit: August 25, 2010, 11:28:49 AM by anivio »

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Receiving admin emails in a mail client
« Reply #12 on: August 25, 2010, 12:04:33 PM »
anivio

Quote
I have used the same smtp settings in server manager which i am using in my mail client.

You should ask your ISP why your mail is being rejected.
 
Quote
It would be great to have an own e-mail server running with sme server but it "must" work (I have 10 domains to handle). At the moment i prefer to use an external host until i have found a good documentaion how to set it up. A static ip from my isp is expensive.

It is easy to setup multiple domains with sme & dynamic IP. Just install the ddclient contrib.
yum install --enablerepo=smecontribs smeserver-ddclient

As far as "must work" is concerned, it will work satisfactorily if you configure it all correctly, including using a dynamic dns company like dyndns to track your changing IP and update the dns records for each of your domains in conjunction with the ddclient contrib.

I have been running a few web sites and mail server for years using sme with a dynamic IP connection. Many people do so satisfactorily. If your business has high volumes and mission critical mail then you may be better of having a static IP, which I assume your mission critical requirements could afford.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.