[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiline dot-qmails



On Tue, Sep 24, 2002 at 01:59:01PM +0200, Christian Bauer wrote:
> 
> Using the latest qmail-sql-1.03pgsql-0.22pre2_1 I get the following
> error with multiline dotqmail entries in the database:
> 
> userdb=# select * from dotqmails where login='cb';
>  login | virtual_host | extension |           dotqmail           
> -------+--------------+-----------+------------------------------
>  cb    | bluemars.de  |           | cb@xxxxxxx
> cb@xxxxxxx
> 
> (The 'dotqmail' field contains two forward-addresses and a newline)
> 
> Error:
> 
> Sep 24 13:54:18 newody qmail: 1032868458.399216 starting delivery 17:
> msg 2343172 to remote cb@xxxxxxxx
> Sep 24 13:54:18 newody qmail: 1032868458.403548 starting delivery 18:
> msg 2343172 to remote cb@xxxxxxx
> 
> (Note the underscore on the first destination address)
This happens if you also add a carriage return ('\r) character. It's 
standard behaviour of qmail and has nothing to do with this patch. Qmail
will consider the '\r' as the last character of the domain-name, which
isn't the intention. The solution is to use only a newline character as
separator.

Regards,
Michael.