On 01/10/2014 02:11 PM, Kevin A. McGrail wrote:
On 1/10/2014 8:09 AM, Mark Chaney wrote:
On 2014-01-10 07:05, Kevin A. McGrail wrote:
On 1/10/2014 7:49 AM, Mark Chaney wrote:
Sweet, got it to work. Just had to add '-e example.com' to
/etc/default/spamass-milter (or whatever domain you want to be
default) and it properly passes the full username to spamd now. Ha.
I knew it had nothing to do with the query being wrong. =P
Excellent. Assuming you don't need more than one domain, that will
work.
No, thats just the default. It uses whatever the recipient address is
used. I have a bad feeling though that it might use the wrong settings
if multiple recipients exist for a single email.
That can get to be a complex question where you need to break up the
email and re-inject it separately for each recipient.
with Postfix use
default_destination_recipient_limit = 1
to split rcpts
default_destination_recipient_limit (default: 50)
The default maximal number of recipients per message delivery. This
is the default limit for delivery via the lmtp(8), pipe(8), smtp(8) and
virtual(8) delivery agents.
Setting this parameter to a value of 1 affects email deliveries as
follows:
It changes the meaning of the corresponding per-destination
concurrency limit, from concurrency of deliveries to the same domain
into concurrency of deliveries to the same recipient. Different
recipients are delivered in parallel, subject to the process limits
specified in master.cf.
It changes the meaning of the corresponding per-destination
rate delay, from the delay between deliveries to the same domain into
the delay between deliveries to the same recipient. Again, different
recipients are delivered in parallel, subject to the process limits
specified in master.cf.
It changes the meaning of other corresponding per-destination
settings in a similar manner, from settings for delivery to the same
domain into settings for delivery to the same recipient.
Use transport_destination_recipient_limit to specify a
transport-specific override, where transport is the master.cf name of
the message delivery transport.