08-11-2012
Thanks for the reply raggmopp - just to clarify, what I want to do is setup a server on a virtual machine that will accept IMAP logins. I don't actually need to connect the server to the internet or make it handle any real mail - everything will take place inside my firewall.
All I want to do with it is to:
- IMAP log in to the server with one email client
- create folders on the server
- move/copy mail stored in that email client into the folders on the server
- log in with another client
- copy mail from the server into folders on the second email client
I am looking for the easiest to setup IMAP server, hopefully with some shortcut tips to get the minimal functionality I require working as easily as possible.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi,
i just finished installation solaris 8 on my unix machine. i want to setup a mail server on it ( i assume it has not had one yet).
so, what is my first step? where can i find out step by step configuration procedure on web ? so any expert is willing to teach me?
pls help me.
... (1 Reply)
Discussion started by: champion
1 Replies
2. UNIX for Dummies Questions & Answers
hi, Gurus,
I need some help with sending mail out from my UNIX server:
It is running Solaris 2.6 and the sendmail version is 8.8.
Output of :/usr/lib/sendmail -d0.1 -bt < /dev/null
Version 8.8.8+Sun
Compiled with: LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NDBM NETINET
... (5 Replies)
Discussion started by: b5fnpct
5 Replies
3. Linux
hi
i want to set up LInux mail server for intranet purpose. i used following document as reference Linux Mail Server
softwares used are :
Postfix # pre installed
Procmail # pre installed
Fetchmail # pre installed
SpamBayes
Mutt #... (1 Reply)
Discussion started by: zedex
1 Replies
4. Solaris
Hi ,
I am new to unix , i am using the mail and mailx command to send the mail .How come i will know the my mail command using which server as mail box..
Please help me ..
Thanks in advance (1 Reply)
Discussion started by: julirani
1 Replies
5. Shell Programming and Scripting
Hi All,
Is there any way Unix shell script can directly read a mail on a mail server
(for eg. abc@xyz.com) and save it as a text file in a unix directory ?
Thanks
PRKS
---------- Post updated at 08:37 AM ---------- Previous update was at 08:36 AM ----------
I am using ksh (1 Reply)
Discussion started by: PRKS
1 Replies
6. UNIX for Advanced & Expert Users
Hi,
I need to send email notifications from Unix/Linux box to users using mailx.
In these Unix/Linux boxes mail is not configured however we are having mail server configured in our LAN.
Could you please provide instructions to configure relay in these boxes so that we can relay our mails... (3 Replies)
Discussion started by: sourabhsharma
3 Replies
7. HP-UX
We have configured our mail unix server and can send out emails automatically from applications running on unix to different people in our company as well as outside our company. However there is an outside client who is not receiving these emails because the settings on their mail server cannot... (4 Replies)
Discussion started by: Tenyhwa
4 Replies
8. UNIX for Advanced & Expert Users
i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail.
actually i am trying to automate the high... (2 Replies)
Discussion started by: amitranjansahu
2 Replies
9. UNIX for Advanced & Expert Users
Hi all,
I want to send a mail for my business needs from outlook account to an unix server (HP-UX) but I don't send any mail. While I can send from the unix server to my outlook account, I can't send from outlook to unix.
How can I achieve this ? How can I send a mail from my outlook or other... (2 Replies)
Discussion started by: igelegin
2 Replies
10. Shell Programming and Scripting
Hello,
I am using centos-6.2
I have apache server,php5 on my system and I want to send mail using sendmail on my system.
when I try to send mail from shell that time mail is succesfully sent to respective address()
but when I try to send it through webbrowser I am not able to send it.... (1 Reply)
Discussion started by: Kiran ursal
1 Replies
LEARN ABOUT SUSE
cyrus::imap
IMAP(3) User Contributed Perl Documentation IMAP(3)
NAME
Cyrus::IMAP - Interface to Cyrus imclient library
SYNOPSIS
use Cyrus::IMAP;
my $client = Cyrus::IMAP->new('mailhost'[, $flags]);
$flags = Cyrus::IMAP::CONN_NONSYNCLITERAL;
($server, $mailbox) = Cyrus::IMAP->fromURL($url);
$url = Cyrus::IMAP->toURL($server, $mailbox);
$client->setflags($flags);
$client->clearflags(Cyrus::IMAP::CONN_INITIALRESPONSE);
$flags = $client->flags;
$server = $client->servername;
$client->authenticate;
$flags = Cyrus::IMAP::CALLBACK_NUMBERED || Cyrus::IMAP::CALLBACK_NOLITERAL;
$client->addcallback({-trigger => $str, -flags => $flags,
-callback => &cb, -rock => $var}, ...);
$client->send(&callback, &cbdata, $format, ...);
$client->processoneevent;
($result, $text) = $client->send(undef, undef, $format, ...);
($fd, $writepending) = $client->getselectinfo;
DESCRIPTION
The Cyrus::IMAP module provides an interface to the Cyrus imclient library. These are primarily useful for implementing cyradm operations
within a Perl script; there are easier ways to implement general client operations, although they may be more limited in terms of
authentication options when talking to a Cyrus imapd.
In the normal case, one will attach to a Cyrus server and authenticate using the best available method:
my $client = Cyrus::IMAP::new('imap');
$client->authenticate;
if (!$client->send('', '', 'CREATE %s', 'user.' . $username)) {
warn "createmailbox user.$username: $@";
}
In simple mode as used above, "send()" is invoked with "undef", 0, or '' for the callback and rock (callback data) arguments; it returns a
list of "($result, $text)" from the command. If invoked in scalar context, it returns $result and places $text in $@. In this mode, there
is no need to use "processoneevent()". If more control is desired, use the callback and rock arguments and invoke "processoneevent()"
regularly to receive results from the IMAP server. If still more control is needed, the "getselectinfo()" method returns a list containing
a file descriptor (not Perl filehandle) which can be passed to select(); if the second element of the list is true, you should include it
in the write mask as well as the read mask because the imclient library needs to perform queued output.
For more information, consult the Cyrus documentation.
NOTES
"send()" behaves as if the "Cyrus::IMAP::CONN_NONSYNCLITERAL" flag is always set. This is because it is a wrapper for the C version, which
cannot be made directly available from Perl, and synchronous literals require interaction with the IMAP server while parsing the format
string. This is planned to be fixed in the future.
The 'LOGIN' mechanism can be used to authenticate with a plaintext username and password. This is intended as a workaround for a bug in
early SASL implementations; use of Cyrus::IMAP with non-Cyrus servers is not recommended, primarily because there are easier ways to
implement IMAP client functionality in Perl. (However, if you need SASL support, "Cyrus::IMAP" is currently the only way to get it.)
The file descriptor returned by "getselectinfo()" should not be used for anything other than "select()". In particular, I/O on the file
descriptor will almost certainly cause more problems than whatever problem you think you are trying to solve.
The toURL and fromURL routines are to ease conversion between URLs and IMAP mailbox and server combinations, and are a simple frontend for
the libcyrus functions of the same name.
The imparse library routines are not implemented, because they are little more than a (failed) attempt to make parsing as simple in C as it
is in Perl.
This module exists primarily so we can integrate Cyrus administration into our Perl-based account management system, and secondarily so
that we can rewrite cyradm in a sensible language instead of Tcl. Usability for other purposes is not guaranteed.
AUTHORs
Brandon S. Allbery <allbery@ece.cmu.edu>, Rob Siemborski <rjs3+@andrew.cmu.edu>
SEE ALSO
Cyrus::IMAP::Admin perl(1), cyradm(1), imclient(3), imapd(8).
perl v5.12.1 2008-04-04 IMAP(3)