Jevos, Peter | 14 May 15:37
Favicon

DSN support and relaying problem

Hi 

I'd like to ask you about dsn support.
My server works like gateway, relays mails to destination server.
When i tried to send an email with dsn features: 
.....
rcpt to:rcpt_address <at> domain.com notify=success,failure,delay
.....
i get the delivery answer from gateway and not from destination server.
And I'd say that this is wrong, cause gateway should just relay message.
( rfc - http://www.cse.ohio-state.edu/cgi-bin/rfc/rfc1891.html), cause
gateway cannot say if it was delivered succesfull, it does destination
server.

Logs: 
May 14 15:23:11 mail postfix/qmgr[4008]: E026CA21F3:
from=<sender_address <at> one.domain.com>, size=973, nrcpt=1 (queue active)
May 14 15:23:11 mail postfix/smtpd[4086]: disconnect from
localhost[127.0.0.1]
May 14 15:23:11 mail amavis[2477]: (02477-01) Passed CLEAN,
[212.67.79.185] [212.67.79.185] < sender_address <at> one.domain.com > -> <
rcpt_address <at> domain.com >, Message-ID:
<20080514132259.5135BA21C5 <at> mail.domain.com >, Hits: 4.184, 5456 ms
May 14 15:23:11 mail postfix/smtp[4079]: 5135BA21C5: to=<
rcpt_address <at> domain.com >, relay=127.0.0.1[127.0.0.1]:10024, delay=38,
delays=32/0.01/0.01/5.5, dsn=2.6.0, status=sent (250 2.6.0 Ok,
id=02477-01, from MTA: 250 2.0.0 Ok: queued as E026CA21F3)
May 14 15:23:11 mail postfix/cleanup[4078]: 1D095A21F4:
message-id=<20080514132311.1D095A21F4 <at> mail.domain.com >
May 14 15:23:11 mail postfix/smtp[4088]: E026CA21F3: to=<
(Continue reading)

Jevos, Peter | 14 May 17:00
Favicon

RE: DSN support and relaying problem - SOLVED

> 
> Hi
> 
> I'd like to ask you about dsn support.
> My server works like gateway, relays mails to destination server.
> When i tried to send an email with dsn features:
> .....
> rcpt to:rcpt_address <at> domain.com notify=success,failure,delay
> .....
> i get the delivery answer from gateway and not from destination
server.
> And I'd say that this is wrong, cause gateway should just relay
> message.
> ( rfc - http://www.cse.ohio-state.edu/cgi-bin/rfc/rfc1891.html), cause
> gateway cannot say if it was delivered succesfull, it does destination
> server.
> 
> Logs:
> May 14 15:23:11 mail postfix/qmgr[4008]: E026CA21F3:
> from=<sender_address <at> one.domain.com>, size=973, nrcpt=1 (queue active)
> May 14 15:23:11 mail postfix/smtpd[4086]: disconnect from
> localhost[127.0.0.1]
> May 14 15:23:11 mail amavis[2477]: (02477-01) Passed CLEAN,
> [212.67.79.185] [212.67.79.185] < sender_address <at> one.domain.com > -> <
> rcpt_address <at> domain.com >, Message-ID:
> <20080514132259.5135BA21C5 <at> mail.domain.com >, Hits: 4.184, 5456 ms
> May 14 15:23:11 mail postfix/smtp[4079]: 5135BA21C5: to=<
> rcpt_address <at> domain.com >, relay=127.0.0.1[127.0.0.1]:10024, delay=38,
> delays=32/0.01/0.01/5.5, dsn=2.6.0, status=sent (250 2.6.0 Ok,
> id=02477-01, from MTA: 250 2.0.0 Ok: queued as E026CA21F3)
(Continue reading)

Victor Duchovni | 14 May 17:54

Re: DSN support and relaying problem

On Wed, May 14, 2008 at 03:39:53PM +0200, Jevos, Peter wrote:

> My server works like gateway, relays mails to destination server.
> When i tried to send an email with dsn features: 
> .....
> rcpt to:rcpt_address <at> domain.com notify=success,failure,delay

This is not correct RFC 2821 Syntax. Try:

    rcpt to:<rcpt_address <at> domain.com> NOTIFY=success,failure,delay

> .....
> i get the delivery answer from gateway and not from destination server.
> And I'd say that this is wrong, cause gateway should just relay message.
> ( rfc - http://www.cse.ohio-state.edu/cgi-bin/rfc/rfc1891.html), cause
> gateway cannot say if it was delivered succesfull, it does destination
> server.

Virtual(5) rewriting constitutes successful delivery to the requested
address. Also, does AMAVIS include "DSN" in its EHLO response?

--

-- 
	Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomo <at> postfix.org?body=unsubscribe%20postfix-users>
(Continue reading)


Gmane