[smtpd/qpsmtpd] f9d84d: Add Postfix XCLIENT support to smtp-forward plugin

2014-02-15 Thread GitHub
paths: M plugins/queue/smtp-forward Log Message: --- Add Postfix XCLIENT support to smtp-forward plugin manually merged in PR #2 from cventers XCLIENT support allows Qpsmtpd to forward client information, such as the IP address and HELO information, to Postfix such that it can

Re: SMTP-Forward Plugin

2008-08-08 Thread Peter J. Holzer
On 2008-08-08 16:56:04 +0530, Shamly wrote: I need to forward all mails received to the qpsmtp daemon to another SMTP relay. In general this should work, but my requirement is to change the address from [EMAIL PROTECTED] to [EMAIL PROTECTED] as the mailhost on the other side accepts only

Re: [perl #38741] [PATCH] Handle multi-line responses from plugins (Re: smtp-forward plugin) (fwd)

2006-03-20 Thread Charlie Brady
On Mon, 20 Mar 2006, John Peacock via RT wrote: Committed. Can you think of a simple way to test this functionality? - Write a plugin which returns string1\nstring2. Check what is sent back to the client. - Write a plugin which returns (string1, string2). Check what is sent back to the

Re: [perl #38741] [PATCH] Handle multi-line responses from plugins(Re: smtp-forward plugin) (fwd)

2006-03-20 Thread John Peacock
Charlie Brady wrote: On Mon, 20 Mar 2006, John Peacock via RT wrote: Committed. Can you think of a simple way to test this functionality? - Write a plugin which returns string1\nstring2. Check what is sent back to the client. - Write a plugin which returns (string1, string2). Check what

Re: [perl #38741] [PATCH] Handle multi-line responses from plugins(Re: smtp-forward plugin) (fwd)

2006-03-20 Thread Charlie Brady
On Mon, 20 Mar 2006, John Peacock via RT wrote: Charlie Brady wrote: On Mon, 20 Mar 2006, John Peacock via RT wrote: Committed. Can you think of a simple way to test this functionality? - Write a plugin which returns string1\nstring2. Check what is sent back to the client. - Write a

Re: smtp-forward plugin

2006-02-10 Thread Charlie Brady
On Thu, 12 Jan 2006, Matt Sergeant wrote: On 12 Jan 2006, at 07:49, Allan Joergensen wrote: shouldn't the smtp-forward plugin issue the same errorcode to the connection server as it gets from the backend smtp server? ie. if the backend server says 550 address: Recipient address rejected

Re: smtp-forward plugin

2006-02-10 Thread Charlie Brady
On Fri, 10 Feb 2006, Charlie Brady wrote: A patch for this would be welcome - the smtp-forward plugin was rather hurriedly put together (by yours truly). Allan's replacement plugin is online here, and is awaiting comments and/or incorporation: http://nowhere.dk/~alj/qpsmtpd/smtp-forward

Re: smtp-forward plugin

2006-02-10 Thread Allan Joergensen
On 10-Feb-2006, Charlie Brady wrote: The string End data with has no special meaning in RFC 2821. Are we trying to work around a bug in Net::SMTP? Or a particular backend? It's Postfix thing: [SMTP session] data 354 End data with CRLF.CRLF ... For some reason $smtp-message contains both

Re: smtp-forward plugin

2006-02-10 Thread Charlie Brady
On Fri, 10 Feb 2006, Allan Joergensen wrote: On 10-Feb-2006, Charlie Brady wrote: The string End data with has no special meaning in RFC 2821. Are we trying to work around a bug in Net::SMTP? Or a particular backend? It's Postfix thing: [SMTP session] data 354 End data with CRLF.CRLF ...

Re: smtp-forward plugin

2006-02-10 Thread Allan Joergensen
On 10-Feb-2006, Charlie Brady wrote: Sorry, which final message from the server? And what version of Net::SMTP? The final reply from the smtp-server (where the message is accepted or rejected). My server has libnet-perl 1.19 (Ubuntu). -- Allan Joergensen They keep us down and they keep us

Re: smtp-forward plugin

2006-02-10 Thread Charlie Brady
On Fri, 10 Feb 2006, Allan Joergensen wrote: On 10-Feb-2006, Charlie Brady wrote: Sorry, which final message from the server? And what version of Net::SMTP? The final reply from the smtp-server (where the message is accepted or rejected). My server has libnet-perl 1.19 (Ubuntu). Ah, OK.

Re: smtp-forward plugin

2006-02-10 Thread Allan Joergensen
On 10-Feb-2006, Charlie Brady wrote: $smtp-data(); $rc = $smtp-code; #$message = $smtp-message; chomp($message); Do you remember why you commented it out? I have absolutely no idea :) -- Allan Joergensen Bother, said Doc Zimmerman, as he field dressed Neelix. smime.p7s

smtp-forward plugin

2006-01-12 Thread Allan Joergensen
Hi, shouldn't the smtp-forward plugin issue the same errorcode to the connection server as it gets from the backend smtp server? ie. if the backend server says 550 address: Recipient address rejected: User unknown qpsmtpd issues softdeny which means that the remote server will keep on trying

Re: smtp-forward plugin

2006-01-12 Thread Matt Sergeant
On 12 Jan 2006, at 07:49, Allan Joergensen wrote: Hi, shouldn't the smtp-forward plugin issue the same errorcode to the connection server as it gets from the backend smtp server? ie. if the backend server says 550 address: Recipient address rejected: User unknown qpsmtpd issues softdeny

Re: smtp-forward plugin

2006-01-12 Thread Allan Joergensen
Matt Sergeant wrote: shouldn't the smtp-forward plugin issue the same errorcode to the connection server as it gets from the backend smtp server? Yes, probably. A patch for this would be welcome - the smtp-forward plugin was rather hurriedly put together (by yours truly). This is my first