Hello,

  Try one or the other (or both) of these in main.cf:

dbmail_destination_recipient_limit = 1
smtp-amavis_destination_recipient_limit = 1

We have a very similar setup and use the latter (actually
because amavis looks up user preferences on a per-recipient
basis, but perchance it prevents the issue you see as well).
It might be worth pulling amavis out for testing.

Jn


---- Original Message ----
From: David Young <dbmail@dbmail.org>
To: "DBMail mailinglist" <dbmail@dbmail.org>
Subject: Re: [Dbmail] dbmail-smtp error
Sent: Thu, 2 Sep 2004 16:12:14 -0700

> ok, i seem to have figured out a way to reproduce the problem.  when i send
> email to 2 or more users on the same domain in the same email, I get the
> usage error message from dbmail-smtp.  For example, sending an email to
> [EMAIL PROTECTED] and [EMAIL PROTECTED] causes a "FAILED DELIVERY" message
> to be sent back to the sender with no email delivered to either of the user
> accounts.  However, if dbmail is hosting 10 domains and I send to 1
> user/domain for all 10 domains in the same email, the email will be
> delivered just fine to all 10 user accounts and I don't get any error
> messages.  Needless to say, this becomes a problem if I am handling a
> company mailing list where all recipients belong to the same domain.  Can
> someone please help or let me know what I'm doing wrong?
> 
> Thanks,
> David
> 
> ----- Original Message -----
> From: "Ilja Booij" <[EMAIL PROTECTED]>
> To: "DBMail mailinglist" <dbmail@dbmail.org>
> Sent: Wednesday, September 01, 2004 8:12 AM
> Subject: Re: [Dbmail] dbmail-smtp error
> 
> 
> > Hmm,
> >
> > that looks alright.. strange
> >
> > can you add -v to the command, like this:
> >
> > dbmail  unix    -       n       n       -       -       pipe -v
> >   flags= user=dbmail:dbmail argv=/usr/local/sbin/dbmail-smtp -d
> ${recipient}
> >
> >
> > perhaps you'll get some useful output. Please bear in mind that you'll
> > get lots of output!
> > Please also set DBMail's debug level to 5.
> >
> > Ilja
> >
> >
> > David Young wrote:
> >
> > >Ilja, this is my entire master.cf file.  The dbmail line is all the way
> at
> > >the bottom.
> > >
> > >
> > >smtp    inet    n       -       n       -       -       smtpd
> > >   -o content_filter=smtp-amavis:[127.0.0.1]:10024
> > >pickup  fifo    n       -       y       60      1       pickup
> > >cleanup unix    n       -       y       -       0       cleanup
> > >qmgr    fifo    n       -       y       300     1       nqmgr
> > >rewrite unix    -       -       y       -       -       trivial-rewrite
> > >bounce  unix    -       -       y       -       0       bounce
> > >defer   unix    -       -       y       -       0       bounce
> > >flush   unix    n       -       y       1000?   0       flush
> > >smtp    unix    -       -       y       -       -       smtp
> > >showq   unix    n       -       y       -       -       showq
> > >error   unix    -       -       y       -       -       error
> > >local     unix  -       n       n       -       -       local
> > >virtual unix    -       n       y       -       -       virtual
> > >lmtp    unix    -       -       y       -       -       lmtp
> > >smtp-amavis unix -      -       n       -       5       smtp
> > >   -o smtp_data_done_timeout=1200
> > >   -o disable_dns_lookups=yes
> > >127.0.0.1:10025 inet n  -       n       -       -       smtpd
> > >   -o local_recipient_maps=
> > >   -o smtpd_restriction_classes=
> > >   -o smtpd_helo_restrictions=
> > >   -o smtpd_sender_restrictions=
> > >   -o smtpd_recipient_restrictions=permit_mynetworks,reject
> > >   -o strict_rfc831_envelopes=yes
> > >uucp      unix  -       n       n       -       -       pipe
> > >  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender -
> $nexthop!rmail.postfix
> > >($recipient)
> > >ifmail    unix  -       n       n       -       -       pipe
> > >  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
> > >bsmtp     unix  -       n       n       -       -       pipe
> > >  flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop
> > >$recipient
> > >dbmail  unix    -       n       n       -       -       pipe
> > >  flags= user=dbmail:dbmail argv=/usr/local/sbin/dbmail-smtp -d
> ${recipient}
> > >
> > >
> > >----- Original Message -----
> > >From: "Ilja Booij" <[EMAIL PROTECTED]>
> > >To: "DBMail mailinglist" <dbmail@dbmail.org>
> > >Sent: Wednesday, September 01, 2004 7:27 AM
> > >Subject: Re: [Dbmail] dbmail-smtp error
> > >
> > >
> > >
> > >
> > >>There's probably an error in your dbmail-smtp command. Please show us
> > >>your entry for dbmail-smtp in master.cf (in the postfix config)
> > >>
> > >>Ilja
> > >>
> > >>David Young wrote:
> > >>
> > >>
> > >>
> > >>>Does anyone know why I'm getting this error?  This is from the maillog
> > >>>
> > >>>
> > >and I don't know how to go about tracing the problem.  I just know I get
> a
> > >lot of these every day.  Is there a way for me to make postifx/pipe spit
> out
> > >the exact command it's sending to dbmail-smtp so I can figure out what's
> > >wrong with the syntax?  By the way, I'm running
> > >Postfix->amavis->spamassassin->postfix->dbmail I believe.
> > >
> > >
> > >>>Thanks,
> > >>>David
> > >>>
> > >>>
> > >>>Aug 29 04:43:35 trinity postfix/pipe[19867]: C3B60D00F:
> > >>>
> > >>>
> > >to=<[EMAIL PROTECTED]>, relay=dbmail, delay=1, status=bounced (command
> line
> > >usage error. Command output:  *** DBMAIL: dbmail-smtp version $Revision:
> > >1.46 $ (c) 1999-2003 IC&S, The Netherlands  Usage:
> > >/usr/local/sbin/dbmail-smtp -n [headerfield]   for normal deliveries
> > >(default: "deliver-to")        /usr/local/sbin/dbmail-smtp -m
> "mailbox" -u
> > >[username] for delivery to mailbox (name)
> > >       /usr/local/sbin/dbmail-smtp -d [addresses]  for delivery without
> > >using scanner        /usr/local/sbin/dbmail-smtp -u [usernames]  for
> direct
> > >delivery to users  )
> > >
> > >
> > >>>
> >
> >>>------------------------------------------------------------------------
> > >>>
> > >>>_______________________________________________
> > >>>Dbmail mailing list
> > >>>Dbmail@dbmail.org
> > >>>https://mailman.fastxs.nl/mailman/listinfo/dbmail
> > >>>
> > >>>
> > >>>
> > >>>
> > >>--
> > >>Ilja Booij
> > >>IC&S B.V.
> > >>
> > >>Stadhouderslaan 57
> > >>3583 JD  Utrecht
> > >>www.ic-s.nl
> > >>
> > >>T algemeen: 030 6355730
> > >>T direct: 030 6355739
> > >>F: 030 6355731
> > >>E: [EMAIL PROTECTED]
> > >>
> > >>_______________________________________________
> > >>Dbmail mailing list
> > >>Dbmail@dbmail.org
> > >>https://mailman.fastxs.nl/mailman/listinfo/dbmail
> > >>
> > >>
> > >>
> > >
> > >_______________________________________________
> > >Dbmail mailing list
> > >Dbmail@dbmail.org
> > >https://mailman.fastxs.nl/mailman/listinfo/dbmail
> > >
> > >
> >
> >
> > --
> > Ilja Booij
> > IC&S B.V.
> >
> > Stadhouderslaan 57
> > 3583 JD  Utrecht
> > www.ic-s.nl
> >
> > T algemeen: 030 6355730
> > T direct: 030 6355739
> > F: 030 6355731
> > E: [EMAIL PROTECTED]
> >
> > _______________________________________________
> > Dbmail mailing list
> > Dbmail@dbmail.org
> > https://mailman.fastxs.nl/mailman/listinfo/dbmail
> >
> 
> _______________________________________________
> Dbmail mailing list
> Dbmail@dbmail.org
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
> 
-- End Original Message --


--
Jesse Norell

[EMAIL PROTECTED] is not my email address;
change "administrator" to my first name.
--

Reply via email to