hinote wrote:
> Hi there,
> 
> I cannot figure out the difference between those 2 options for dbmail-smtp -
> -u and -d.
> What's the reason for having both with the same behaviour? Just due to
> historical reasons?
> And what was their initial meaning if those options have had different
> meaning in the older versions of dbmail?

from the fine manual:

       -d addresses...
          Deliver messages to the recipients specified by addresses. This option
          is mostly used for delivery from an MTA. Seperate multiple addresses
          by spaces.

       -u usernames...
          Deliver messages straight to the given username. Seperate multiple
          usernames with spaces.

username != address.

dbmail-smtp -d is typically used in postfix/master.cf:

dbmail          unix    -       n       n       -       -       pipe flags=
  user=dbmail:dbmail argv=/usr/sbin/dbmail-smtp -d ${recipient}

which historically was the only way to plug dbmail into the mta.

So, if you want to deliver to a *user* use -u, but if you want to deliver to an
*address* and you don't know who that address belongs to, use -d.



-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev

Reply via email to