Ya..
try to run "hostname -s"
is it display localhost ?

try to run "telnet localhost 25"
is it display "220 localhost.localdomain" ?

if both question yes then..
QMTISO cant setup your hostname
so you have setup by yourself
for setup linux hostname I think its in /etc/sysconfig/network

but for setup qmail hostname I dont what files are need to modify

Naveen wrote:

Thanks, its working now.

But the problem was when I try to send a mail to Yahoo or hotmail, the mails
were going to spam folder. Any idea?

Regards,
Naveen
-----Original Message-----
From: PakOgah [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 01, 2007 11:09 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: RE: [qmailtoaster] no Valid MX

on /etc/resolv.conf
add this line

nameserver 192.168.31.2

replace that with your own ip

on /etc/named.conf
add these lines

zone "test.com" IN {
       type master;
       file "test.com";
       allow-update { none; };
};

then create a new file on /var/named/test.com with these lines

$TTL    86400
@               IN SOA  @       root (
                                        2007            ; serial (d. adams)
                                        3H              ; refresh
                                        15M             ; retry
                                        1W              ; expiry
                                        1D )            ; minimum

@               IN NS           mail.test.com.
@               IN MX 5         mail.test.com.
mail            IN A            127.0.0.1


saved and restart bind

try "dig mx test.com" it supposed came out with mail.test.com

hope it help
Thanks, I will be waiting for your post of DNS conf,

Regards,
Naveen

-----Original Message-----
From: PakOgah [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 31, 2007 3:41 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: RE: [qmailtoaster] no Valid MX

as I said before

but QMTISO already installed with bind
so all you have to do is configure a test.com zone along with A and
MX record which point to your mailserver IP address
yes you may need to setup local DNS on your private network. no need to
ask your ISP to create the dns zone for you as it could take some time
or you use bind which is included on qmtiso as dns server

I hope you are familiar with bind on how to create domain zone.
if not I got the same domain (test.com) in my devel qmtiso server at home.
tomorrow I'll paste you the dns zone for test.com, if I am not forgot



---------------------------------------------------------------------
    QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to