Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Qmail: users

I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1) with apt-get Daemontools and Upstart

 

 

Qmail users RSS feed   Index | Next | Previous | View Threaded


felixtheratruns at gmail

Jun 3, 2010, 5:06 PM

Post #1 of 3 (1500 views)
Permalink
I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1) with apt-get Daemontools and Upstart

Thanks a bunch to Bob and Christopher and everyone else for getting me this far.
I'm still following the "life with qmail" guide on ubuntu server 10.04
So I have the qmail processes up and running, I made symbolic links
from everything in the /usr/bin to /usr/local/bin. This is because I
noticed qmail was looking for other things in the /usr/local/bin like
"softlimit" and so thought this would be safer to do than editing the
scripts.

root [at] themi:/usr/bin# ln -s /usr/bin/* /usr/local/bin

There doesn't seem to be any service errors through any of the
operations I describe in this email although I don't know what the
..... is
root [at] themi:/home/joel/Maildir/new# ps -ef | grep "service errors" |
grep -v grep
root 803 758 0 May30 ? 00:00:00 readproctitle service
errors: ................................................................................................................................................................................................................................................................................................................................................................................................................

After a little bit of messing around I realized I had to create the
Maildir, I found the command somewhere, I think it was this "
/var/qmail/bin/maildirmake" and I finally got the Maildir to work when
I created it with my user account but created the
var/qmail/control/defaultdelivery file with the root account. I have
tested my ability to send messages from my root account to my user
account, but whenever I try to send messages to a remote address I
get:

@400000004c0838b308fb3b84 new msg 5710109
@400000004c0838b308fb4f0c info msg 5710109: bytes 234 from
<root [at] themis> qp 2301 uid 0
@400000004c0838b309350c4c starting delivery 63: msg 5710109 to remote
felixtheratruns [at] gmail
@400000004c0838b3093523bc status: local 0/10 remote 1/20
@400000004c0839df3b56d96c delivery 63: deferral:
Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/

I also tried sending it to my yahoo account with the same results. I
tried the test in the qmail handbook for smtp which worked fine:

root [at] themi:/home/joel# telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 themis.ttd.doesntexist.com ESMTP
hello dude
502 unimplemented (#5.5.1)
helo dude
250 themis.ttd.doesntexist.com
mail from:<joel [at] themis>
250 ok
rcpt to:<joel [at] themis>
250 ok
data
354 go ahead
Subject: testing

this is a test...
.
250 ok 1275608033 qp 2315
quit
221 themis.ttd.doesntexist.com
Connection closed by foreign host.


root [at] themi:/home/joel/Maildir/new# cat 1275608033.2318.themis
Return-Path: <joel [at] themis>
Delivered-To: joel [at] themis
Received: (qmail 2315 invoked from network); 3 Jun 2010 23:33:30 -0000
Received: from localhost (HELO dude) (127.0.0.1)
by themis.ttd.doesntexist.com with SMTP; 3 Jun 2010 23:33:30 -0000
Subject: testing

this is a test...


Then I tried a test suggested on this thread:
http://www.gossamer-threads.com/lists/qmail/users/126657

From this I noticed that if I tried
root [at] themi:/home/joel/Maildir/new# telnet mx4.mail.yahoo.com 25
Trying 68.142.202.247...
Trying 209.191.88.247...
telnet: Unable to connect to remote host: Connection timed out

I'm thinking that the isp of my server may be blocking port 25. Is
there a way I can find this out for sure, and if so, is there a
workaround for it? Thanks.
-Joel


lists-qmail at maexotic

Jun 4, 2010, 12:00 AM

Post #2 of 3 (1429 views)
Permalink
Re: I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1) with apt-get Daemontools and Upstart [In reply to]

On Thu, Jun 03, 2010 at 08:06:47PM -0400, Joel wrote:
> Then I tried a test suggested on this thread:
> http://www.gossamer-threads.com/lists/qmail/users/126657
>
> From this I noticed that if I tried
> root [at] themi:/home/joel/Maildir/new# telnet mx4.mail.yahoo.com 25
> Trying 68.142.202.247...
> Trying 209.191.88.247...
> telnet: Unable to connect to remote host: Connection timed out

This is the problem with 5 year old information, if people don't
know what they are doing.

I cannot contact mx4.mail.yahoo.com on the SMTP port either, probably
due to the fact, that this is no longer listed as a Mail eXchanger
for yahoo.com.

Valid mail exchangers for yahoo.com are:
(dnsmx yahoo.com; dig yahoo.com mx; host -tmx yahoo.com)

yahoo.com. 1642 MX 1 g.mx.mail.yahoo.com.
yahoo.com. 1642 MX 1 h.mx.mail.yahoo.com.
yahoo.com. 1642 MX 1 a.mx.mail.yahoo.com.
yahoo.com. 1642 MX 1 b.mx.mail.yahoo.com.
yahoo.com. 1642 MX 1 c.mx.mail.yahoo.com.
yahoo.com. 1642 MX 1 d.mx.mail.yahoo.com.
yahoo.com. 1642 MX 1 e.mx.mail.yahoo.com.
yahoo.com. 1642 MX 1 f.mx.mail.yahoo.com.

at least for the next 1642 seconds.
Try one of those.

As you don't tell us who the ISP of the server is, how do you
expect us to know if your ISP is blocking port 25 outgoing?
But you can get an easy, fast and probably the most accurate answer
to this question by asking your ISP.

\Maex


felixtheratruns at gmail

Jun 4, 2010, 6:56 AM

Post #3 of 3 (1409 views)
Permalink
Re: I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1) with apt-get Daemontools and Upstart [In reply to]

On Fri, Jun 4, 2010 at 3:00 AM, Markus Stumpf <lists-qmail [at] maexotic> wrote:
> On Thu, Jun 03, 2010 at 08:06:47PM -0400, Joel wrote:
--snip telnet output--
> This is the problem with 5 year old information, if people don't
> know what they are doing.
>
> I cannot contact mx4.mail.yahoo.com on the SMTP port either, probably
> due to the fact, that this is no longer listed as a Mail eXchanger
> for yahoo.com.
>
> Valid mail exchangers for yahoo.com are:
> (dnsmx yahoo.com; dig yahoo.com mx; host -tmx yahoo.com)
>
> yahoo.com.      1642    MX      1 g.mx.mail.yahoo.com.
> yahoo.com.      1642    MX      1 h.mx.mail.yahoo.com.
> yahoo.com.      1642    MX      1 a.mx.mail.yahoo.com.
> yahoo.com.      1642    MX      1 b.mx.mail.yahoo.com.
> yahoo.com.      1642    MX      1 c.mx.mail.yahoo.com.
> yahoo.com.      1642    MX      1 d.mx.mail.yahoo.com.
> yahoo.com.      1642    MX      1 e.mx.mail.yahoo.com.
> yahoo.com.      1642    MX      1 f.mx.mail.yahoo.com.
>
> at least for the next 1642 seconds.
> Try one of those.
>
> As you don't tell us who the ISP of the server is, how do you
> expect us to know if your ISP is blocking port 25 outgoing?
> But you can get an easy, fast and probably the most accurate answer
> to this question by asking your ISP.
>
>        \Maex
>
>

Apologies, I should have looked up more things about mail exchangers.
But anyways I know what the problem is now. I ssh into this server as
it is at my friend's house. I don't know what his isp is (i should
have been clear about this, as I know most people on here haven't read
my previous posts). The real problem is that his router is not set up
to forward port 25. I'll let you know when that is resolved (as he is
currently away and is not able to remote desktop into his computer for
some reason) Thanks.

-Joel

Qmail users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.