Skip to content
Nigel Metheringham edited this page Nov 25, 2012 · 3 revisions

FAQ_ / Dial-up and ISDN / Q1404


`Navigation(siblings)`_


Q1404

Question

I have queue_domains or queue_smtp_domains set, and use -qf to force delivery of waiting mail when I dial in. How can I arrange for any new messages that arrive while I'm connected to be delivered immediately?

Answer

Instead of queue_domains or queue_smtp_domains, use the queue_only_file option. This causes messages to be queued if a particular file exists. If you put the word .. raw:: html : “

smtp.. raw:: html : ”

before the file name, the queueing applies only to domains that are delivered by SMTP, thus not affecting local deliveries:

queue_only_file = smtp/etc/present/when/not/connected

Then, in the scripts which are run when you connect and disconnect, arrange to remove the file after connection, and create it just before disconnection.


`Navigation(siblings)`_


FAQ_ / Dial-up and ISDN / Q1404


CategoryFrequentlyAskedQuestions_

Clone this wiki locally