Deleting IMAP mail from shell script

Jules Agee julesa at pcf.com
Fri May 13 14:25:10 EDT 2005


Sun Advocate Webmaster wrote:
> Thank you for the information!
> 
> I tried the script, but authentication is failing. Cyrus is set up to do
> virtual domains based on userid. I set the server in the perl script to
> localhost, and the username "spam at domain.com" with the appropriate
> password. It fails. I verified with imtest that my credentials are correct.

"@" is a reserved character in Perl. You need to escape it with a
backslash, i.e. "spam\@domain.com"

-Jules
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list