LinuxQuestions.org
Register a domain and help support LQ
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 09-27-2004, 12:08 PM   #1
arnaldostones
LQ Newbie
 
Registered: Sep 2004
Location: BHZ/MG/Brasil
Distribution: Suse
Posts: 1

Rep: Reputation: 0
Unhappy qmail-smtpd-auth+requireauth validate any password


Hey all..

I compile a qmail with qmail-smtpd-auth + qmail-smtpd-requireatuh +qmail-scanner and clamav and i have sucess, but, when i set a outlook express for send mail, his ask for a password. ok, that's simple, and if i provide any password different of system user password, qmail send a message!!!!

I don't understanding it.
My /etc/tcp.smtp:

127.:allow,RELAYCLIENT=""
192.168.1.:allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue",REQUIREAUTH=""
:allow

My /var/qmail/supervise/qmail-smtpd/run file:
#!/bin/sh
QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue"
export QMAILQUEUE
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 30000000 \
/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 /bin/checkpassword /bin/true 2>&1
~

Thaks a lot for any information about this problems..
 
  


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
Need help with /var/qmail/supervise/qmail-smtpd/run coolamit78 Linux - Networking 4 02-02-2012 11:50 AM
Open Webmail / Mailfront / smtpfront-qmail / qmail-smtpd Apollo77 Linux - Software 2 01-20-2009 04:33 AM
[Postfix/SMTPD] Getting no AUTH from server; open relay superhausi Linux - Security 2 11-19-2008 06:37 PM
qmail-smtpd-auth-0.31.tar.gz didn't work Freewind Linux - General 0 01-24-2004 07:11 AM
qmail help: where is the run script for qmail-smtpd? IceNineJon Linux - Software 2 12-03-2002 08:19 PM


All times are GMT -5. The time now is 01:53 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration