Configuring mail server

kachora wrote:

> daemon started – version 2.7.1, configuration /etc/postfix
> Jul 16 23:37:01 ns1 postfix/qmgr[21468]: warning: database
> /etc/postfix/relay.db is older than source file /etc/postfix/relay
[snip]
>
> This is the log file info after starting postfix.
> What do you think that I should do here. I’m unable to understand the
> log

Pardon me for being so blunt, but you should not be running a
mailserver.


Per Jessen, Zürich (23.1°C)
http://en.opensuse.org/User:Pjessen

Whenever you edit any of the files that are to converted to a db file for use by postfix, you have to run:

postmap relay

for example. The exception is aliases, for that you run

postalias aliases

Normally on openSUSE this is taken care of for you by YaST, via SuSEconfig but if you have edited main.cf, you have taken over the configuration.

Thanks Ken.
I think I’ve figured out why my server is untraceable even when every service is running.
The problem is that I’m using my registrar’s DNS. so any MX or A records point to his host. I tried with Dig and the result for mydomain MX was the registrar’s hostname.
So I guess I have to configure a DNS server.
Do you think that this is right? that this is the reason for my host not being found?

No, you just need a more capable registrar. You don’t have to take on DNS serving to have a MX record the way you want.

But if I do start a dns server and point the domain to my dns, do you think that I’ll solve the problem that I’m facing?
What do you mean by a capable registrar?

That’s assuming your registrar allows you to specify the DNS servers. For reliability you should really run at least 2 DNS servers. And you can’t run this on dynamic IP addresses. There are some free DNS secondary services though, do a search.

A capable registrar gives the whole range of services. Sometimes the registrar also offers DNS services, sometimes you can get that service elsewhere.

Should you be running a web server and mail server? Perhaps you should rent one. Might be less hassle.

I have already setup a dns server.
I have a static ip. I’m using mydns server + my provider’s dns, which is the forwarder dns for my server.
It is working ok. but strangely enough even after changing the dns servers, the dig is still showing the registrar’s address. Maybe they need sometime to refresh the records. I don’t know.

It is working ok. but strangely enough even after changing the dns servers, the dig is still showing the registrar’s address. Maybe they need sometime to refresh the records. I don’t know.

What are the authoritative nameservers for your domain? This must be set correctly by your secondary domain name provider. You can change this online.

Greta thing I at last got everything up and running.
Special thanks to Ken for your assistance. :good: