NAME

zcmailaccount - Manages ZConf::Mail accounts.

SYNOPSIS

zcmailaccount -a <account> -A add [-f <file>] [-s <set>] [-z <ZConf config>]

zcmailaccount -a <account> -A edit [-f <file>] [-s <set>] [-z <ZConf config>]

zcmailaccount -A list [-s <set>] [-z <ZConf config>]

zcmailaccount -a <account> -A remove [-s <set>] [-z <ZConf config>]

zcmailaccount -a <account> -A show

zcmailaccount -a <account> -A template [-s <set>] [-z <ZConf config>]

DESCRIPTION

This allows easy managing for ZC::Mail accounts.

It uses a INI formated file for editing, adding, or showing accounts.

SWITCHES

-a

This is the account to work on.

-A

The action to perform.

-f

The file to use, instead of invoking $ENV{EDITOR}.

-s

The ZConf set to use.

-z

The ZConf config to use.

Actions

add

This adds a new account.

It will invoke $ENV{EDITOR} for editing a create INI file that will provide description etc for the account.

The -f arguement may be used to provide a INI file for it, instead of invoking a editor.

edit

This edits a existing account.

It will invoke $ENV{EDITOR} for editing a create INI file that will provide description etc for the account.

The -f arguement may be used to provide a INI file for it, instead of invoking a editor.

list

This lists the various accounts.

remove

This removes a specified account.

show

This dumps a account to a INI file, with descriptions.

template

This creates a for a account, but does not file it out, like with show.

ACCOUNT NAMING

All accounts are in the formats as of below.

$type/$name

The name may not have a "/" in it.

The supported types are as below.

exec
imap
pop3
smtp

For more information, see ZConf::Mail.

EXIT CODES

Sucess means a exit code of zero.

Any thing else indicates an error.

254 means it something with in this script. Any thing else is the ZConf::Mail error code.

AUTHOR

Copyright (c) 2011, Zame C. Bowers-Hadley <vvelox@vvelox.net>

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice,
 this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
 notice, this list of conditions and the following disclaimer in the
 documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE xFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS` OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

SCRIPT CATEGORIES

Desktop Mail

OSNAMES

any

README

zcgetmail - Fetches mail for a ZConf::Mail account.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 842:

=cut found outside a pod block. Skipping to next block.