LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-11-2003, 07:31 PM   #1
zuessh
Member
 
Registered: Jun 2002
Location: USA
Distribution: Suse 8.0
Posts: 247

Rep: Reputation: 30
Unhappy 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
 
Old 02-12-2003, 02:55 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,386

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
look /in /var/spool/mail
 
Old 02-12-2003, 04:45 PM   #3
zuessh
Member
 
Registered: Jun 2002
Location: USA
Distribution: Suse 8.0
Posts: 247

Original Poster
Rep: Reputation: 30
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
 
Old 02-12-2003, 08:38 PM   #4
zuessh
Member
 
Registered: Jun 2002
Location: USA
Distribution: Suse 8.0
Posts: 247

Original Poster
Rep: Reputation: 30
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
 
Old 02-12-2003, 08:41 PM   #5
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
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.
 
Old 02-13-2003, 12:14 PM   #6
zuessh
Member
 
Registered: Jun 2002
Location: USA
Distribution: Suse 8.0
Posts: 247

Original Poster
Rep: Reputation: 30
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 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.
 
Old 02-13-2003, 05:18 PM   #7
zuessh
Member
 
Registered: Jun 2002
Location: USA
Distribution: Suse 8.0
Posts: 247

Original Poster
Rep: Reputation: 30


I know someone somewhere has the answer...
 
Old 02-13-2003, 09:04 PM   #8
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
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?
 
Old 02-14-2003, 10:00 AM   #9
zuessh
Member
 
Registered: Jun 2002
Location: USA
Distribution: Suse 8.0
Posts: 247

Original Poster
Rep: Reputation: 30
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
 
Old 02-15-2003, 11:13 AM   #10
zuessh
Member
 
Registered: Jun 2002
Location: USA
Distribution: Suse 8.0
Posts: 247

Original Poster
Rep: Reputation: 30
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.
 
Old 02-15-2003, 06:10 PM   #11
zuessh
Member
 
Registered: Jun 2002
Location: USA
Distribution: Suse 8.0
Posts: 247

Original Poster
Rep: Reputation: 30
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...
 
Old 02-15-2003, 06:28 PM   #12
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Which SMTP is up and listening? qmail's or another one?
 
Old 02-15-2003, 06:36 PM   #13
zuessh
Member
 
Registered: Jun 2002
Location: USA
Distribution: Suse 8.0
Posts: 247

Original Poster
Rep: Reputation: 30
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.
 
Old 02-15-2003, 08:02 PM   #14
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
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.
 
Old 02-15-2003, 08:45 PM   #15
zuessh
Member
 
Registered: Jun 2002
Location: USA
Distribution: Suse 8.0
Posts: 247

Original Poster
Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Firewalls and Iptables - trying to see a tree in the forest! Mathijs Linux - Networking 1 03-17-2005 12:11 PM
deleting old kernel trees fourleggedant Linux - Newbie 1 09-17-2004 08:42 PM
the none ending forest of dependencies ahmed_alzahrani Linux - Software 3 09-02-2004 03:42 AM
CVS trees in windows DAChristen29 Linux - Software 0 01-13-2004 09:12 AM
Deleting Whole Trees Odd_Bloke Linux - Newbie 1 08-29-2003 05:14 PM


All times are GMT -5. The time now is 01:41 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration