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
Mar 16 18:06:06 server postfix/smtp[28260]: F0891DFA9D: to=<[email protected]>, 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=<[email protected]>, 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
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: [B][COLOR="Red"]server1.pierrepaquette.net. 3600 IN MX 5 eforwardct.name-services.com. server1.pierrepaquette.net. 3600 IN MX 10 eforward4.name-services.com.[/COLOR][/B] ;; 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:~#
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!
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
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=<[email protected]> Mar 19 00:56:52 server postfix/qmgr[9451]: 317D1DFC09: from=<[email protected]>, 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] <[email protected]> -> <[email protected]>, Message-ID: <[email protected]>, mail_id: J+Hrjj1xA+Z2, Hits: -0.155, queued_as: 317D1DFC09, 3353 ms Mar 19 00:56:52 server postfix/smtp[9937]: 5B998DFC07: to=<[email protected]>, 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=<[email protected]>, 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.)
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...
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=<[email protected]>, 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=<[email protected]>, 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
Another piece of info here... It seems that my ISP actually does block port 25 for outgoing connexions... Is there a workaround? I heard we can set postfix to use another port (such as 26)?
Take a look here: http://www.howtoforge.com/forums/showthread.php?t=4788&highlight=587+postfix http://www.howtoforge.com/forums/showthread.php?t=14442&highlight=587+postfix