DSN support and relaying problem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

DSN support and relaying problem

Jevos, Peter-2
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:[hidden email] 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=<[hidden email]>, 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] < [hidden email] > -> <
[hidden email] >, Message-ID:
<[hidden email] >, Hits: 4.184, 5456 ms
May 14 15:23:11 mail postfix/smtp[4079]: 5135BA21C5: to=<
[hidden email] >, 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=<[hidden email] >
May 14 15:23:11 mail postfix/smtp[4088]: E026CA21F3: to=<
[hidden email] >, relay=xxxxxxx[xxxxxxx]:25, delay=0.25,
delays=0.1/0.06/0/0.09, dsn=2.6.0, status=sent (250 2.6.0
<[hidden email] > Queued mail for delivery)
May 14 15:23:11 mail postfix/bounce[4089]: 5135BA21C5: sender delivery
status notification: 1D095A21F4
May 14 15:23:11 mail postfix/qmgr[4008]: 5135BA21C5: removed
May 14 15:23:11 mail postfix/qmgr[4008]: E026CA21F3: removed
May 14 15:23:11 mail postfix/qmgr[4008]: 1D095A21F4: from=<>, size=2334,
nrcpt=1 (queue active)
May 14 15:23:11 mail postfix/smtp[4088]: 1D095A21F4: to=<
[hidden email] >, relay=sender.server[xxxxxxx]:25,
delay=0.67, delays=0.07/0/0.27/0.33, dsn=2.0.0, status=sent (250 Ok:
queued as 5A5A713C0D2)


How can i change it ? probably there is some parameter

Thx

pet


Reply | Threaded
Open this post in threaded view
|

RE: DSN support and relaying problem - SOLVED

Jevos, Peter-2
>
> 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:[hidden email] 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=<[hidden email]>, 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] < [hidden email] > -> <
> [hidden email] >, Message-ID:
> <[hidden email] >, Hits: 4.184, 5456 ms
> May 14 15:23:11 mail postfix/smtp[4079]: 5135BA21C5: to=<
> [hidden email] >, 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=<[hidden email] >
> May 14 15:23:11 mail postfix/smtp[4088]: E026CA21F3: to=<
> [hidden email] >, relay=xxxxxxx[xxxxxxx]:25, delay=0.25,
> delays=0.1/0.06/0/0.09, dsn=2.6.0, status=sent (250 2.6.0
> <[hidden email] > Queued mail for delivery)
> May 14 15:23:11 mail postfix/bounce[4089]: 5135BA21C5: sender delivery
> status notification: 1D095A21F4
> May 14 15:23:11 mail postfix/qmgr[4008]: 5135BA21C5: removed
> May 14 15:23:11 mail postfix/qmgr[4008]: E026CA21F3: removed
> May 14 15:23:11 mail postfix/qmgr[4008]: 1D095A21F4: from=<>,
> size=2334,
> nrcpt=1 (queue active)
> May 14 15:23:11 mail postfix/smtp[4088]: 1D095A21F4: to=<
> [hidden email] >, relay=sender.server[xxxxxxx]:25,
> delay=0.67, delays=0.07/0/0.27/0.33, dsn=2.0.0, status=sent (250 Ok:
> queued as 5A5A713C0D2)
>
>
> How can i change it ? probably there is some parameter
>
> Thx
>
> pet
>

Sorry for bothering

This is not postfix problem but amavis problem ( 10024 port ). It's
Net::SMTP cleint doesn't support DSN

I'll look at the amavis pages

Thx

peter

Reply | Threaded
Open this post in threaded view
|

Re: DSN support and relaying problem

Victor Duchovni
In reply to this post by Jevos, Peter-2
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:[hidden email] notify=success,failure,delay

This is not correct RFC 2821 Syntax. Try:

    rcpt to:<[hidden email]> 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:[hidden email]?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.