The Network People Support Forums

Mail::Toaster => Configuration Issues => Topic started by: fendorDK on May 15, 2005, 10:55:36 AM

Title: port 25 blocked and ISP mxbackup-relay issue
Post by: fendorDK on May 15, 2005, 10:55:36 AM
Hi.

My ISP is blocking port 25.
They have an mx backup relay in place to use.

I have my mx-dns setup like this:
pref 10: "mydomain"
pref 20: smtp.mail.dk (isp relay)

My ISP says that I have to setup my mailserver to use smart host/relay host and use: smtp.mail.dk as relay host.

They give an example for postfix:
/etc/postfix/main.cf: relayhost=smtp.mail.dk

So now my question is, where do I setup toaster to use relay host ?

I have tried:
127.:allow,RELAYCLIENT="smtp.mail.dk"
in ~vpopmail/etc/tcp.smtp
and it works, but Im not sure its the right thing to do...

/fendor
Title: Re: port 25 blocked and ISP mxbackup-relay issue
Post by: matt on May 17, 2005, 12:44:29 PM

http://www.tnpi.biz/internet/mail/toaster/faq/messsage-routi ng.shtml
Title: Re: port 25 blocked and ISP mxbackup-relay issue
Post by: fendorDK on May 17, 2005, 06:12:18 PM
okay cool.

It's now working very nicely.
Sending and recieving mails is working.

Much appreciated.

Just in case other people have the same question I'll just paste what works for me here:
in ~vpopmail/etc/tcp.smtp I put:
127.:allow,RELAYCLIENT=""
195.41.46.251:allow,RELAYCLIENT="" <- my isp's mail backup/relay. Using 'smtp.mail.dk' instead IP would probably be better I guess.

and that enables me to recive mail

in /var/qmail/control/smtproutes I put:
:smtp.mail.dk
and that enables me to send mail

(as explained in link in matt's post above)

/fendor