PDA

View Full Version : simple Postfix question


timaaarrreee
21st September 2008, 04:10
hi all,

My SMTP is not working to email other addressed apart from local ones.

So how do i tell the server to use "smtp.ihug.co.nz" to send email?

This is because the webmail feature is not sending to email that are not my own domain.

i.e timsullivan@khost.co.nz TO admin@khost.co.nz works

timsullivan@khost.co.nz TO timsullivan@ihug.co.nz DOES NOT work :(

falko
21st September 2008, 20:35
Are there any errors in your mail log?

timaaarrreee
22nd September 2008, 07:05
um i am not sure how to check the postfix error log but in webmin, i lookin the mail que and here are the messages i try to send to the outsite world.

it says:


Mail ID Sent From To Size Status
2B65310847 Sun Sep 21 22:03:37 admispconfig@internet.khost.co.nz timsullivan@ihug.co.nz 897 bytes Host or domain name not found. Name service error for name=ihug.co.nz type=MX: Host not found, try again
4F93F108EC Wed Sep 17 17:20:09 admispconfig@internet.khost.co.nz timsullivan@ihug.co.nz 3.45 kB Host or domain name not found. Name service error for name=ihug.co.nz type=MX: Host not found, try again
AD87510840 Sun Sep 21 12:21:06 admispconfig@internet.khost.co.nz timsullivan@ihug.co.nz 1.30 kB Host or domain name not found. Name service error for name=ihug.co.nz type=MX: Host not found, try again

Hope that helps show the problem :)

falko
23rd September 2008, 21:40
What's in /etc/resolv.conf?

timaaarrreee
24th September 2008, 07:11
all it says is : GNU nano 2.0.7 File: /etc/resolv.conf

nameserver 10.1.1.1




10.1.1.1 is my routers IP

falko
25th September 2008, 16:41
Can you try
nameserver 145.253.2.75
instead?

timaaarrreee
26th September 2008, 06:40
Ok i have changes it but it still isnt sending mail to the outside of my server in Telaen Webmail.

There may be a possibility that my ISP blocks port 25.

And they have tild me that they do not allow mail relaying due to SPAM.

But they did say i could use their smtp server.

Is there a way i can change my config files to use an external smtp server?

timaaarrreee
26th September 2008, 07:30
ok i just tried to send to my gmail account and it worked!

But when i send to my isp email i get the nasty messgae. I almost looks perosnel

In webmin the mail que status message:

host zuul.ihug.co.nz[203.109.135.49] refused to talk to me: 554-mx.mailfilter1.ihug.co.nz 554 BLOCKED: The SenderBase reputation of your ISP or corporate mail server is extremely bad.

It looks like my isp has blocked my domain :eek:

falko
27th September 2008, 14:02
I'd talk to your ISP and ask why this happens.
Make sure you have proper SPF and reverse records.

timaaarrreee
1st November 2008, 04:37
ok how would i get SPF records to work to that ISP's will accept my mail that I am sending?

falko
1st November 2008, 18:00
You can use the SPF wizard ( http://old.openspf.org/ ) and then copy the SPF line to your zone file.