List Info

Thread: sieve bug?




sieve bug?
country flaguser name
Netherlands
2007-10-15 05:45:33
Hi,

I'm trying to create a vacation reply which sets the
"from"
of the reply explicitly. According to the sieve vacation
standard
this should be possible, however dbmail does not comply.

I've setup a testuser, which gets email for
"testelectronics-design.nl". The vacation reply
always has the from
header set to "testelectronics-design.nl"
inspite of the explicit
setting inside the script.

this is my script:
<script>
require "vacation";
vacation
:days 1
:subject "ahum"
:from "marcelectronics-design.nl"
"Blablabl";
</script>


The sieve vacation standard says:
4.3.  Subject and From Parameters

   <snip />

   A ":from" parameter may be used to specify an
alternate address to
   use in the From field of vacation messages.  The string
must specify
   a valid [RFC2822] mailbox-list.  Implementations SHOULD
check the
   syntax and generate an error when a syntactically invalid
":from"
   parameter is specified.  Implementations MAY also impose
restrictions
   on what addresses can specified in a ":from"
parameter; it is
   suggested that values which fail such a validity check
simply be
   ignored rather than causing the vacation action to fail.
5.4.  From

   Unless explicitly overridden with a :from parameter, the
From field
      SHOULD be set to the address of the owner of the Sieve
script.




-- 
regards,

Marc Dirix
_______________________________________________
DBmail mailing list
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

Re: sieve bug?
country flaguser name
Netherlands
2007-10-15 06:00:38
A quick look at the code, but it looks like a nobrainer
typo. You might want to
test the attached patch. But please also file a bug report.

Aaron?



Marc Dirix wrote:
> Hi,
> 
> I'm trying to create a vacation reply which sets the
"from"
> of the reply explicitly. According to the sieve
vacation standard
> this should be possible, however dbmail does not
comply.
> 
> I've setup a testuser, which gets email for
> "testelectronics-design.nl". The vacation
reply always has the from
> header set to "testelectronics-design.nl"
inspite of the explicit
> setting inside the script.
> 
> this is my script:
> <script>
> require "vacation";
> vacation
> :days 1
> :subject "ahum"
> :from "marcelectronics-design.nl"
> "Blablabl";
> </script>
> 
> 
> The sieve vacation standard says:
> 4.3.  Subject and From Parameters
> 
>    <snip />
> 
>    A ":from" parameter may be used to specify
an alternate address to
>    use in the From field of vacation messages.  The
string must specify
>    a valid [RFC2822] mailbox-list.  Implementations
SHOULD check the
>    syntax and generate an error when a syntactically
invalid ":from"
>    parameter is specified.  Implementations MAY also
impose restrictions
>    on what addresses can specified in a
":from" parameter; it is
>    suggested that values which fail such a validity
check simply be
>    ignored rather than causing the vacation action to
fail.
> 5.4.  From
> 
>    Unless explicitly overridden with a :from parameter,
the From field
>       SHOULD be set to the address of the owner of the
Sieve script.
> 
> 
> 
> 


-- 
 
____________________________________________________________
____
  Paul Stevens                                      paul at
nfg.nl
  NET FACILITIES GROUP                     GPG/PGP:
1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl

_______________________________________________
DBmail mailing list
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

  
Re: sieve bug?
country flaguser name
United States
2007-10-15 13:38:18
Nope, fromaddr is definitely correct.


On Mon, Oct 15, 2007, Paul J Stevens <paulnfg.nl> said:

> A quick look at the code, but it looks like a nobrainer
typo. You might
> want to test the attached patch. But please also file a
bug report.
> 
> Aaron?
> 
> 
> 
> Marc Dirix wrote:
>> Hi,
>> 
>> I'm trying to create a vacation reply which sets
the "from"
>> of the reply explicitly. According to the sieve
vacation standard
>> this should be possible, however dbmail does not
comply.
>> 
>> I've setup a testuser, which gets email for
>> "testelectronics-design.nl". The vacation
reply always has the from
>> header set to "testelectronics-design.nl"
inspite of the explicit
>> setting inside the script.
>> 
>> this is my script:
>> <script>
>> require "vacation";
>> vacation
>> :days 1
>> :subject "ahum"
>> :from "marcelectronics-design.nl"
>> "Blablabl";
>> </script>
>> 
>> 
>> The sieve vacation standard says:
>> 4.3.  Subject and From Parameters
>> 
>>    <snip />
>> 
>>    A ":from" parameter may be used to
specify an alternate address to
>>    use in the From field of vacation messages.  The
string must specify
>>    a valid [RFC2822] mailbox-list.  Implementations
SHOULD check the
>>    syntax and generate an error when a
syntactically invalid ":from"
>>    parameter is specified.  Implementations MAY
also impose restrictions
>>    on what addresses can specified in a
":from" parameter; it is
>>    suggested that values which fail such a validity
check simply be
>>    ignored rather than causing the vacation action
to fail.
>> 5.4.  From
>> 
>>    Unless explicitly overridden with a :from
parameter, the From field
>>       SHOULD be set to the address of the owner of
the Sieve script.
>> 
>> 
>> 
>> 
> 
> 
> -- 
>  
____________________________________________________________
____
>   Paul Stevens                                     
paul at nfg.nl
>   NET FACILITIES GROUP                     GPG/PGP:
1024D/11F8CD31
>   The Netherlands________________________________http://www.nfg.nl
> 

-- 



_______________________________________________
DBmail mailing list
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

Re: sieve bug?
country flaguser name
Netherlands
2007-10-15 14:06:41
Should this actually work or not?

Are there any restrictions in dbmail as to what adresses are
allowed  
to be set?

Marc
_______________________________________________
DBmail mailing list
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

Re: sieve bug?
country flaguser name
Netherlands
2007-10-15 14:11:25
libsieve2-1 from debian packages are ok, or do I need to
grab the  
source somewhere?

The debian package installs
"/usr/lib/libsieve1.0.5" which seems in  
contrast to version 2?

Marc
_______________________________________________
DBmail mailing list
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

Re: sieve bug?
country flaguser name
Netherlands
2007-10-15 14:51:36
Sorry te be re-replying again.

I upgraded libsieve (2.2.3 it seems to be in debian) to
2.2.6 and it  
is working now!

Marc
_______________________________________________
DBmail mailing list
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )