John,

I'm having some problems building dbmail-2.2.9 with your patch.

Some errors on my build:

debug.c: In function 'trace':
debug.c:109: warning: passing argument 1 of 'gethostname' from incompatible 
pointer type
server.c: In function 'server_daemonize':
server.c:233: warning: ignoring return value of 'chdir', declared with 
attribute warn_unused_result
serverchild.c: In function 'active_child_sig_handler':
serverchild.c:89: warning: ignoring return value of 'write', declared with 
attribute warn_unused_result
pool.c: In function 'scoreboard_state':
pool.c:634: warning: ignoring return value of 'ftruncate', declared with 
attribute warn_unused_result
pipe.c: In function 'send_sieve_notification':
pipe.c:391: error: 'DEFAULT_SIEVE_NOTIFY_SUBJECT' undeclared (first use in this 
function)
pipe.c:391: error: (Each undeclared identifier is reported only once
pipe.c:391: error: for each function it appears in.)
pipe.c:428: warning: passing argument 1 of 'g_free' discards qualifiers from 
pointer target type
make[2]: *** [libdbmail_la-pipe.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.26071 (%build)
    Bad exit status from /var/tmp/rpm-tmp.26071 (%build)

Hope you can fix this.

Sjoerd


>
> I made an updated patch to dbmail for sieve notify, which adds some
> configuration variables to dbmail.conf
>
> # Defaults to "NEW MAIL NOTIFICATION"
> #
> #SIEVE_NOTIFY_SUBJECT        =
>
> #
> # Sender address for sieve notifications. Can be one of: fixed script
> recipient
> # Defaults to recipient.
> # If fixed, sieve notification will be from SIEVE_NOTIFY_SENDER,
> fallback to recipient
> # If script, sieve notifications are from the address specified in the
> script, fallback to recipient
> # If recipient, sieve notifications are from the Delivered-to header or
> envelope recipient address of the email
> #
> #SIEVE_NOTIFY_SENDER_TYPE        = recipient
>
> #
> # Defaults to undefined
> #
> #SIEVE_NOTIFY_SENDER        =
>
>
> Additionally to this, the revised patch will also subsitute some
> sieve script variables which were working with cyrus ($from$,
> $env-from$, $subject$).For forward compatibility it also substitutes the
> new formats with curly brackets too (e.g. ${subject}). Maybe in the end
> these substitutions will end up in libsieve and can be removed from dbmail?
>
> John
>


_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev

Reply via email to