On 02.10.2011, at 16:20, Wietse Venema wrote:

>> i invoked gnarwl by hand and the same thing happend. it sends an
>> email to <prvs> instead of whatever@whatever.
> 
> What happens when you send mail by hand to prvs=whatever@whatever?
> 
> $ echo this is a test | /usr/sbin/sendmail prvs=whatever@whatever
> 
>       Wietse

i tried the following: $ echo this is a test | /usr/sbin/sendmail 
prvs=1254408a08=simeon_...@stud.phzh.ch 

and that's the result:
Oct  2 18:54:03 ares postfix/pickup[17132]: 252D12C64B1: uid=0 from=<root>
Oct  2 18:54:03 ares postfix/cleanup[17716]: 252D12C64B1: 
message-id=<20111002165403.252d12c6...@ares.intra.example.com>
Oct  2 18:54:03 ares postfix/qmgr[14003]: 252D12C64B1: 
from=<r...@ares.intra.example.com>, size=311, nrcpt=1 (queue active)
Oct  2 18:54:04 ares postfix/smtpd[17721]: initializing the server-side TLS 
engine
Oct  2 18:54:04 ares postfix/smtpd[17721]: connect from localhost[127.0.0.1]
Oct  2 18:54:04 ares postfix/smtpd[17721]: 1795B2C64AC: 
client=localhost[127.0.0.1]
Oct  2 18:54:04 ares postfix/cleanup[17716]: 1795B2C64AC: 
message-id=<20111002165403.252d12c6...@ares.intra.example.com>
Oct  2 18:54:04 ares postfix/qmgr[14003]: 1795B2C64AC: 
from=<r...@ares.intra.example.com>, size=1012, nrcpt=1 (queue active)
Oct  2 18:54:04 ares postfix/smtpd[17721]: disconnect from localhost[127.0.0.1]
Oct  2 18:54:04 ares amavis[14768]: (14768-11) Passed CLEAN, 
<r...@ares.intra.example.com> -> <prvs=1254408a08=simeon_...@stud.phzh.ch>, 
Message-ID: <20111002165403.252d12c6...@ares.intra.example.com>, mail_id: 
tHQF5WA-fWx1, Hits: -0.102, size: 311, queued_as: 1795B2C64AC, 1033 ms
Oct  2 18:54:04 ares postfix/smtp[17717]: 252D12C64B1: 
to=<prvs=1254408a08=simeon_...@stud.phzh.ch>, relay=127.0.0.1[127.0.0.1]:10024, 
delay=1.3, delays=0.21/0.01/0.01/1, dsn=2.0.0, status=sent (250 2.0.0 Ok, 
id=14768-11, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 1795B2C64AC)
Oct  2 18:54:04 ares postfix/qmgr[14003]: 252D12C64B1: removed
Oct  2 18:54:05 ares postfix/smtp[17722]: 1795B2C64AC: 
to=<prvs=1254408a08=simeon_...@stud.phzh.ch>, 
relay=mail.messaging.microsoft.com[65.55.88.22]:25, delay=0.98, 
delays=0.14/0.03/0.38/0.43, dsn=2.6.0, status=sent (250 2.6.0 
<20111002165403.252d12c6...@ares.intra.example.com> [InternalId=25661879] 
Queued mail for delivery)
Oct  2 18:54:05 ares postfix/qmgr[14003]: 1795B2C64AC: removed

that's what i'm looking for. does this mean that GNARWL is doing something 
wrong when batv encoded addresses are used?

i asked patrick ahlbrecht, the author of GNARWL prior to posting this question 
here on the postfx-users mailinglist.

"[...] theres no way to teach the address parser about it (short of rewriting
the cleanAddress() function). Also, there is no way to configure gnarwl
to use a different header field. Easiest option is probably to patch
mailhandler.c to look for the X-Envelope-From instead of the FROM
header. In line 94, simply replace the (!strcasecmp("from",tmp[0]) with 
(!strcasecmp("x-envelope-from",tmp[0])" 

... i thought there has to be another option beside from patching sources of a 
debian stable package.

thanks for your help


Reply via email to