(Reply) Re: Cannot send mail thru SMTP

2000-08-07 Thread markf

[EMAIL PROTECTED] wrote:

What do the qmail-send logs say? Did you look in ~alias/Mailbox for
bounces?

There are no messages from the ~alias/Mailbox for bounces.
About qmail-send logs, I don't know where to find the log file,

/var/log/qmail

Now I have another problem, I cheked the
/var/qmail/supervise/qmail-smtpd/run file and tried to edit it here
is the file: 

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
exec /usr/local/bin/softlimit -m 400 \
/usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \
   -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 21

Then I saved it and restart qmail.

Hmm. What did you change?

After restarting, a repeated message appears on the screen:

 softlimit: fatal: unable to run : file does not exist

I don't know what it means, so I just ignore it and tried testing
mail thru smtp. 

softlimit is saying it can't find /usr/local/bin/tcpserver.

Now I can't even connect.

Of course not.

-Dave

~~
I was able to fix the error that appears on the screen, it just a typographical error 
for the qmail-smtpd/run file.
After that I restart qmail, then check the /var/log/mail, and I think is working fine 
with messages:

@4000398e548b1b8e40ac delivery 1: success: 
@4000398e548b1b964f2c status: local 0/10 remote 0/20
@4000398e548b1cc63fc4 end msg 46350
@4000398e563612687894 new msg 46350
@4000398e563612698dec info msg 46350: bytes 216 from  qp 868 uid 504
@4000398e563612b52964 starting delivery 2: msg 46350 to local @samphil.sepco.com.ph
@4000398e563612b690c4 status: local 1/10 remote 0/20
@4000398e563612d290bc delivery 2: success: 
@4000398e563612d3a22c status: local 0/10 remote 0/20
@4000398e563612d4a014 end msg 46350

My testing only works with local. The one I followed with test.deliver. Then I tried 
the instructions for
test.receive, still, it's not working with smtp. I mean, I thought I was able to send 
it right with no errors,
but when I check the user's mailbox, there's no message only the message I told you 
before FOLDER INTERNAL DATA.
I also tried to check for the ~alias Mailbox and .qmail-default, there are no 
messages. By the way, right now I just want 
to use qmail for our Internal network, so DNS is configured for localhost only, I mean 
I still haven't ask our ISP
to delegate the DNS to the server I'm setting up. Does this affect my testing in qmail 
using smtp? I think qmail should
work with this kind of setup, besides I'm just on the testing stage. Just like when 
you use sendmail, you could send
mail locally.

Thanks again,

mark
for our internal network




Re: Cannot send mail thru SMTP

2000-08-02 Thread markf

[EMAIL PROTECTED] wrote:

Then I tried the test.receive using the
smtp.  I was able to follow the instructions given on the
test.receive. But when I checked the mailbox, mail was not received,
instead there was a mailer-daemon message...

No, that's not really a mailer daemon message. As the Subject says,
it's "FOLDER INTERNAL DATA". (Do I smell pine?)

Yes, I used pine mail.

Then I checked the maillog it says:

supervise: fatal: unable to acquire log/supervise/lock: temporary failure
supervise: fatal: unable to acquire qmail-send/supervise/lock: temporary failure
supervise: fatal: unable to acquire qmail-smtpd/supervise/lock: temporary failure

I'm not sure why you got those, but apparently it *was* temporary
since all the necessary daemons seem to be running.
Yes it's my mistake, it's not from maillog, it just appears on the screen after I 
execute
/usr/local/sbin/qmail start

What do the qmail-send logs say? Did you look in ~alias/Mailbox for
bounces?
There are no messages from the ~alias/Mailbox for bounces.
About qmail-send logs, I don't know where to find the log file, but what i did is I 
checked the status
using the /usr/local/sbin/qmail stat, it says:

qmail-send/log: up (pid 13777).

Now I have another problem, I cheked the /var/qmail/supervise/qmail-smtpd/run file and 
tried to edit it here is the file:

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
exec /usr/local/bin/softlimit -m 400 \
/usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \
-u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 21

Then I saved it and restart qmail.
After restarting, a repeated message appears on the screen:

 softlimit: fatal: unable to run : file does not exist

I don't know what it means, so I just ignore it and tried testing mail thru smtp.
Now I can't even connect. it says:

telnet localhost 25

Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused.

Thanks for responding to my help, hope you could help me.

Mark