Dear fellas,
I have successfully installed Qmail with mysql, squirrelmail, spamassassin, clamav. All working fine. But I have to change default domain from xyz.net.pk to abc.net.pk which I have changed in local file. The problem is when I telnet to mail server telnet 123.456.789.1 25 it shows the banner having old domain name. I changed the domain name even in the /var/qmail/supervise/qmail.smtpd/run and qmal-pop3d/run but I still get that same banner when I telnet on port 25. Similary when I run the nightly status report script it mails to the postmaster@olddomain. I need to change these two domain names and I searched a lot on qmailrocks.org forum and lifewithqmail site but couldnt find the solution.
So anyone (I hope farrukh, lambda, fazil) of these guys have the solution, kindly do share that with us.
A little query
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear Atif_Khan,
Salam,
Edit Following Files.
# vi /var/qmail/supervise/qmail-pop3d/run
Replace xyz.net.pk to abc.net.pk and restart qmail
Best Regards.
Salam,
Edit Following Files.
# vi /var/qmail/supervise/qmail-pop3d/run
Code: Select all
#!/bin/sh
exec /usr/local/bin/softlimit -m 2000000 \
/usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup \
[color=red]xyz.net.pk[/color] /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1
Best Regards.
Farrukh Ahmed
Dear Farrukh,
Thanks for the reply. But I guess you didnt get my point. I am facing problem in telnetting on port 25 not pop3d port 110. As I mentioned in my previous post that I changed the domain name in both qmail-pop3d/run and qmail-smtpd/run files but when I telnet on port 25 I still see the old domain name.
Secondly when I run .test-installation --doit script to check Spamassasin and Clamav function, that script mails those virus and spam stuff to the old domain. I tried to look into that script but couldnt find any such variable or field to change the domain name.
Thanks for the reply. But I guess you didnt get my point. I am facing problem in telnetting on port 25 not pop3d port 110. As I mentioned in my previous post that I changed the domain name in both qmail-pop3d/run and qmail-smtpd/run files but when I telnet on port 25 I still see the old domain name.
Secondly when I run .test-installation --doit script to check Spamassasin and Clamav function, that script mails those virus and spam stuff to the old domain. I tried to look into that script but couldnt find any such variable or field to change the domain name.