LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   qmail problem HELP ASAP - FC3 (https://www.linuxquestions.org/questions/linux-software-2/qmail-problem-help-asap-fc3-309860/)

shadoxity 04-05-2005 03:30 AM

qmail problem HELP ASAP - FC3
 
Hey all, i am having a problem with qmail...
firstly when i send emails they just sit in the queue and dont send?
and now something has happened and it wont receive ne more???
i followed the qmailrocks.org tutorial

so rather than just try to fix it can sum1 tell me how to uninstall qmail completely so i can start from the start... i would rather not format FC3 and reinstall cause i dont want to wait for the updates...
thanx

Donboy 04-05-2005 07:43 AM

>> they just sit in the queue and dont send

There is probably a reason they are not sending. Check the log files. Look under /var/log/qmail/qmail-send/current. There are probably failure messages in there that should explain what's wrong.

>> and it wont receive ne more

Without knowing the error you're getting, this is pretty vauge.

>> how to uninstall qmail completely

No need. I'm sure we can work out your problems without needing that. If all else fails, you can just install right over the previous and everything will be fine.

shadoxity 04-05-2005 09:52 PM

well in the var/logs/qmial/qmail-send/current it just has this repeatedly
\@4000000042534b3d1a436d44 alert: cannot start: unable to read controls
@4000000042534b3e1b8ff62c alert: cannot start: unable to read controls
with different numbers at the start thing...

i will probably just do a reinstall... but i might get this same error so if anone knows what that means please help...
thanx

Donboy 04-05-2005 11:23 PM

Sounds like you either forgot to run ./config-fast or you have been adjusting the permissions of your control files. here's mine...

[root@falcon root]# ls -l /var/qmail/control
-rwxr--r-- 1 root root 241 Jun 29 2004 badhelo
-rwxr--r-- 1 root root 101 Sep 17 2004 badmailfrom
-rwxr--r-- 1 root root 368 Oct 7 17:02 badmailto
-r-------- 1 root root 2331 Nov 3 20:36 clientcert.pem
-rw-r--r-- 1 root root 4 May 28 2004 concurrencyremote
-rwxr--r-- 1 root root 15 Aug 9 2004 defaultdomain
-rwxr--r-- 1 root root 22 Aug 9 2004 doublebouncehost
-rw-r--r-- 1 root root 13 Apr 24 2004 doublebounceto
-rw-r--r-- 1 root root 0 Feb 17 19:56 locals
-rw------- 1 root root 0 Feb 17 19:56 locals.lock
-rwxr--r-- 1 root root 22 Aug 9 2004 me
-rw-r--r-- 1 root root 2 Aug 12 2004 mfcheck
-rwxr--r-- 1 root root 15 Aug 9 2004 plusdomain
-rw-r--r-- 1 root root 6 May 26 2004 queuelifetime
-rw-r--r-- 1 root root 487 Mar 30 11:57 rcpthosts
-rw------- 1 root root 0 Mar 30 11:57 rcpthosts.lock
-r-------- 1 vpopmail vchkpw 2331 Oct 26 01:27 servercert.pem
-rwxr--r-- 1 root root 179 Oct 26 01:32 stunnel_pop3sd.conf
-rw-r--r-- 1 root root 974 Mar 30 11:57 virtualdomains
-rw------- 1 root root 0 Mar 30 11:57 virtualdomains.lock


You should run this command and post yours too. or you may just want to consider starting over just to make sure you didn't miss anything the first time.

shadoxity 04-06-2005 12:50 AM

ok here is mine... thanx for the help so far...
also my server isnt accepting the connections anymore? for some reason?
when i do the MX check at dnsreport.com for thisspace.net it finds teh DNS fine, but when i try to get it to send and email by putting postmaster@thisspace.net it comes back with
Trying to connect to all mailservers:

mail.thisspace.net. - 203.82.165.117 [Could not connect: Could not connect to mail server (connection refused by remote mailserver). NOTE: Per the RFCs, mailservers are allowed to continuously retry this server until it is back online, and not try other MX records (RFC2821 3.9).]

[root@localhost ~]# ls -l /var/qmail/control
total 52
lrwxrwxrwx 1 root root 33 Mar 31 20:45 clientcert.pem -> /var/qmail/control/servercert.pem
-rw-r--r-- 1 root root 3 Mar 31 21:14 concurrencyincoming
-rw-r--r-- 1 root root 4 Mar 31 21:14 concurrencyremote
-rw-r--r-- 1 root root 10 Mar 31 21:14 defaultdelivery
-rw-r--r-- 1 root root 14 Mar 31 20:44 defaultdomain
-rw-r--r-- 1 root root 33 Apr 6 13:07 locals
-rw-r--r-- 1 root root 14 Mar 31 20:44 me
-rw-r--r-- 1 root root 14 Mar 31 20:44 plusdomain
-rw------- 1 root root 9 Apr 1 01:11 queuelifetime
-rw------- 1 root root 0 Apr 1 01:09 queuelifetime.txt~
-rw-r--r-- 1 root root 33 Apr 4 14:46 rcpthosts
-rw-r--r-- 1 root root 15 Apr 4 15:24 rcpthosts~
-rw-r----- 1 vpopmail qmail 2205 Mar 31 20:45 servercert.pem
-rw-r--r-- 1 root root 14 Apr 6 00:26 smtproutes
-rw-r--r-- 1 root root 28 Mar 31 21:03 virtualdomains
-rw------- 1 root root 0 Mar 31 21:03 virtualdomains.lock


and in the tutorial where i am meant to put my site in i should be putting mail.thisspace.net and not thisspace.net right?
thanx

Donboy 04-06-2005 06:43 AM

Well, something seems terribly wrong, because when I try to telnet to your server...

[root@falcon root]# telnet thisspace.net 25
Trying 203.82.165.117...
telnet: connect to address 203.82.165.117: Connection refused

So this tells me that something is not right... maybe your firewall? What about the qmail-smtp/current log? what messages is it showing?

>> i should be putting mail.thisspace.net and not thisspace.net right?

Doesn't matter. As long as the domain you put resolves to the IP address of your mail server, that's all that matters. You can simply put the IP address and that will work just as good. Or you can setup MX records for both mail.thisspace.net and another MX record without the mail. at the beginning, both of them pointing to the same IP.

You may want to post your run files here. Did you change any of those? If you did, we need to see them. Otherwise, I'm assuming they are the standard files that come with the qmailrocks installation.

shadoxity 04-06-2005 09:08 PM

i got no firewall running and this is what my smtp log shows
@4000000042529df1375d9f44 tcpserver: status: 0/30
@400000004252a14d16deaaec tcpserver: status: 1/30
@400000004252a14d16debe74 tcpserver: pid 9602 from 202.147.116.116
@400000004252a14d1f22c1ac tcpserver: ok 9602 thisspace.net:192.168.0.254:25 :202.147.116.116::3804
@400000004252a15205799e74 tcpserver: end 9602 status 0
@400000004252a1520579b5e4 tcpserver: status: 0/30
@400000004252a34b03b86e44 tcpserver: status: 0/30
@400000004252cc7208b823bc tcpserver: status: 1/30
@400000004252cc7208b83b2c tcpserver: pid 29783 from 220.137.93.152
@400000004252cc721a38bee4 tcpserver: ok 29783 thisspace.net:192.168.0.254:25 220-137-93-152.dynamic.hinet.net:220.137.93.152::2291
@400000004252cc743a0f74ec tcpserver: end 29783 status 0
@400000004252cc743a0f8c5c tcpserver: status: 0/30
@40000000425345521a92e504 tcpserver: status: 1/30
@40000000425345521a92fc74 tcpserver: pid 19383 from 69.2.200.182
@40000000425345521ca0163c tcpserver: status: 2/30
@40000000425345521ca029c4 tcpserver: pid 19384 from 69.2.200.182
@400000004253455505c35974 tcpserver: ok 19383 thisspace.net:192.168.0.254:25 test.dnsstuff.com:69.2.200.182::3909
@40000000425345552349802c tcpserver: ok 19384 thisspace.net:192.168.0.254:25 test.dnsstuff.com:69.2.200.182::3910
@400000004253455721f0ed3c tcpserver: end 19383 status 0
@400000004253455721f100c4 tcpserver: status: 1/30
@40000000425345580cf826fc tcpserver: end 19384 status 0
@40000000425345580cf83e6c tcpserver: status: 0/30
@4000000042534af91616711c tcpserver: status: 0/30

im going to do a reinstall and see if that works, but if u can find out what the problem is that would be good...
thanx

Donboy 04-06-2005 09:24 PM

You dont appear to have any NS records for mail.thisspace.net...

http://www.dnsstuff.com/tools/lookup...ce.net&type=NS

Until you get your dns fully working, you'll only be able to connect via IP address.


All times are GMT -5. The time now is 01:37 PM.