maildir question


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers maildir question
# 1  
Old 10-12-2006
maildir question

Hi,

I had a server hosting my website which kept all of my mail in a folder of my home dir called "mail". In that folder was "cur", "new", "tmp"... Which as I understand is the maildir format.

I just recently switched to a new server, and am attempting to transfer all my mail over, however, on the new server-- there is a "Maildir" folder..

So question #1 is, why does one server call it "mail", and another "Maildir".. Where is it defined that mail goes to these folders, and does it matter what the name of the folder is?

Regardless-- I have copied over the contents of "mail" to the "maildir" folder, but I looked in my "new" folder, and find:

tons of files such as:
1160512586.H576706P3408.server4825.handsonwebhosting.com

handsonwebhosting was my previous host, so I am curious, will it be a problem for this file to be in my new webhost's maildir since it says .handsonwebhosting? or will it be readable and work fine???

I am a little lost about this stuff... Thank you in advance.

-patrick
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Import Maildir (Postfix) to zimbra

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

df question

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

bash dump raw email body txt from Maildir

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

Maildir quota in postfix.... urgent help

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

Where do I ask the question?

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

Script to delete mails from maildir

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

Maildir or mbox??

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

Question !

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
Login or Register to Ask a Question
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)