putmail-queue(1) User Manuals putmail-queue(1) NAME putmail_enqueue.py - Inserts messages into message queue putmail_dequeue.py - Calls putmail.py for each enqueued message SYNTAX putmail_enqueue.py [arguments] putmail_dequeue.py DESCRIPTION These two programs provide a queuing system for putmail.py. The rest of this manual page supposes you know what putmail.py is and that you are familiarized with it, just like a regular user. See putmail.py(1). A queuing system can be used if you want to compose one or several e-mail messages in a row but you will be unable to send them inmedi- atelly. Or maybe your connection is slow and you prefer composing all the messages first and send them all together later. Usage is very simple. putmail_enqueue.py is supposed to receive the same program arguments as putmail.py and read the e-mail message from standard input, like putmail.py does. It is the program you should use in the same place you used the normal putmail.py program. On a side note, it will not check arguments or message correctness. All messages are saved to the following directory: $HOME/.putmail/queue/ The program will not create the directory, so you must create it first. That is important. Make sure you have read and write access to that directory. As e-mail messages are going to be saved in there, you may want to restrict access to that directory for security or privacy rea- sons. Later, once you have some messages in the mail queue, call put- mail_dequeue.py. The program does not receive any arguments and will, in fact, ignore them. It will iterate through each e-mail message and try to send each one with putmail.py, so putmail.py should be in your PATH. After each successful delivery, it will try to remove the e-mail message from the queue. The program will print what it is doing and the result of each operation for each message. Lines begin with the message file name between brackets. Should putmail.py fail delivering the mes- sage or any other problem encountered, it will be printed on screen. The last three lines of output are a summary of how many messages were in the queue, how many were sent and how many were deleted. Under nor- mal circumstances, all three numbers should be the same. If they are not, check the rest of the output for problems encountered. OPTIONS putmail_enqueue.py should receive the same arguments as putmail.py, due to the fact that putmail_dequeue.py will use them when calling the for- mer later. putmail_dequeue.py ignores all arguments. FILES $HOME/.putmail/queue/ Queue directory. Make sure you have read and write access to this directory. ENVIRONMENT VARIABLES HOME Specifies the home directory for the invoking user. PATH putmail.py should be in your path. AUTHORS Ricardo Garcia: http://sourceforge.net/users/rg3/ SEE ALSO putmail.py(1) Ricardo Garcia Gonzalez 0.2 putmail-queue(1)