On 01/07/2011 10:05 PM, Paul J Stevens wrote:
> On 01/07/2011 09:48 PM, Reindl Harald wrote:
> 
>> dbmail is sending the reply only if the message goes to the physical
>> account, but not if a message will be sent to one of the both aliases
> 
> That sucks.
> 
> What do the relevant dbmail_aliases and dbmail_users rows look like? Or
> level=5 logs of a failed auto-reply delivery.

Harald,

Looks like a bug alright. But only because you are using forwards, not
aliases.

consider:

mysql> select * from dbmail_aliases;
+------------+---------------------+---------------------+-------------+
| alias_idnr | alias               | deliver_to          | client_idnr |
+------------+---------------------+---------------------+-------------+
|          1 | testus...@localhost | 4                   |           0 |
|          2 | testus...@localhost | testus...@localhost |           0 |
|          3 | testus...@localhost | testus...@localhost |           0 |
+------------+---------------------+---------------------+-------------+

here, the first two are aliases, while the third is a forward. As a work
around in your situation, if you want auto-reply to work for messages
sent to testuser2 and testuser3 you should assign them as aliases:

dbmail-users -c testus...@localhost \
   -T testus...@localhost,testus...@localhost
dbmail-users -c testus...@localhost \
   -s testus...@localhost,testus...@localhost

so you get:

+------------+---------------------+---------------------+-------------+
| alias_idnr | alias               | deliver_to          | client_idnr |
+------------+---------------------+---------------------+-------------+
|          1 | testus...@localhost | 4                   |           0 |
|          2 | testus...@localhost | 4                   |           0 |
|          3 | testus...@localhost | 4                   |           0 |
+------------+---------------------+---------------------+-------------+




-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to