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
Kevin Baker wrote:
Yes,
Continued below
How do you want to handle delivery to aliases. Say you
have the
following scenario:
2 dbmail servers (A and B)
Postfix routes a mail, [EMAIL PROTECTED], to server A. On
server A, the
aliases [EMAIL PROTECTED] expands to a local delivery (no
pro
There are a few ways to get 'command usage error' from dbmail-smtp:
1. use dbmail-smtp -t and use the -t option twice, like so:
dbmail-smtp -t deliver-to -t To
2. use dbmail-smtp -m twice, like so
dbmail-smtp -d [EMAIL PROTECTED] -m box1 -m box2
3. use dbmail-smtp without any arguments
4.
There are a few ways to get 'command usage error' from dbmail-smtp:
1. use dbmail-smtp -t and use the -t option twice, like so:
dbmail-smtp -t deliver-to -t To
2. use dbmail-smtp -m twice, like so
dbmail-smtp -d [EMAIL PROTECTED] -m box1 -m box2
3. use dbmail-smtp without any arguments
4.
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
Ilja, yes, I did do a postfix reload. since the mail coming in is being
passed through several filters before it is finally injected into dbmail, do
my other setups in the master.cf i sent a few days ago look ok?
- Original Message -
From: "Ilja Booij" <[EMAIL PROTECTED]>
To: "DBMail mai
Fixed!
Jesse, your solution(s) seem to have fixed the problem. Single email to
multiple users on the same domain gets delivered now and I no longer see the
usage errors. By the way, I tried with just the dbmail_destination by
itself as well as smtp-amavis_destination option by itself and both wo
Hello,
Great, glad it's working. If your amavis/spamassasin settings
are global for the entire userbase, you might get slightly better
performance by not using smtp-amavis_destination_recipient_limit
(ie. so it only has to process the same message once even with
multiple recipients), but if it