8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear,
I want to migrate mailbox from ISP Config (postfix) to zimbra. and have tried import maildir to zimbra with script :
#!/bin/bash
#
# Maildir to Zimbra import
# Drop in your user root and run as superuser.
#
ZMM="/opt/zimbra/bin/zmmailbox"
domain="psmti.org" # change to... (0 Replies)
Discussion started by: arsyam
0 Replies
2. AIX
Hi,
Can anyone please explain a little about df command. I have following question:
Following example is showing % used as 4 where as total free blocks are 15.46 out of 16.00 MB blocks.
df -m /test
Filesystem MBblocks Free %Used Iused %Iused ... (5 Replies)
Discussion started by: itsabhi9
5 Replies
3. Shell Programming and Scripting
I'm setting up a cronjob that will hopefully dump the contents of a email delivered to Maildir/new/ to /home/user/raw.txt (and then delete that email)
I could manually remove the bottom line of the raw email, then place the contents in the next line up in the /home/user/raw.txt, but it seems to... (5 Replies)
Discussion started by: unclecameron
5 Replies
4. Red Hat
Friends,
I am new to the postfix mail servers. My setup was configured with the below
Mail Server(MTA,MRA) Postfix, Courier-IMAP
Operating System Redhat Enterprise Linux 5.4 .
SPAM Protection/Content Filter IMSS 7.1
DNS,LDAP BIND,OPENLDAP
WebMail ... (0 Replies)
Discussion started by: kmvinay
0 Replies
5. Shell Programming and Scripting
Hello. I have a variable $num that has values 1-9.
I want to put in a statement saying
if $num != seq 1 9
then
echo "Invalid entry. Use numbers 1-9. "
Do I put it before, in, or after my "while" code?
while (( $var <= $num ))
do
f=(( $f * $var ))
let var++
done
Also i wrote... (3 Replies)
Discussion started by: Ccccc
3 Replies
6. UNIX for Dummies Questions & Answers
Hi buddies,
Anybody has any script to delete mails from Maildir/cur???
I mean is it possible to delete mails from Maildir/cur matching a particular subject like spam or fax???
Thanks in advance (1 Reply)
Discussion started by: squid04
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I was wondering if someone can tell me what the difference is exactly between maildir and mbox.
We have a few solaris 9 systems here and would like to get an imap server running on them. I have setup fetchmail so that it retrives remote pop3 mail into an account, and that mail is then... (3 Replies)
Discussion started by: sugarat
3 Replies
8. Programming
Hi a am writing a C Programe on Vi Editor (File Handelling),and i am compiling it using fcc but it not compiling ,Even Vi not saving my file.Tell me how can i do that.One More Thing I want to know that ,Is their any subsitute of conio.h. (3 Replies)
Discussion started by: at_renai2001
3 Replies
PAM_MAIL(8) Linux-PAM Manual PAM_MAIL(8)
NAME
pam_mail - Inform about available mail
SYNOPSIS
pam_mail.so [close] [debug] [dir=maildir] [empty] [hash=count] [noenv] [nopen] [quiet] [standard]
DESCRIPTION
The pam_mail PAM module provides the "you have new mail" service to the user. It can be plugged into any application that has credential or
session hooks. It gives a single message indicating the newness of any mail it finds in the user's mail folder. This module also sets the
PAM environment variable, MAIL, to the user's mail directory.
If the mail spool file (be it /var/mail/$USER or a pathname given with the dir= parameter) is a directory then pam_mail assumes it is in
the Maildir format.
OPTIONS
close
Indicate if the user has any mail also on logout.
debug
Print debug information.
dir=maildir
Look for the users' mail in an alternative location defined by maildir/<login>. The default location for mail is /var/mail/<login>.
Note, if the supplied maildir is prefixed by a '~', the directory is interpreted as indicating a file in the user's home directory.
empty
Also print message if user has no mail.
hash=count
Mail directory hash depth. For example, a hashcount of 2 would make the mail file be /var/spool/mail/u/s/user.
noenv
Do not set the MAIL environment variable.
nopen
Don't print any mail information on login. This flag is useful to get the MAIL environment variable set, but to not display any
information about it.
quiet
Only report when there is new mail.
standard
Old style "You have..." format which doesn't show the mail spool being used. This also implies "empty".
MODULE TYPES PROVIDED
The session and auth (on establishment and deletion of credentials) module types are provided.
RETURN VALUES
PAM_BUF_ERR
Memory buffer error.
PAM_SERVICE_ERR
Badly formed arguments.
PAM_SUCCESS
Success.
PAM_USER_UNKNOWN
User not known.
EXAMPLES
Add the following line to /etc/pam.d/login to indicate that the user has new mail when they login to the system.
session optional pam_mail.so standard
SEE ALSO
pam.conf(5), pam.d(5), pam(7)
AUTHOR
pam_mail was written by Andrew G. Morgan <morgan@kernel.org>.
Linux-PAM Manual 06/04/2011 PAM_MAIL(8)