That line you mentioned was in the mc file, therefore there was no need to recompile right?
Also, I edited maileirtable and run the command you gave me, but still without success. I tried deleting mailertable.db and recreating it again by running that command, but the mails are still trying to use DNS Server for delivery. Any ideas?
Btw what is the difference between SMTP and relay when setting up the mailer table?
Thanks in advance for all your valuable help.