Hm, unfortunately, I seem to be misunderstanding

VW> A similar result can be achieved with transport_maps
VW> 
VW> /etc/postfix/main.cf:
VW>     transport_maps = hash:/etc/postfix/transport
VW> 
VW> /etc/postfix/transport:
VW>     [email protected]   retry:450 migration in progress
EF> So that will queue the mail until the next delivery attempt after I remove 
EF> the entry?

WV> No, the SMTP daemon server will reject the message.

$ tail -1 /usr/pkg/etc/postfix/main.cf 
transport_maps = hash:/tmp/transport
$ cat /tmp/transport
[email protected]   retry:450 migration in progress
$ telnet localhost smtp
Trying ::1...
telnet: Connect to address ::1: : Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 XXXX.math.uni-bonn.de ESMTP Postfix
helo xxxx
250 XXXX.math.uni-bonn.de
mail from:<[email protected]>
250 2.1.0 Ok
rcpt to:<[email protected]>
250 2.1.5 Ok
data
354 End data with <CR><LF>.<CR><LF>
subject: foo

foo
.
250 2.0.0 Ok: queued as 0FD874DEB50
quit
221 2.0.0 Bye
Connection closed by foreign host.
ef@peene:/$ mailq
-Queue ID-  --Size-- ----Arrival Time---- -Sender/Recipient-------
0FD874DEB50     380 Tue Nov  4 10:00:54  [email protected]
                                                   (450 migration in progress)
                                         [email protected]

What am I doing wrong?
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to