|
#1
| |||
| |||
| not receiving Mails / DNS settings for dynDNS
Hi everybody, I have successfully setup MAC OS X server in advanced configuration mode. Then added one website plus another two virtual websites. They all work great, fast and as expected. Since I don't have a static IP .I use the afraid.org dynDNS updated and name server. I then have followed how to setup virtual users and make the changes in postfix. http://osx.topicdesk.com/content/view/45/41/ this all worked great and users seem to be separated on their associated hosts/virtual hosts. I can go into squirrelmail from all those different accounts and send mail out . But here is my problem: I can't receive any mail allthough my mail clients are connecting and stay connected in either MAC MAIL or SQUIRRELMAIL. Nothing is coming into the inbox. I have read all kinds of articles the last few days and I am probably confused about the DNS settings in my case. Question: Do I have to have another "MX" record in my DNS server plus a "A" record that points to my mail.domain.com . All though it is already defined at afraid.org 's Nameserver ? Question2: And if yes I would have to point it to the local address of my server. Is that correct ? Would that work . I also don't know what to provide for you too look at . /etc/postfix/main.cf or publicView.conf.apple ? Thank you Csaba |
|
#2
| |||
| |||
|
First of all, MAC OS server requires a static IP number to work fine. Secondly if the server is behind a router (and it must be if your INTERNET IP number is not static), than forward the incoming mail through the router to the server. If you want to access the mail from the internet too, forward all related roouter ports to the server also. You do not need to have an active DNS server (in the mac os server) to use the mail functionality of the server. Having an DNS server makes access easier, but is not a requirement at all. I use the same setup as describe above (thus a semi-static internet IP-number for incoming mail) and a router with port forwarding to the MAIL server. You can check the proper working of the mail server behind the router by sending emails directly to it using its static ip-number. (outgoing mail = ip-number e.g. 192.168.1.2). The server must not get its ip-number from the DHCP server in your router, but it must be static (and outside the range of numbers issued by the DHCP server of your router). Good luck, Kees |
|
#3
| |||
| |||
|
Thanks Kees, After investigating a little bit more I have noticed that in my /var/imap/domain folder I have some postmaster messages after I send an email to myself . They go like this : In : RCPT TO:<user@domain.com> OUT : 451 4.3.5 Server configuration error IN : Quit So it is knocking on my postmasters door trying to deliver the mail . Could this be perhaps a permission issue after all. Ohh by the way I have no trouble with the dynamic IP. I can see my web pages loading, FTP , SSH and even remote administering. And my NAT settings in my router are fine and unblocked for these services. But I have to admit that I have messed with the Mails SSL certificates and tried to create a self signed certificate. Then deleted it and now it's on default. What ever that is I don't understand .But sure know if it's set to "DON't USE" I can't log in to squirrelmail. Again, thank you for your help Csba |
|
#4
| |||
| |||
|
I have no information on how you configure the domain settings. Maybe there is your problem. User accounts are made by wfw. The domain information is setup by Server Admin in the MAIL section (not the DNS section). For squirrelamil configure you execute the following program (and for imap server enter the ip-number of your mailserver): map = /usr/share/squirrelmail, command = ./configure (for 10.4 at least). Good luck, Kees |
|
#5
| |||
| |||
|
Thanks, The funny thing is .Everything receiving mail was working this Monday & Tuesday. Ever since I started messing with Postifix entries and that certificate . The Mails stopped to come in . So I figured the DNS was bad. But I totally shut it off and the dynDNS is doing all the miracle work anyway. So my problem is narrowed down to the postfix changes I did yesterday or that stupid SSL certificate. Anybody can help explaining those SSL certificates . And maybe just how to bypass them for right now ? Thanks Csaba |
|
#6
| |||
| |||
|
OK so long story short: I have analyzed the flow of mail and chronologically when it went bad. After changing things in the /etc/postfix/main.cf last Tuesday I could no longer send mail. I simply whipped out my "Time Machine" and recovered certificates, and files that I have modified in the meantime . And voilą I am back to tuesdays settings and mail now sends and receives on the main host. Now I have to double check the postfix changes so my virtual hosts and users have access according to their mailboxes again. Thanks again Kees Csaba |
|
#7
| |||
| |||
|
All right a quick update for all those that were trying to make changes in SA Mail and hash:/etc/postfix/main.cf . The problem that I was having was I installed several junkmail servers in my Relay rejections servers. Then later removed then only to keep one which was zen.spamhaus.org. Now all though everything looks great in SA GUI . Things don't look as well in the postfix file. It just didn't update my new settings correctly. In particular the following line: this is wrong and not working: #smtpd_client_restrictions = permit_mynetworks dnsbl.sorbs.net reject_rbl_client zen.spamhaus.org permit this is the corrected /etc/postfix/main.cf entry smtpd_client_restrictions = permit_mynetworks reject_rbl_client zen.spamhaus.org permit Cool another thread where I am giving the answer to myself. Thank you so much for Kees effort and help. Csaba |
|
#8
| |||
| |||
|
I have a similar situation. I don't have a static ip and have registered with DynDNS. My domain is performa460.com. I can host web pages fine. I am unsure where to go from here for setting up a mail server. I have set up an MX record with DynDNS - mail.performa460.com. I added mail.performa460.com to my site list under the web service. I configured my mail service and and pop/smtp/imap are all runnning. I have tried to retrieve mail via Mac OSX Mail to no avail. I can't even set up the account for testing. It says that the POP server is not responding. Any help is appreciated; I'm totally new to server and am in need of direction.
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|