samir,
you mean, you want to reject mail where from: and to: are from (the same?) local domains, and the sender is not in permitted to relay?
wwell edi
Samir Noshy wrote:
-----Original Message-----
From: Remo Mattei [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 19, 2005 5:21 PM
To: vchkpw@inter7.com
Subject: Re: [vchkpw] (Urgent) qmail-smtpd Bug !!!!!!!!!
Dude this is normal behavior.
No I don't think so, It is a big security issue.
----- Original Message -----
From: "Samir Noshy" <[EMAIL PROTECTED]>
To: "Qmail List" <qmail@list.cr.yp.to>; "[EMAIL PROTECTED] Com" <vchkpw@inter7.com>
Sent: Tuesday, April 19, 2005 9:24 AM
Subject: [vchkpw] (Urgent) qmail-smtpd Bug !!!!!!!!!
other localHi Everybody,
I have a system consists of qmail 1.03 and vpopmail-5.4.9 and courier-imap-4.0.2 and SM and QS.
I think that there is a bug in the qmail-smtpd.
the bug that I can send mail as/from a local account to any
and send mailaccount Although I use SMTP auth provided by : http://www.fehcom.de/qmail/smtpauth.html.
smtpd and SMTP Auth. must prevent anyone to Impersonate
fromLocal account.
an Local Account other than his Local Account to any other
Imagine that I host the two domains: companyXX.com andcompanyYY.com for
Impersonate asexample.
So , an any person who did not belong to companyXX.com can
[EMAIL PROTECTED] and send a formal email - w/o authenticating of course -even any local
to [EMAIL PROTECTED] or [EMAIL PROTECTED]
I want to do that to prevent any other third party - or
account users- to Impersonate and send mail from an otherLocal Account to
nominated scriptany other Local account.
By the way; My /var/qmail/supervise/qmail-smtpd/run as follow :
#!/bin/sh
# when QMAILQUEUE is set, all mail will be sent to the
/usr/local/bin/tcpserver \QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" export QMAILQUEUE
QMAILDUID=`id -u vpopmail`
QMAILDGID=`id -g vchkpw`
exec /usr/local/bin/softlimit -m 15000000 \
mail server you-v -x /etc/tcp.smtp.cdb \
-c 20 -R -u "$QMAILDUID" -g "$QMAILDGID" 0 smtp \ /usr/local/bin/rblsmtpd -b
-C \
-r 'relays.ordb.org:Your message was rejected because the
use is configured to allow OPEN RELAY - More detailed information regardingthis error
this problem is available from http://www.ordb.org/lookup/?host=%IP%
<http://www.ordb.org/lookup/?host=%IP%> - Please forward
message was sentthrough to your email server support staff for easy resolution.' \
-r 'list.dsbl.org:Your message was rejected because the
from a server listed in DSBL - More information regardingthis problem is
available at http://dsbl.org/listing?%IP% http://dsbl.org/listing?%IP%> -the message was
Please forward this error to your email server support staff for
resolution.' \
-r 'sbl-xbl.spamhaus.org:Your message was rejected because
sent from a server listed in the Spamhaus RBL - Moreinformation regarding
this problems is available athttp://www.spamhaus.org/query/bl?ip=%IP%
<http://www.spamhaus.org/query/bl?ip=%IP%> - Pleaseforward this error to
your email server support staff for resolution.' \
/var/qmail/bin/qmail-smtpd \
/home/vpopmail/bin/vchkpw /bin/true 2>&1
Can anyone help me to work around this problem ????
Best Regards.
Samir Noshy