Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sieveshell(1) [debian man page]

SIEVESHELL(1)						User Contributed Perl Documentation					     SIEVESHELL(1)

NAME
sieveshell - remotely manipulate sieve scripts SYNOPSIS
sieveshell [--user=user] [--authname=authname] [--realm=realm] [--password=password] [--exec=script] [--execfile=file] server[:port] sieveshell --help DESCRIPTION
sieveshell allows users to manipulate their scripts on a remote server. It works via MANAGESIEVE, a work in progress. The following commands are recognized: list list scripts on server. put <filename> upload script to server. get <name> [<filename>] get script. if no filename display to stdout delete <name> delete script. activate <name> activate script. deactivate deactivate all scripts. OPTIONS
-u user, --user=user The authorization name to request; by default, derived from the authentication credentials. -a authname, --authname=authname The user to use for authentication (defaults to current user). -r realm, --realm=realm The realm to attempt authentication in. -p password, --password=password The password to use when authenticating to server. Note that this parameter can be seen in the process list. Use with caution! -e script, --exec=script Instead of working interactively, run commands from script, and exit when done. -f file, --execfile=file Instead of working interactively, run commands from file file and exit when done. REFERENCES
[MANAGESIEVE] Martin, T.; "A Protocol for Remotely Managing Sieve Scripts", draft-ietf-managesieve-03.txt, Mirapoint, Inc.; May 2001, work in progress. AUTHOR
Tim Martin <tmartin@mirapoint.com>, and the rest of the Cyrus team <cyrus-bugs@andrew.cmu.edu>. perl v5.14.2 2014-06-03 SIEVESHELL(1)

Check Out this Related Man Page

SIEVESHELL(1)						User Contributed Perl Documentation					     SIEVESHELL(1)

NAME
sieveshell - remotely manipulate sieve scripts SYNOPSIS
sieveshell [--user=user] [--authname=authname] [--realm=realm] [--exec=script] server[:port] sieveshell --help DESCRIPTION
sieveshell allows users to manipulate their scripts on a remote server. It works via MANAGESIEVE, a work in progress. The following commands are recognized: list list scripts on server. put <filename> upload script to server. get <name> [<filename>] get script. if no filename display to stdout delete <name> delete script. activate <name> activate script. deactivate deactivate all scripts. OPTIONS
-u user, --user=user The authorization name to request; by default, derived from the authentication credentials. -a authname, --authname=authname The user to use for authentication (defaults to current user). -r realm, --realm=realm The realm to attempt authentication in. -e script, --exec=script Instead of working interactively, run commands from script, and exit when done. REFERENCES
[MANAGESIEVE] Martin, T.; "A Protocol for Remotely Managing Sieve Scripts", draft-ietf-managesieve-03.txt, Mirapoint, Inc.; May 2001, work in progress. AUTHOR
Tim Martin <tmartin@mirapoint.com>, and the rest of the Cyrus team <cyrus-bugs@andrew.cmu.edu>. perl v5.10.0 2008-04-04 SIEVESHELL(1)
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

read a part of information from txt and put into the script

Hi, I have a name.txt which is stored: APPLE ORANGE RED BLUE GREEN and my script is: $name=`cat name.txt for file_number in `ls 1 /appl/CH_DATA/archive/CACHE/CDBACKUP$name*.archived however, my script cannot read name.txt and put into my scrip line, I would like the output is to... (18 Replies)
Discussion started by: happyv
18 Replies

2. Shell Programming and Scripting

delete spaces in the variable in unix script?

Hi All, I need your help.I want to know how to delete the spaces in a variable in unix scripting.Please give solution to this probelm... thanks ! :confused: (14 Replies)
Discussion started by: MARY76
14 Replies

3. Shell Programming and Scripting

Executing remotely the script

Hi All, I have a script to be executed in another machine. I connect to that machine from another server as a root ( this is the only configured access, as i cannot log in as a normal user). After that I have to switch to a normal user and that I can be able to executge that script. But all this... (12 Replies)
Discussion started by: elthox
12 Replies

4. Shell Programming and Scripting

search the largest number and duplicates string

Hi, My input file contain list of username, and it may have name with number as a suffix (if duplicated). Ex: mary john2 mike john3 john5 mary10 alexa So i want to check with a specific username (without suffix number) how many duplicated name, and what is the... (13 Replies)
Discussion started by: fongthai
13 Replies

5. Shell Programming and Scripting

Compare 2 list and delete certain names

Hi, I currently have a script that takes a list of names and compares it with another list and appends non-duplicate names. I want to modify my script such that it will look at a list of names and for every name preceded by the tag "<delete>" (without the quotes) it checks the other list for... (12 Replies)
Discussion started by: eltinator
12 Replies

6. Shell Programming and Scripting

why the below script is not working .,

why the below script is not working ., Can any one please help me out., for prevfile in $temp; do prevfile=$prevfile.`date +%D%H%M%S` mv $prevfile ../../commitments/olddata done Raja (14 Replies)
Discussion started by: konankir
14 Replies

7. Shell Programming and Scripting

"Need progress mechanism for copy process"

Hello Folks, I got an issue to be solved. I need to show the user a progress bar while executing an process using shell script Example: While updating firmware lets assume this will take 2 min to upgrade i need the shell script to show the progress bar as (0%) and at the end it should... (13 Replies)
Discussion started by: phanivarma
13 Replies

8. Shell Programming and Scripting

Logout script - delete a file

Good evening you scripting guru's! I have the following script to delete a file on logout of a Mac : find . –name com.apple.sidebarlists.plist –exec rm -f {} \; It works fine in terminal and when logging out. However, it takes forever to run the script at logout...A minute and a half. ... (12 Replies)
Discussion started by: AGGreenLinux
12 Replies

9. Windows & DOS: Issues & Discussions

A Windows password script

I am looking for a Windows password script. What I would like it to do is the following: 1.) I right click a folder &/or file and it has the option to "attach a password" in the context menu. (created by the script.) 2.) After attaching the password to the folder &/or file, it will prompt for... (12 Replies)
Discussion started by: bigbutt100
12 Replies

10. Shell Programming and Scripting

Syntax error near unexpected token `done'

Hi all, Here is a simple script that is working in one server and is giving a syntax error in other server. Can somebody help me ? #!/bin/bash # ftp files done < $file errors: I tried..with no success: if ; then (21 Replies)
Discussion started by: Lenora2009
21 Replies

11. Shell Programming and Scripting

Getting filename for Nth line pattern match

Hi, I have many scripts in particular directory. And few of the scripts have exit 0 in second line. Now i wanted to list out the scripts name which has the exit 0 in its second line I tried many options , but i can not get the filename along with the nth line pattern match :mad:. Can anyone... (14 Replies)
Discussion started by: puni
14 Replies

12. Shell Programming and Scripting

Encrypted script not working

I've encrypted a script in rot-13. When executed, I want the script to decrypt into a temporary file then run itself, and when it's exited then delete the temporary file. so at the moment I have this: #!/bin/sh FIFO=/tmp/__scriptname_$(date +%F)_$$ rm $FIFO >/dev/null 2>/dev/null mkfifo... (12 Replies)
Discussion started by: Trichopterus
12 Replies

13. Shell Programming and Scripting

Copy a file with backslash in the filename

Hi, I'm trying to make a script that copy a file that has a backslash in the filename. What I'm doing wrong? The flename is: 1300212744.H786972P30819.ns1.cybernet.com.br,S\=6313:2, My script ParteA="1300212970.H27173P31627.ns1.cybernet.com.br,S" ParteB=\\ ParteC="=" ParteZ=":2,"... (15 Replies)
Discussion started by: Ronaldo
15 Replies

14. Shell Programming and Scripting

Renaming by manipulating strings

hello does someone want to help me for this one ? i want to rename file by inversing parts of filenames separated by the delimiter "--" sometimes filenames have three strings : aabb4ccdd eeffgg -- 5566 -- aa78bb ccd eef gghhi.ext to aa78bb ccd eef gghhi --... (17 Replies)
Discussion started by: mc2z674gj
17 Replies

15. Shell Programming and Scripting

Alternate mondays to run the script

I need to run a script every other monday (alternate mondays) , Can anyone has logic to put into timer script. We are using below logic to run scripts every day daywk_is=$(date "+%u") if ] then 1=monday, 2=tuesday, 3=wed, 4=thr, 5=fri, 6=sat, 7=sun can anyone have idea on this (14 Replies)
Discussion started by: nani1984
14 Replies