Adam Cantwell wrote:
On 02/13/2008 11:53 AM, [EMAIL PROTECTED] wrote:
This isn't so much related to qmailtoaster as it is qmail itself and if
this is better suited for a different list please let me know and I'll be
happy to ask else where.

The company I work at has a regular qmail install (not a toaster) with
courier-imap, squirrelmail, qmail (1.05) vpopmail, etc.  It's quite
similar to a toaster setup but it doesn't seem to have the bells and
whistles that make qmail an efficient and effective MTA.

The problem I'm having with this qmail install is that it is accepting
email from null senders and it's filling up the queue with emails because
it can't bounce the emails as there is no from address.

qmailctl queue shows similar output to this:

13 Feb 2008 18:34:00 GMT  #224857  14730  <>
        remote  [EMAIL PROTECTED]
13 Feb 2008 18:40:55 GMT  #224858  3144  <>
        remote  [EMAIL PROTECTED]
13 Feb 2008 18:34:21 GMT  #224859  4433  <>
        remote  [EMAIL PROTECTED]
13 Feb 2008 18:35:38 GMT  #224862  1614  <>
        remote  [EMAIL PROTECTED]
13 Feb 2008 18:35:51 GMT  #224863  2829  <>
        remote  [EMAIL PROTECTED]
13 Feb 2008 18:38:47 GMT  #224864  2817  <>
        remote  [EMAIL PROTECTED]
13 Feb 2008 18:39:16 GMT  #224865  1665  <>
        remote  [EMAIL PROTECTED]
13 Feb 2008 18:44:38 GMT  #224866  2562  <>
        remote  [EMAIL PROTECTED]
13 Feb 2008 18:39:21 GMT  #224867  3119  <>
        remote  [EMAIL PROTECTED]
13 Feb 2008 18:39:17 GMT  #224868  1607  <>
        remote  [EMAIL PROTECTED]
13 Feb 2008 18:39:31 GMT  #224869  14776  <>
        remote  [EMAIL PROTECTED]

There is a rcpthosts file listing only the mailserver's domain and such so
it isn't being used as an open relay.  I noticed that my toaster had a
badmailfrom file with the following contained within it:

.*\ @.*
[EMAIL PROTECTED]
.*%.*

So I added this file in /var/qmail/control on the qmail instance and hoped
this would take care of the problem but it isn't.  Is there a certain
patch that I can install that will fix this problem or a certain file I
can add that will fix the problem I'm having?

Any advice or references to solutions would be great.

Cheers,

Jon


QMT uses CHKUSER, which will check to make sure (at SMTP time) that a user exists before accepting the message. It rejects at SMTP time if the recipient doesn't exist, thereby eliminating the problem of a queue full of messages to non-existent recipients. http://www.interazioni.it/opensource/chkuser/

There is also a patch called validrcptto which does this same type of thing, but is a bit more flexible IMO. http://qmail.jms1.net/patches/validrcptto.cdb.shtml

Implementing either one of these solutions will help you greatly.

Adam

---------------------------------------------------------------------
    QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Thanks for your response, I appreciate it!

J.

---------------------------------------------------------------------
    QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to