Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Lost in...
PostPosted: Wed Oct 08, 2003 4:28 pm 
Offline
Junior Member

Joined: Wed Oct 08, 2003 12:55 pm
Posts: 38
I seem to be having an issue with my mail setup. I'm using qmail and followed the instructions from qmailrocks.org to get everything going. I have been able to send a message using mozilla mail which can be received on another mail account. I have not been able to receive any mail sent to this domain.

The domain is tulsapulse.com and it should be setup with a catch-all address.

Any ideas?


Top
   
 Post subject:
PostPosted: Wed Oct 08, 2003 6:22 pm 
Offline
Junior Member

Joined: Wed Aug 20, 2003 2:13 pm
Posts: 38
Website: http://www.kotalampi.com/
AOL: r1sto
Location: Hayward, CA
[risto@dallas lists]$ dig mx tulsapulse.com

; <<>> DiG 9.2.1 <<>> mx tulsapulse.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35908
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 1

;; QUESTION SECTION:
;tulsapulse.com. IN MX

;; ANSWER SECTION:
tulsapulse.com. 86331 IN MX 10 tulsapulse.com.

;; AUTHORITY SECTION:
tulsapulse.com. 259124 IN NS ns1.mydomain.com.
tulsapulse.com. 259124 IN NS ns2.mydomain.com.
tulsapulse.com. 259124 IN NS ns3.mydomain.com.
tulsapulse.com. 259124 IN NS ns4.mydomain.com.

;; ADDITIONAL SECTION:
tulsapulse.com. 86324 IN A 69.56.173.162

;; Query time: 14 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Oct 8 18:16:13 2003
;; MSG SIZE rcvd: 145

[risto@dallas lists]$ telnet 69.56.173.162 25
Trying 69.56.173.162...
telnet: connect to address 69.56.173.162: Connection refused
[risto@dallas lists]$

--

You don't have anything listening on port 25 and can't receive inbound emails.

Risto


Top
   
 Post subject:
PostPosted: Wed Oct 08, 2003 7:38 pm 
Offline
Junior Member

Joined: Wed Oct 08, 2003 12:55 pm
Posts: 38
It's always the obvious things that are easiest to fix.

Of course, now that I have figured out why the smtpd script wasn't working I'm still not getting mail.

And just what does this mean?

[root@li2-162]# qmailctl stat
/service/qmail-send: up (pid 30384) 1 seconds
/service/qmail-send/log: up (pid 29861) 390 seconds
/service/qmail-smtpd: up (pid 29865) 390 seconds
/service/qmail-smtpd/log: up (pid 29864) 390 seconds
messages in queue: 3
messages in queue but not yet preprocessed: 3
[root@li2-162]#


Top
   
 Post subject:
PostPosted: Wed Oct 08, 2003 8:26 pm 
Offline
Senior Member

Joined: Thu Aug 28, 2003 12:57 am
Posts: 273
HeadachesAbound wrote:
It's always the obvious things that are easiest to fix.

Of course, now that I have figured out why the smtpd script wasn't working I'm still not getting mail.

And just what does this mean?

[root@li2-162]# qmailctl stat
/service/qmail-send: up (pid 30384) 1 seconds
/service/qmail-send/log: up (pid 29861) 390 seconds
/service/qmail-smtpd: up (pid 29865) 390 seconds
/service/qmail-smtpd/log: up (pid 29864) 390 seconds
messages in queue: 3
messages in queue but not yet preprocessed: 3
[root@li2-162]#


Have you checked /var/log/maillog?


Top
   
 Post subject:
PostPosted: Wed Oct 08, 2003 9:02 pm 
Offline
Junior Member

Joined: Wed Oct 08, 2003 12:55 pm
Posts: 38
checked /var/log/qmail/qmail-send/current

Nothing odd that I could see directly. Some errors from last night and earlier this morning when the smptd service wasn't listening.

Then I had a thought...I tried this last night and it failed but I thought why not, let's see what happens. I opened up pine and sent a message from the root account on my linode. I received the email within seconds.

I'm gonna try to put the smtpd service onto a different port so that I can connect to it directly (...stupid cox...) and see if that makes a difference or not.

My first assumption is that maybe the domain isn't resolving somewhere down the line...but then I would expect to get a bounce saying that the mail couldn't be sent. Not sure what is going on at the moment. Any more ideas?


Top
   
 Post subject:
PostPosted: Wed Oct 08, 2003 11:41 pm 
Offline
Junior Member

Joined: Wed Oct 08, 2003 12:55 pm
Posts: 38
I have confirmed that I can receive mail locally but not externally. This means that I can login to my linode as root and send a message with pine that I can then receive but if I send a message to myself from my email client then it doesn't get delivered.

I have been able to telnet to port 2525 which is where I moved the qmail-smtpd service to but it doesn't work. I never get a 2XX response.

I've looked at everything I can think of but maybe I'm missing something. Ideas?


Top
   
 Post subject:
PostPosted: Thu Oct 09, 2003 2:03 am 
Offline
Junior Member

Joined: Wed Aug 20, 2003 2:13 pm
Posts: 38
Website: http://www.kotalampi.com/
AOL: r1sto
Location: Hayward, CA
I never get the greeting from your smtpd. Is your DNS resolution working?

Risto

---

[root@dallas]# telnet 69.56.173.162 2525
Trying 69.56.173.162...
Connected to 69.56.173.162.
Escape character is '^]'.
<hang>


Top
   
 Post subject:
PostPosted: Thu Oct 09, 2003 3:57 am 
Offline
Junior Member

Joined: Wed Oct 08, 2003 12:55 pm
Posts: 38
As near as I can tell the DNS resolution is working. How would I determine if it is not? I able to ping, tracert, etc. to the domain and when i run dig or host it returns the proper nameserver / ip data. To me, this says that DNS resolution is working.


Top
   
 Post subject:
PostPosted: Thu Oct 09, 2003 8:48 am 
Offline
Senior Member
User avatar

Joined: Mon Jun 23, 2003 1:25 pm
Posts: 260
Hi,

What IP have you set the smtp server to listen, the one listed in the DNS records does not respond to anything on port 25, thus why mail is not been delivered.

Do you have a firewall or anything like that?

Adam


Top
   
 Post subject:
PostPosted: Thu Oct 09, 2003 10:45 am 
Offline
Junior Member

Joined: Wed Oct 08, 2003 12:55 pm
Posts: 38
HeadachesAbound wrote:
...I have been able to telnet to port 2525 which is where I moved the qmail-smtpd service to but it doesn't work. I never get a 2XX response...


I think that I will be refreshing the linode sometime today with a clean image and starting over. It appears that the smtpd service is being finicky and refusing to answer. I keep getting timeout errors.


Top
   
 Post subject:
PostPosted: Thu Oct 09, 2003 10:47 am 
Offline
Senior Member
User avatar

Joined: Mon Jun 23, 2003 1:25 pm
Posts: 260
Why did you put the qmail on to 2525, if it is there the other smtp server across the world will not be able to find it.

Adam


Top
   
 Post subject:
PostPosted: Thu Oct 09, 2003 11:16 am 
Offline
Junior Member

Joined: Wed Oct 08, 2003 12:55 pm
Posts: 38
Did this so that I could test it. I can't even telnet to it which concerns me. My ISP (...stupid cox...) blocks port 25 because they are too lazy to hunt down spammers on their own network and simply assume that a spammer will always use port 25. I remember seeing something late last week when I started this that explained how to make it run on 2 different ports but I can't find it now. I'm planning on having it run on 2 different ports at some point in the future so that I can get around my ISP's restrictions.


Top
   
 Post subject:
PostPosted: Thu Oct 09, 2003 11:20 am 
Offline
Senior Member
User avatar

Joined: Mon Jun 23, 2003 1:25 pm
Posts: 260
Well something answers on port 2525

So something is listening on it.

So it would point to a set-up problem with qmail.

Adam


Top
   
 Post subject:
PostPosted: Thu Oct 09, 2003 11:35 am 
Offline
Junior Member

Joined: Wed Oct 08, 2003 12:55 pm
Posts: 38
adamgent wrote:
So it would point to a set-up problem with qmail.


Agreed. But what? I've tried checking all of the setup scripts that control smtpd and I can find nothing that would indicate what the problem is. It is this lack of something that is making me consider just dumping a new linode image on there and starting over.


Top
   
 Post subject:
PostPosted: Thu Oct 09, 2003 5:57 pm 
Offline
Junior Member

Joined: Wed Oct 08, 2003 12:55 pm
Posts: 38
I've got the smtpd server to listen. It appears as though I had a syntax error in of the script files that wasn't be detected anywhere. Used ' instead of `.

So, now I can get to this point.

[root@li2-162 dloads]# telnet tulsapulse.com 25
Trying 69.56.173.162...
Connected to tulsapulse.com.
Escape character is '^]'.
220 mail.snowprods.com ESMTP
helo tulsapulse.com
250 mail.snowprods.com
mail from:jdale@tulsapulse.com
250 ok
rcpt to: jdale@tulsapulse.com
250 ok
data
354 go ahead
subject:test
test
.
451 qq trouble creating files in queue (#4.3.0)

And I can't do anything to get the messages out of the queue..

[root@li2-162 dloads]# qmailctl stat
/service/qmail-send: up (pid 3751) 2157 seconds
/service/qmail-send/log: up (pid 3753) 2157 seconds
/service/qmail-smtpd: up (pid 3758) 2157 seconds
/service/qmail-smtpd/log: up (pid 3763) 2157 seconds
messages in queue: 6
messages in queue but not yet preprocessed: 0

I have tried to download and compile queue-fix with no luck. I'm getting linker errors stating that there is an undefined reference to errno. Ideas?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group