Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th March 2008, 10:13
PierreQuebec PierreQuebec is offline
Junior Member
 
Join Date: Mar 2008
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix Relay Denied (Another!)

Hello,

I have a special problem here.

When I Telnet to my server and send a message from there, it works fine. When I use my e-mail client, configured to use authentication, it works fine. However, my Postfix quota reports are not sent, with a "Relay denied" from my domain name registrar (they tell me it should work and is a problem with Postfix).

I use virtual domains in a MySQL table.

Also, oddly, sending mail from Telnet to an address in one of my other domains (I own 4 domains, all with the same registrar) also gets a "Relay denied"...

I'm lost!

Thanks in advance to all who will help!

PierreQuebec
Reply With Quote
Sponsored Links
  #2  
Old 16th March 2008, 15:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,748 Times in 2,579 Posts
Default

Can you post the exact error messages from your mail log?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 17th March 2008, 01:59
PierreQuebec PierreQuebec is offline
Junior Member
 
Join Date: Mar 2008
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Mar 16 18:06:06 server postfix/smtp[28260]: F0891DFA9D: to=<root@server1.pierrepaquette.net>, relay=none, delay=65131, delays=65071/0.1/60/0, dsn=4.4.1, status=deferred (connect to eforward8a.name-services.com[70.42.37.3]:25: Connection timed out)
Mar 16 19:15:36 server postfix/smtp[28307]: connect to eforwardct.name-services.com[216.163.188.58]:25: Connection timed out
Mar 16 19:15:57 server postfix/smtp[28307]: connect to eforward8b.name-services.com[70.42.37.4]:25: No route to host
Mar 16 19:15:57 server postfix/smtp[28307]: F0891DFA9D: to=<root@server1.pierrepaquette.net>, relay=none, delay=69323, delays=69271/0.09/51/0, dsn=4.4.1, status=deferred (connect to eforward8b.name-services.com[70.42.37.4]:25: No route to host)

I got the same when sending to (something)@hotmail.com or a provider using hotmail's service, namely sympatico.ca
Reply With Quote
  #4  
Old 17th March 2008, 16:29
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,748 Times in 2,579 Posts
Default

Are you sure that the MX record for server1.pierrepaquette.net is correct?

Code:
mh1:~# dig mx server1.pierrepaquette.net

; <<>> DiG 9.3.4 <<>> mx server1.pierrepaquette.net
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52061
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2

;; QUESTION SECTION:
;server1.pierrepaquette.net.    IN      MX

;; ANSWER SECTION:
server1.pierrepaquette.net. 3600 IN     MX      5 eforwardct.name-services.com.
server1.pierrepaquette.net. 3600 IN     MX      10 eforward4.name-services.com.

;; ADDITIONAL SECTION:
eforward4.name-services.com. 38750 IN   A       69.64.145.228
eforwardct.name-services.com. 32692 IN  A       216.163.188.58

;; Query time: 134 msec
;; SERVER: 213.191.92.84#53(213.191.92.84)
;; WHEN: Mon Mar 17 15:29:02 2008
;; MSG SIZE  rcvd: 146

mh1:~#
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 17th March 2008, 18:49
PierreQuebec PierreQuebec is offline
Junior Member
 
Join Date: Mar 2008
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hmmm to be honest, I do not know. I was making Postfix tests with my jetetrouve.com domain as it doesn't receive any mail for the moment. My "main" pierrepaquette.net address does receive a lot of mail, and I didn't want to lose anything to Postfix problems.

I guess I should transfer all my mail to my own Postfix server and not to my ISP's server...

Being at the office right now, this would be a little hard to do, but I'll do it as soon as I get home and run more tests.

This should be in about 6 hours from now. Stay tuned! ;-)

And thanks for all your help! :-)
Reply With Quote
  #6  
Old 17th March 2008, 18:53
PierreQuebec PierreQuebec is offline
Junior Member
 
Join Date: Mar 2008
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Oops forgot to say that my Postfix will eventually manage mail for 4 domains:
pierrepaquette.net
jetetrouve.com (which is the only one right now)
cielprofond.info
quebecscope.info
Reply With Quote
  #7  
Old 18th March 2008, 17:30
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,748 Times in 2,579 Posts
Default

Try to make an MX record for server1.pierrepaquette.net that points to your own server.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 19th March 2008, 07:11
PierreQuebec PierreQuebec is offline
Junior Member
 
Join Date: Mar 2008
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks, indeed it was an MX record error.

I should mention here that I am new to all this (as you may have guessed) and never thought I would need an MX server for my mail.jetetrouve.com virtual server.

I have now updated my MX records and it seems to work just fine for all four of my domains: pierrepaquette.net (the main one), jetetrouve.com, cielprofond.info and quebecscope.info

However for some reason I still get an error when sending to an hotmail address:
(by Telnet; didn't try from my e-mail client [Thunderbird] as I'm getting sleepy [1:10am here] and will configure it tomorrow)

Mar 19 00:56:52 server postfix/smtpd[9944]: connect from localhost[127.0.0.1]
Mar 19 00:56:52 server postfix/smtpd[9944]: 317D1DFC09: client=localhost[127.0.0.1]
Mar 19 00:56:52 server postfix/cleanup[9935]: 317D1DFC09: message-id=<20080319045637.5B998DFC07@server.pierrepaquett e.net>
Mar 19 00:56:52 server postfix/qmgr[9451]: 317D1DFC09: from=<pierre@pierrepaquette.net>, size=884, nrcpt=1 (queue active)
Mar 19 00:56:52 server postfix/smtpd[9944]: disconnect from localhost[127.0.0.1]
Mar 19 00:56:52 server amavis[4992]: (04992-06) Passed CLEAN, LOCAL [127.0.0.1] [127.0.0.1] <pierre@pierrepaquette.net> -> <luxastrae@hotmail.com>, Message-ID: <20080319045637.5B998DFC07@server.pierrepaquette.n et>, mail_id: J+Hrjj1xA+Z2, Hits: -0.155, queued_as: 317D1DFC09, 3353 ms
Mar 19 00:56:52 server postfix/smtp[9937]: 5B998DFC07: to=<luxastrae@hotmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=22, delays=18/0.09/0.01/3.4, dsn=2.6.0, status=sent (250 2.6.0 Ok, id=04992-06, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 317D1DFC09)
Mar 19 00:57:22 server postfix/smtp[9945]: connect to mx1.hotmail.com[65.54.244.136]:25: Connection timed out
Mar 19 00:57:52 server postfix/smtp[9945]: connect to mx4.hotmail.com[65.54.245.104]:25: Connection timed out
Mar 19 00:58:22 server postfix/smtp[9945]: connect to mx2.hotmail.com[65.54.244.168]:25: Connection timed out
Mar 19 00:58:52 server postfix/smtp[9945]: connect to mx1.hotmail.com[65.54.245.8]:25: Connection timed out
Mar 19 00:59:22 server postfix/smtp[9945]: connect to mx4.hotmail.com[65.54.244.232]:25: Connection timed out
Mar 19 00:59:22 server postfix/smtp[9945]: 317D1DFC09: to=<luxastrae@hotmail.com>, relay=none, delay=150, delays=0.13/0.05/150/0, dsn=4.4.1, status=deferred (connect to mx4.hotmail.com[65.54.244.232]:25: Connection timed out)

Your help is very much appreciated! :-)

How do I "thank" you? I don't see the thank button?! (Maybe I'm blind.)
Reply With Quote
  #9  
Old 19th March 2008, 07:18
PierreQuebec PierreQuebec is offline
Junior Member
 
Join Date: Mar 2008
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

OK yes I *AM* blind, I just saw the Thanks button sorry. But I still need to figure out why I get timed out sending to Hotmail...
Reply With Quote
  #10  
Old 20th March 2008, 02:43
PierreQuebec PierreQuebec is offline
Junior Member
 
Join Date: Mar 2008
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
 
Question Still won't work... and another problem!

Sheesh, looks like it still won't work for sending mail! :-(

My MX records are OK:
Code:
dig mx pierrepaquette.net

; <<>> DiG 9.4.1-P1 <<>> mx pierrepaquette.net
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14363
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; QUESTION SECTION:
;pierrepaquette.net.            IN      MX

;; ANSWER SECTION:
pierrepaquette.net.     3600    IN      MX      10 mail.pierrepaquette.net.

;; ADDITIONAL SECTION:
mail.pierrepaquette.net. 3600   IN      A       65.94.90.125

;; Query time: 107 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Wed Mar 19 20:28:57 2008
;; MSG SIZE  rcvd: 73
As for my error messages:
Code:
Mar 19 20:22:02 server postfix/qmgr[10007]: 82567DFDA9: from=<pierre@pierrepaquette.net>, size=489078, nrcpt=4 (queue active)
Mar 19 20:22:32 server postfix/smtp[11215]: connect to mta011.aei.ca[206.123.6.241]:25: Connection timed out
Mar 19 20:23:02 server postfix/smtp[11215]: connect to mta010.aei.ca[206.123.6.240]:25: Connection timed out
Mar 19 20:23:02 server postfix/smtp[11215]: 82567DFDA9: to=<acajolai@aei.ca>, relay=none, delay=1454, delays=1394/0.12/60/0, dsn=4.4.1, status=deferred (connect to mta010.aei.ca[206.123.6.240]:25: Connection timed out)
I also have another problem, as my SpamAssassin doesn't seem to be really filtering anything... if it does, then let me tell you that it's not worth much, as I get about 100 times more SPAM than my regular ISP lets through...

Thanks in advance,
Pierre
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix: 554 5.7.1 Relay access denied Crog Server Operation 4 26th March 2010 15:19
Mail System Error - Returned Mail tristanlee85 General 16 16th March 2008 10:40
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 16:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 16:36
Questions in regards to ISP-Server Setup - Ubuntu 5.10 "Breezy Badger" rbrantley HOWTO-Related Questions 16 10th April 2006 19:26


All times are GMT +2. The time now is 14:23.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.