]> git.rmz.io Git - dotfiles.git/blob - msmtp/msmtp-queue
vim: do not set pastetoggle in nvim
[dotfiles.git] / msmtp / msmtp-queue
1 #!/usr/bin/env bash
2
3 ##--------------------------------------------------------------
4 ##
5 ## msmtp-queue : wrapper script for msmtpq
6 ## to expose the management functions
7 ## for the msmtp queue
8 ## Copyright (C) 2011 Chris Gianniotis
9 ##
10 ## This program is free software: you can redistribute it and/or modify
11 ## it under the terms of the GNU General Public License as published by
12 ## the Free Software Foundation, either version 3 of the License, or, at
13 ## your option, any later version.
14 ##
15 ##--------------------------------------------------------------
16
17 ## msmtp-queue
18 ## is only a wrapper
19 ## it invokes the queue management functions of msmtpq
20 ## by calling it as msmtpq --q-mgmt
21 ##
22 ## all configuration and documentation is in the msmtpq script
23
24 ## note that for 'special circumstances'
25 ## e.g. embedded systems, etc.
26 ## where the msmtpq script itself is not on the path
27 ## change the below line to be
28 ## exec /path/to/msmtpq --q-mgmt
29
30 exec ~/.msmtp/msmtpq --q-mgmt "$1"