14 Oct
2013
14 Oct
'13
8:37 p.m.
<snip> >> otherwise I have to figure out how to get it in text form > Yes, you should. > > <snip>
Try something like:
#!/bin/sh ( dovecot -an && echo) | /bin/mail -s "Dovecot -an output" you@yourdomain.com
Put the above two lines in an executable file (chmod 777 or something like that and erase after you run it) and run the file. It should send the output of "dovecot -an" to the email address you@yourdomain.com with a subject line of "Dovecot -an output". You might have to use a different "/bin/mail" command depending on what your mail server is.
steve campbell