Re: postfix filter and CR LF.CR LF - New Issue

2009-03-09 Thread Jordi Moles Blanco
En/na Jordi Moles Blanco ha escrit: En/na Magnus Bäck ha escrit: On Thu, March 5, 2009 10:13 am, Jordi Moles Blanco said: En/na martijn.list ha escrit: You are probably forgetting to convert the single dot (.) to dot-dot (..) See RFC 2821 section 4.5.2 Transparency thanks

postfix filter and CR LF.CR LF

2009-03-05 Thread Jordi Moles Blanco
Hello everyone, I'm writing this message to ask for advice on a filter i'm writing. The thing is that I've got a server running postfix in which i already have a postfix filter written in Perl. When i have to reinject the message into postfix, i do it with the SMTP class from Perl, which

Re: postfix filter and CR LF.CR LF

2009-03-05 Thread Jordi Moles Blanco
En/na martijn.list ha escrit: However, i have to write a new one in C/C++ and I'm getting some trouble with the dot indicating the end-of-message. The problem is that when i send the message back from the filter written in C/C++ anyone can perform a spam injection by sending messages with this

Re: postfix filter and CR LF.CR LF [solved]

2009-03-05 Thread Jordi Moles Blanco
En/na Magnus Bäck ha escrit: On Thu, March 5, 2009 10:13 am, Jordi Moles Blanco said: En/na martijn.list ha escrit: You are probably forgetting to convert the single dot (.) to dot-dot (..) See RFC 2821 section 4.5.2 Transparency thanks for your suggestion, I'll give

postfix-pipe complains: no such file or directory

2008-09-30 Thread Jordi Moles Blanco
Hi everyone, i was wondering if someone has experienced this problem i've been having for 2 weeks now. I'm running Freebsd 7.0 and postfix-2.5.1. The thing is that i've set up a filter written in C using postfix's pipe feature. The filter works great most of the times but every 2-3

Re: postfix-pipe complains: no such file or directory

2008-09-30 Thread Jordi Moles Blanco
En/na Wietse Venema ha escrit: Jordi Moles Blanco: En/na Wietse Venema ha escrit: Jordi Moles Blanco: Hi everyone, i was wondering if someone has experienced this problem i've been having for 2 weeks now. I'm running Freebsd 7.0 and postfix-2.5.1. The thing is that i've

Re: Command died with signal 10 using pipe and a C script

2008-08-12 Thread Jordi Moles Blanco
actually the issue that is driving me crazy. What i'm going to do next is rewrite the whole thing so that i can avoid this situations you pointed out, but it stills looks weird to me. Thanks for your time. En/na Wietse Venema ha escrit: Jordi Moles Blanco: the communication

Command died with signal 10 using pipe and a C script

2008-08-11 Thread Jordi Moles Blanco
hi, and thanks in advance for your help. I'm using a home-made script called quota_postfix through the pipe feature of postfix. here's how i call the C script from postfix: master.cf: # spamfilter spamfilter unix- n n

how can i debug a pipe postfix filter?

2008-08-07 Thread Jordi Moles Blanco
Hi, I've got this home-made script, written in C, on a Freebsd 7.0 server with different versions of postfix: 2.3,2,4 and 2.5 The problem is that, while most of the time it works like a charm, sometimes it crashes and bounces the message. It's not really a big deal, cause the sender gets