Josh Marshall schrieb:
P.S. Just for interest's sake I wrote this really dodgy script. Put it
in inet for port 143. In Mozilla-thunderbird it gives no errors, just
nothing actually happens. Not sure what Outlook etc will do.
#!/bin/bash
echo "* OK imap maintenance ready"
sleep 2
echo "* CAPABILITY IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS SCAN
SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND
LOGIN-REFERRALS AUTH=LOGIN"
echo "* OK CAPABILITY completed"
sleep 2
echo "* BAD Maintenance mode"
That should be NO, not BAD, and you can improve it with ALERT:
* NO [ALERT] Maintenance mode, back in two minutes
BAD means that the client sent a syntactically bad command, NO means
that the server will not execute the client's command for some reason
("permission denied" or whatever). ALERT means that the client
can/should forward the message to the user. Some do, most don't.
Arnt
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail