LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Not seeing forest for the trees (https://www.linuxquestions.org/questions/linux-software-2/not-seeing-forest-for-the-trees-45008/)

zuessh 02-11-2003 07:31 PM

Not seeing forest for the trees
 
I installed qmail and have it up and running. I have several users that I would like to test my config with (testmail, me). If i telnet to 127... it connects fine and and 'mail testmail@domain.com, rcpt, data, and the whole thing, it says it is fine. But I can't find the mail once it is sent? I used the ./Mailbox in the configuration so i thought it would go to /home/testmail/Mailbox. I've read the docs many times but think I have read too much to find the answer. Can anyone help... Thanks

acid_kewpie 02-12-2003 02:55 AM

look /in /var/spool/mail

zuessh 02-12-2003 04:45 PM

not in /var/spol/mail or /var/mail. Cant understand where it is delivering mail or why it is not delivering to $HOME (/home/user).

I restarted qmail and when I do qmailctl stat all is started but it says:
messages in queue: 6
messages in queue but not processed: 4

Any ideas why it is not delvering and processing? Thanks

zuessh 02-12-2003 08:38 PM

If i restart the box it seems to clear up the queue and will deliver the messages. I assume its a problem with the qmail-send but cant seem to find the problem. Any ideas on what the problem is? Thanks

mcleodnine 02-12-2003 08:41 PM

The first _two_ times I installed qmail I failed miseravbly. Then I had a go at 'Life with qmail'. Have a look at it - it's linked right from the main qmail site.

zuessh 02-13-2003 12:14 PM

Thanks for the suggestion, however that is what I used to install qmail. I have been over that document a thousand times looking for something that I mistyped or misspelled or any other reason qmail would not work :confused: How about this for an option:

Thanks to another thread I posted I found the postifx package for Suse. Would it be better to do away with qmail in favor of postifx? If so what would be the best way to remove qmail. I have invested a good amount of time in qmail and hate to quit, but time is money. Thanks again.

zuessh 02-13-2003 05:18 PM

:tisk:

I know someone somewhere has the answer...

mcleodnine 02-13-2003 09:04 PM

Are any other mail servers currenty running and did you make absolutely sure you disabled any smtp servers in your inetd.conf and kill -HUP the inetd process as well?

zuessh 02-14-2003 10:00 AM

I believe this could be part of the problem. My knowledge of the other smtp servers that were on the box and in general is very limited. What I did was unistall smtp via Yast2, before finising the config for qmail (per the documentation). I do not know if that caused a problem or if it is truely uninstalled. In the long way around, that is what I am asking, what could the problem be? Thanks

zuessh 02-15-2003 11:13 AM

last try, I reinstalled qmail from scratch. All went well again execpt that now when i try to test sending mail TEST.recieve, when i attempt to put the 'data' of the mail it comes back with 'NO Sender' any suggestions? SMTP is running and listening. :mad:

zuessh 02-15-2003 06:10 PM

last, last try, sorry for the multiple posts but it is what I have resorted to before I scrap my linux box (apache and qmail) for a win2k (iis and Exchange 2k). I'm also willing to pay if someone can help me get qmail installed and working. Thanks in advance and again i apologize for all the post...

mcleodnine 02-15-2003 06:28 PM

Which SMTP is up and listening? qmail's or another one?

zuessh 02-15-2003 06:36 PM

I assume it is qmail's. I removed sendmail. If i ps -ef |grep smtp it comes back with 2 smtp processes, supervise qmial-smtpd and /usr/local/bin/tcpserver.

mcleodnine 02-15-2003 08:02 PM

Allrighty then - I don't have a qmial to poke at tonight, but I don't think there should be a tcpserver listening on that port. Have a look at your /etc/inetd.conf (may also be xinetd.conf) and make doulby sure that you have the smtp line commented out. Then kill -HUP the inetd process to reload it and see if the tcpserver still appears.

zuessh 02-15-2003 08:45 PM

yes the smtp was commented out. I believe, from the script below from the howto http://web.infoave.net/~dsill/lwq.ht...llation-issues
the tcpserver is part of it. The script is below.

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`
if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z "$LOCAL" ]; then
echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
echo /var/qmail/supervise/qmail-smtpd/run
exit 1
fi
exec /usr/local/bin/softlimit -m 2000000 \
/usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd 2>&1

Thanks


All times are GMT -5. The time now is 08:19 AM.