02-03-2011
Either you have a typo missing the l (L) in mail, or you have most probably a different, similar sounding directory in /var where your mail files are being spooled in. For the second case, you have to use your wits.
I have no AIX 6 at hand, but in 5.3 and 7.1 it is /var/spool/mail.
This User Gave Thanks to zaxxon For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
I am trying to setup a client (on separate network) to send mail via our local SMTP server. I do have responce when I do
#telnet mailhost 25
therefore, I can establish connection between the 2.
however, when I try to send out testing mail, the following mail is returned in my... (1 Reply)
Discussion started by: stancwong
1 Replies
2. Shell Programming and Scripting
Hi,
I have a bunch of cron jobs which sends e-mails to many set of users. My scripts invoked by cron jobs use "rmail" for this. I have to make a test run of the cron jobs and I don't want the users to get mail during my test run. I cannot got to each script and modify rmail as I have lots of... (1 Reply)
Discussion started by: snvijaysankar
1 Replies
3. Shell Programming and Scripting
HI
i wrote schell script to send e-mail automatically.
it works only e-mail for our company.say for example,
company name is : abc,
example: joe@abc.com
every body is receiving with xxx@abc.com (abc.com)
if any body from outside of our company like
joe@xyz.com.(xyz.com) are not... (3 Replies)
Discussion started by: raosurya
3 Replies
4. AIX
Hi,
I am not able to send mails to the recipents.
I am using AIX 5.3 Version and using the below command.
cat test.log|mail -s "TestMail" user1@mail.com
Can you please tell me is there any configurations to be done or is the above command wrong?
Thanks & Regards
Sheshadri (3 Replies)
Discussion started by: arsheshadri
3 Replies
5. Shell Programming and Scripting
Could anyone tell me where the undelivered mails are stored in unix . i m using IBM AIX 3 version.
when i give command mail.it shows me all the mail .but where exactly the mails are stored esp undelivered ones (1 Reply)
Discussion started by: ali560045
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
how to put some receipients for mail in bcc and some receipients in to. (2 Replies)
Discussion started by: prasee
2 Replies
7. Linux
Ok, i am using backupPC for backup machines, backuppc can send mail to one person, while i cannot get how to configure many users which seems kind of headache, i want to set a group with a mail so when i send to it it sends to all group members, can i do that using sendmail? again i want a group... (0 Replies)
Discussion started by: XP_2600
0 Replies
8. SuSE
Guys
I have not much idea on suse or any other linux flavour.
This is what i have:
cat /etc/issue
Welcome to SUSE LINUX Enterprise Server 9 (i586) - Kernel \r (\l).
ps -ef |grep postfix |grep -v grep
root 18620 1 0 Mar17 ? 00:00:00 /usr/lib/postfix/master
postfix ... (0 Replies)
Discussion started by: ak835
0 Replies
9. UNIX for Advanced & Expert Users
Hi..Is it possible for unix to monitor outlook for a particualr period of time and trigger oracle upon receiving a mail with particular content...
Thanks in advance (1 Reply)
Discussion started by: varadharajan87
1 Replies
10. UNIX for Dummies Questions & Answers
Does anyone have any idea how to see only unread (new) e-mails in the Alpine client when using IMAP?
I finally have a fast IMAP client, but don't want to go over all the e-mails I've already read through other clients...
Thanks in advance for any hints.
---------- Post updated at 01:21 PM... (0 Replies)
Discussion started by: JamesR404
0 Replies
LEARN ABOUT SUSE
pam_mail
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(8)
AUTHOR
pam_mail was written by Andrew G. Morgan <morgan@kernel.org>.
Linux-PAM Manual 04/01/2010 PAM_MAIL(8)