port 25 blocked and ISP mxbackup-relay issue

Started by fendorDK, May 15, 2005, 10:55:36 AM

Previous topic - Next topic

fendorDK

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


fendorDK

#2
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