LinuxQuestions.org
Review your favorite Linux distribution.
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 04-05-2006, 10:40 PM   #1
antidelldude
Member
 
Registered: Jan 2005
Distribution: Fedora Core 3/Ubuntu (debian)
Posts: 103

Rep: Reputation: 15
qmail delivery problems on FC4


Ok guys, I'm at my wits end. I looked everywhere and I just can't find the answer I need. I have an FC4 32-bit server fully updated as of 4-5-06. I have a Sendmail server running on it to handle all of my mail delivery. I wanted to switch to qmail. First thing I did was uninstall sendmail. Then followed the qmail instructions word for word. But yet when I set it to use (atleased I think i'm setting it to use) /var/spool/mail/ directory for a single file mailbox just like sendmail was doing, it decides to queue all of the e-mails and not deliver them. My logs are empty! No errors! When I stat it everything shows up running. I've downloaded and ran that inst_check script and It finds no problems. The entire qmail directory and all residing files are owned by qmaild and the group qmail. They are all (temporarily, untill i get this sorted out) set to full rights from everyone. Following this sentence will be a list of my config files, I hope someone can help because this is driving me nuts for the many hours I have wasted on this.

rc script:
Code:
#!/bin/sh

# Using splogger to send the log through syslog.
# Using binmail to deliver messages to /var/spool/mail/$USER by default.
# Using SVR4 binmail interface: /bin/mail -r

exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start \
'|preline -f /bin/mail -r "${SENDER:-MAILER-DAEMON}" -d "$USER"' \
splogger qmail
rcpthosts
Code:
localhost
growthconcepts.net
myleetpc.com
atxgaming.com
Supervise qmail-smtpd/run
Code:
#!/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

if [ ! -f /var/qmail/control/rcpthosts ]; then
    echo "No /var/qmail/control/rcpthosts!"
    echo "Refusing to start SMTP listener because it'll create an open relay"
    exit 1
fi

exec /usr/local/bin/softlimit -m 1024000000 \
    /usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
        -u "$QMAILDUID" -g "$NOFILESGID" 0 25 /var/qmail/bin/qmail-smtpd 2>&1

Supervise qmail-smtpd/log/run
Code:
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail/smtpd
Supervise qmail-send/run
Code:
#!/bin/sh
exec /var/qmail/rc
Supervise qmail-send/log/run
Code:
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail

Let me know if you guys notice a problem. Also if you need anymore config files just ask. THANKS IN ADVANCE!!! Damn this thing is driving me nuts....
 
  


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
qmail local delivery lag branden_burger Linux - Networking 0 01-20-2006 04:14 AM
qmail delivery time gandoura Linux - Software 1 05-18-2005 01:14 PM
How to transfer the Mobile Delivery data to qmail? netocool Linux - Software 0 12-10-2004 11:32 AM
mail delivery problem with qmail JoshNelson Linux - Games 2 03-06-2004 10:07 AM
qmail delivery question gizwag Linux - Software 0 02-05-2003 02:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:59 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration