Wesley van Synio:
> I still can't find the cause of the problem.
> 
> When I disable the sender_canonical_maps then SRS is not working,
> and when I then use i...@domain.com, then case folding is not happening for
> Return-Path.
> So the problem must be in the SRS rewriting or in the connection between
> PostSRSd and Postfix?
> 
> But I already asked the PostSRSd author and also checked the source code
> and it should work...
> Also, the log output mentions a correct rewrite without case folding.
> 
> How can I easily debug what Postfix sends and/or receives to/from PostSRSd
> so I can debug further?
> I'm thinking the problem must be located somewhere around there...?
> 
> Any other insights would be helpful!

Are you using the TCP map for sender_canonical envelope mapping?
In that case, can you log the input and output? Use a network
sniffer, for example, 

tcpdump -i lo -s 0 -w /tmp/foo port 12345

Run it for some time, then stop with ctrl-c.

View with "strings /tmp/foo" or more sophisticated tools.

        Wietse

Reply via email to