On 15 February 2010 21:25, Michele Carandente <carande...@gmail.com> wrote: > Hi to everybody. > I'm queuing all the emails to be sent. > So the option that is doing it is: default_transport = smtp > > I would like to have the option to send directly emails, without queue. > So I was thinking to write something like: > default_transport = mysql:/etc/postfix/default_transport.cf > where the database was giving me the right value to do it. > > In this case which will be the value of default transport to send > email without put in queue? > I tried with an empty value, but it's not working... it's look like > need to be commented out...
Unless I'm very much mistaken, this is not possible. Email does not work this way. Choice of transport selects routing for the next hop, but messages still need to be delivered by a protocol; that protocol is still typically SMTP. SMTP is a store-and-forward architecture. I would suggest you have a look at Postfix's architecture overview: http://www.postfix.org/OVERVIEW.html#delivering You will notice that all the delivery mechanisms on the right are attached to the queue manager. If you still have an issue, you should describe the original *problem* that you are trying to solve. There is no way to jump the queue by using transports, that only affects where mail will go as it leaves the queue.