Re: [vchkpw] can not get any mail

2003-03-14 Thread Negative Nine



Well, another stupid error on my behalf.I 
forgot to change my iptable rules to allow access to port 25 from outside my 
network. I need some sleep now. **
 
 
Author: Jonas 
Pasche  
Date:   03-12-03 
19:32Subject:   Re: [vchkpw] can not get any 
mailHi Scott,> if you are saying i need to kill 
qmail-send.No; Rick told you to send a HUP.Anyway, you need to 
send a HUP to _qmail-smtpd_, not qmail-send, as thercpthosts file is read by 
qmail-smtpd, not qmail-send. vpopmail normallydoes this automatically, but 
obviously did not in your case.> okay, i tried killall and it> 
did not kill it. i killed it with -9 and it restarted again a couple of> 
seconds later.That's what supervise is for.> durring that 
time i sent 2 more messages to> [EMAIL PROTECTED] and they are not 
showing up in the log> (/var/log/qmail/current) and i didnt recieve them 
or get any bounced> messages.Enter "/var/qmail/bin/qmail-qstat" 
and see if they're in the"unprocessed" state.> > more info 
from /var/qmail/control:This can be achieved easier with 
"qmail-showctl".> > it seems like it recieves the message, and 
doesnt> > know where to put it, and then just gives up.You 
have logs, so there's no need to "it seems like". Your test mailcomes from 
the same domain that makes trouble, so qmail cannot send abounce and will 
deliver it to the postmaster. If the postmaster addresspoints to this 
address, too, you'll have a triple bounce, and qmail willdiscard it as it 
doesn't find a valid address to deliver the mail or abounce 
message.> I did also notice that it> says> > uid 500 
for one and 510 for the other. I have checked and rechecked the> > 
vpopmail and vchkpw uid and gid and they are all set to 89. i dont know> 
> where it is getting that uid of 500 and 510.The first message is 
generated by UID 500, which is propably theqmail-smtpd user. The second 
message is generated by UID, which isprobably the qmail-queue user. Check 
your /etc/passwd to be sure.Jonas


Re: [vchkpw] can not get any mail

2003-03-12 Thread Jonas Pasche
Hi Scott,

> if you are saying i need to kill qmail-send.

No; Rick told you to send a HUP.

Anyway, you need to send a HUP to _qmail-smtpd_, not qmail-send, as the
rcpthosts file is read by qmail-smtpd, not qmail-send. vpopmail normally
does this automatically, but obviously did not in your case.

> okay, i tried killall and it
> did not kill it. i killed it with -9 and it restarted again a couple of
> seconds later.

That's what supervise is for.

> durring that time i sent 2 more messages to
> [EMAIL PROTECTED] and they are not showing up in the log
> (/var/log/qmail/current) and i didnt recieve them or get any bounced
> messages.

Enter "/var/qmail/bin/qmail-qstat" and see if they're in the
"unprocessed" state.

> > more info from /var/qmail/control:

This can be achieved easier with "qmail-showctl".

> > it seems like it recieves the message, and doesnt
> > know where to put it, and then just gives up.

You have logs, so there's no need to "it seems like". Your test mail
comes from the same domain that makes trouble, so qmail cannot send a
bounce and will deliver it to the postmaster. If the postmaster address
points to this address, too, you'll have a triple bounce, and qmail will
discard it as it doesn't find a valid address to deliver the mail or a
bounce message.

> I did also notice that it
> says
> > uid 500 for one and 510 for the other. I have checked and rechecked the
> > vpopmail and vchkpw uid and gid and they are all set to 89. i dont know
> > where it is getting that uid of 500 and 510.

The first message is generated by UID 500, which is propably the
qmail-smtpd user. The second message is generated by UID, which is
probably the qmail-queue user. Check your /etc/passwd to be sure.

Jonas





Re: [vchkpw] can not get any mail

2003-03-12 Thread Negative Nine
okay, i tried that but still no go. What i dont understand is that the smtp
server im sending through here at work should at least send me a message if
it can not send the message to my box. And my box should send me a message
if it has a problem with the e-mail. I dont get anything at all. and i can
send e-mail from my box fine. thats no problem. I just am lost here.

-Scott

- Original Message -
From: "Rick Macdougall" <[EMAIL PROTECTED]>
To: "Negative Nine" <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 11:08 AM
Subject: Re: [vchkpw] can not get any mail


> Hi,
>
> What I was saying is that after adding domains to rcpthosts (or
> morercpthosts) you need to hup qmail-send so that it re-reads those files.
>
> Regards,
>
> Rick
>
> - Original Message -
> From: "Negative Nine" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, March 12, 2003 11:53 AM
> Subject: Re: [vchkpw] can not get any mail
>
>
> if you are saying i need to kill qmail-send. okay, i tried killall and it
> did not kill it. i killed it with -9 and it restarted again a couple of
> seconds later. durring that time i sent 2 more messages to
> [EMAIL PROTECTED] and they are not showing up in the log
> (/var/log/qmail/current) and i didnt recieve them or get any bounced
> messages.
>
> -Scott
>
> - Original Message -
> From: "Rick Macdougall" <[EMAIL PROTECTED]>
> To: "Negative Nine" <[EMAIL PROTECTED]>
> Sent: Wednesday, March 12, 2003 9:55 AM
> Subject: Re: [vchkpw] can not get any mail
>
>
> > killall -HUP qmail-send
> >
> > Rick
> >
> > - Original Message -
> > From: "Negative Nine" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, March 12, 2003 10:53 AM
> > Subject: [vchkpw] can not get any mail
> >
> >
> > I just setup qmail and vpopmail on a redhat 7.2 box and for some reason
i
> > can not receive any mail i send to it. I dont get any bounce messages or
> > anything, it just vanishes.
> >
> > Some info:
>
> --
> --
> > -
> > a tail from /var/log/qmail/current
> > @40003e6f447137dc8b74 new msg 2208345
> > @40003e6f447137dcd1c4 info msg 2208345: bytes 243 from
> > <[EMAIL PROTECTED]> qp 20856 uid 500
> > @40003e6f44713851f60c starting delivery 7: msg 2208345 to remote
> > [EMAIL PROTECTED]
> > @40003e6f447138559ba4 status: local 0/10 remote 1/20
> > @40003e6f44720cce9274 delivery 7: failure:
> >
>
Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_is
> > n't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/
> > @40003e6f44720ccefbec status: local 0/10 remote 0/20
> > @40003e6f44720d8fcb4c bounce msg 2208345 qp 20858
> > @40003e6f44720d8ffe14 end msg 2208345
> > @40003e6f44720da026cc new msg 2208348
> > @40003e6f44720da0460c info msg 2208348: bytes 870 from <> qp 20858
uid
> > 510
> > @40003e6f44720e1fedbc starting delivery 8: msg 2208348 to remote
> > [EMAIL PROTECTED]
> > @40003e6f44720e239354 status: local 0/10 remote 1/20
> > @40003e6f44721bd10a54 delivery 8: failure:
> >
>
Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_is
> > n't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/
> > @40003e6f44721bd16fe4 status: local 0/10 remote 0/20
> > @40003e6f44721c96811c bounce msg 2208348 qp 20860
> > @40003e6f44721c96ac14 end msg 2208348
> >
> > more info from /var/qmail/control:
> > [EMAIL PROTECTED] control]# cat virtualdomains
> > neg9.netnitco.net:neg9.netnitco.net
> > neg0.netnitco.net:neg0.netnitco.net
> > [EMAIL PROTECTED] control]# cat rcpthosts
> > neg9.netnitco.net
> > neg0.netnitco.net
> > [EMAIL PROTECTED] control]# cat me
> > neg9.netnitco.net
> > [EMAIL PROTECTED] control]# cat plusdomain
> > [EMAIL PROTECTED] control]# cat locals
> > [EMAIL PROTECTED] control]# cat defaultdomain
> > [EMAIL PROTECTED] control]# cat defaultdelivery
> > ./Mailbox
> >
> > and /var/qmail/users/assign
> >
>
+neg9.netnitco.net-:neg9.netnitco.net:89:89:/usr/vpopmail/domains/neg9.netni
> > tco.net:-::
> >
>
+neg0.netnitco.net-:neg0.netnitco.net:89:89:/usr/vpopmail//domains/neg0.netn
> > itco.net:-::
> > .
> >
> > how i start vpopmail:
> > env - PATH="/var/qmail/bin:/usr/local/bin" \
&g

Re: [vchkpw] can not get any mail

2003-03-12 Thread Negative Nine
if you are saying i need to kill qmail-send. okay, i tried killall and it
did not kill it. i killed it with -9 and it restarted again a couple of
seconds later. durring that time i sent 2 more messages to
[EMAIL PROTECTED] and they are not showing up in the log
(/var/log/qmail/current) and i didnt recieve them or get any bounced
messages.

-Scott

- Original Message -
From: "Rick Macdougall" <[EMAIL PROTECTED]>
To: "Negative Nine" <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 9:55 AM
Subject: Re: [vchkpw] can not get any mail


> killall -HUP qmail-send
>
> Rick
>
> - Original Message -
> From: "Negative Nine" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, March 12, 2003 10:53 AM
> Subject: [vchkpw] can not get any mail
>
>
> I just setup qmail and vpopmail on a redhat 7.2 box and for some reason i
> can not receive any mail i send to it. I dont get any bounce messages or
> anything, it just vanishes.
>
> Some info:
> --
--
> -
> a tail from /var/log/qmail/current
> @40003e6f447137dc8b74 new msg 2208345
> @40003e6f447137dcd1c4 info msg 2208345: bytes 243 from
> <[EMAIL PROTECTED]> qp 20856 uid 500
> @40003e6f44713851f60c starting delivery 7: msg 2208345 to remote
> [EMAIL PROTECTED]
> @40003e6f447138559ba4 status: local 0/10 remote 1/20
> @40003e6f44720cce9274 delivery 7: failure:
>
Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_is
> n't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/
> @40003e6f44720ccefbec status: local 0/10 remote 0/20
> @40003e6f44720d8fcb4c bounce msg 2208345 qp 20858
> @40003e6f44720d8ffe14 end msg 2208345
> @40003e6f44720da026cc new msg 2208348
> @40003e6f44720da0460c info msg 2208348: bytes 870 from <> qp 20858 uid
> 510
> @40003e6f44720e1fedbc starting delivery 8: msg 2208348 to remote
> [EMAIL PROTECTED]
> @40003e6f44720e239354 status: local 0/10 remote 1/20
> @40003e6f44721bd10a54 delivery 8: failure:
>
Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_is
> n't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/
> @40003e6f44721bd16fe4 status: local 0/10 remote 0/20
> @40003e6f44721c96811c bounce msg 2208348 qp 20860
> @40003e6f44721c96ac14 end msg 2208348
>
> more info from /var/qmail/control:
> [EMAIL PROTECTED] control]# cat virtualdomains
> neg9.netnitco.net:neg9.netnitco.net
> neg0.netnitco.net:neg0.netnitco.net
> [EMAIL PROTECTED] control]# cat rcpthosts
> neg9.netnitco.net
> neg0.netnitco.net
> [EMAIL PROTECTED] control]# cat me
> neg9.netnitco.net
> [EMAIL PROTECTED] control]# cat plusdomain
> [EMAIL PROTECTED] control]# cat locals
> [EMAIL PROTECTED] control]# cat defaultdomain
> [EMAIL PROTECTED] control]# cat defaultdelivery
> ./Mailbox
>
> and /var/qmail/users/assign
>
+neg9.netnitco.net-:neg9.netnitco.net:89:89:/usr/vpopmail/domains/neg9.netni
> tco.net:-::
>
+neg0.netnitco.net-:neg0.netnitco.net:89:89:/usr/vpopmail//domains/neg0.netn
> itco.net:-::
> .
>
> how i start vpopmail:
> env - PATH="/var/qmail/bin:/usr/local/bin" \
> tcpserver -H -R 0 pop3 \
> /var/qmail/bin/qmail-popup neg9.netnitco.net \
> /usr/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir &
>
> --
--
> -
>
> I did actually read the errors and noticed it said it couldnt find the
> domain in the locals file. I do have neg9.netnitco.net and
neg0.netnitco.net
> setup as virt domains in vpopmail so it should treat it as a virt domain.
i
> dont think it is though. it seems like it recieves the message, and doesnt
> know where to put it, and then just gives up. I did also notice that it
says
> uid 500 for one and 510 for the other. I have checked and rechecked the
> vpopmail and vchkpw uid and gid and they are all set to 89. i dont know
> where it is getting that uid of 500 and 510. Any information you guys can
> give me would help a lot.
>
> -Scott




[vchkpw] can not get any mail

2003-03-12 Thread Negative Nine



I just setup qmail and vpopmail on a redhat 7.2 box 
and for some reason i can not receive any mail i send to it. I dont get any 
bounce messages or anything, it just vanishes.
 
Some info:

-
a tail from /var/log/qmail/current
@40003e6f447137dc8b74 new msg 
2208345@40003e6f447137dcd1c4 info msg 2208345: bytes 243 from <[EMAIL PROTECTED]> qp 20856 
uid 500@40003e6f44713851f60c starting delivery 7: msg 2208345 to remote 
[EMAIL PROTECTED]@40003e6f447138559ba4 
status: local 0/10 remote 1/20@40003e6f44720cce9274 delivery 7: failure: 
Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/@40003e6f44720ccefbec 
status: local 0/10 remote 0/20@40003e6f44720d8fcb4c bounce msg 2208345 
qp 20858@40003e6f44720d8ffe14 end msg 
2208345@40003e6f44720da026cc new msg 
2208348@40003e6f44720da0460c info msg 2208348: bytes 870 from <> 
qp 20858 uid 510@40003e6f44720e1fedbc starting delivery 8: msg 2208348 
to remote [EMAIL PROTECTED]@40003e6f44720e239354 
status: local 0/10 remote 1/20@40003e6f44721bd10a54 delivery 8: failure: 
Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/@40003e6f44721bd16fe4 
status: local 0/10 remote 0/20@40003e6f44721c96811c bounce msg 2208348 
qp 20860@40003e6f44721c96ac14 end msg 2208348
 
more info from /var/qmail/control:
[EMAIL PROTECTED] control]# cat 
virtualdomainsneg9.netnitco.net:neg9.netnitco.netneg0.netnitco.net:neg0.netnitco.net[EMAIL PROTECTED] 
control]# cat 
rcpthostsneg9.netnitco.netneg0.netnitco.net[EMAIL PROTECTED] control]# 
cat me neg9.netnitco.net[EMAIL PROTECTED] control]# cat plusdomain 
[EMAIL PROTECTED] control]# cat locals[EMAIL PROTECTED] control]# cat 
defaultdomain [EMAIL PROTECTED] control]# cat defaultdelivery 
./Mailbox
 
and /var/qmail/users/assign
+neg9.netnitco.net-:neg9.netnitco.net:89:89:/usr/vpopmail/domains/neg9.netnitco.net:-::+neg0.netnitco.net-:neg0.netnitco.net:89:89:/usr/vpopmail//domains/neg0.netnitco.net:-::.
 
how i start vpopmail:
env - PATH="/var/qmail/bin:/usr/local/bin" 
\    tcpserver -H -R 0 pop3 \ 
    /var/qmail/bin/qmail-popup 
neg9.netnitco.net \    
/usr/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir &
 
-
 
I did actually read the errors and noticed it said 
it couldnt find the domain in the locals file. I do have neg9.netnitco.net and 
neg0.netnitco.net setup as virt domains in vpopmail so it should treat it as a 
virt domain. i dont think it is though. it seems like it recieves the message, 
and doesnt know where to put it, and then just gives up. I did also notice that 
it says uid 500 for one and 510 for the other. I have checked and rechecked the 
vpopmail and vchkpw uid and gid and they are all set to 89. i dont know where it 
is getting that uid of 500 and 510. Any information you guys can give me would 
help a lot.
 
-Scott