Hi, Can anyone pls. tell me how to access Active directory from solaris. I am looking at solution by which I can send mail notification from the logs generated by scripts, to the users on Exchange server. I am trying for a Perl-LDAP module , but don't realy know how to go for it (5 Replies)
Hi,
I use mailx in a shell script to mail a message to the users. i wanted to know if mailx stores the mail that it sends? for eg in microsoft outlook all mails sent get stored in the outbox. is there such a facility with mailx?
if not how i can do this so that for every mail sent, a backup... (6 Replies)
Hi , ?im a newbie using shell scripts.
Is there any way to write a script that will delete all mails from my mailbox using mail or mailx command
Thanks for your time
E. Festas (2 Replies)
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)
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)
Hi All,
Can anyone please provide the command for sending an mail with attachment using mailx command.
Thanks in Advance :)
Regards,
Siram. (3 Replies)
Hi,
when i run the mailx command it gives me the least of mails . suppose there are 1- 150 mails and i want to delete 30 to 145 mails . then what command i have to use here?
Thanks (6 Replies)
hi,
While using mailx command i am receiving 2 mails with the same content in both the mails.I am attaching a file to the mailx command.
In one mail file is coming as attachement and in other attachment is not there.
I am using mailx command in this way.
echo "Some content" |mailx... (0 Replies)
Hi, I have a question about mailx in Red Hat:
If I use 'mail userid@mydomain.com -- -f root@mydomain.com', the return mail address will be root@mydomain.com.
How can I make all mails sent from this system use root@mydomain.com as return address by default?
Thank you in advance!
nz (1 Reply)
Hi,
I am working on a HP-UX box. Mailx command running successfully but no mails received. Here is what I am doing
rocfm@comhp73 - mailx -s "subject" abc@gmail.com < abc.txt
Null message body; hope that's ok
rocfm@comhp73 - echo $?
0
rocfm@comhp73 - echo "something" | mailx -v -s... (1 Reply)
Discussion started by: Sunayna
1 Replies
LEARN ABOUT CENTOS
aliases.sendmail
ALIASES(5) File Formats Manual ALIASES(5)NAME
aliases - aliases file for sendmail
SYNOPSIS
aliases
DESCRIPTION
This file describes user ID aliases used by sendmail. The file resides in /etc and is formatted as a series of lines of the form
name: addr_1, addr_2, addr_3, . . .
The name is the name to alias, and the addr_n are the aliases for that name. addr_n can be another alias, a local username, a local file-
name, a command, an include file, or an external address.
Local Username
username
The username must be available via getpwnam(3).
Local Filename
/path/name
Messages are appended to the file specified by the full pathname (starting with a slash (/))
Command
|command
A command starts with a pipe symbol (|), it receives messages via standard input.
Include File
:include: /path/name
The aliases in pathname are added to the aliases for name.
E-Mail Address
user@domain
An e-mail address in RFC 822 format.
Lines beginning with white space are continuation lines. Another way to continue lines is by placing a backslash directly before a new-
line. Lines beginning with # are comments.
Aliasing occurs only on local names. Loops can not occur, since no message will be sent to any person more than once.
If an alias is found for name, sendmail then checks for an alias for owner-name. If it is found and the result of the lookup expands to a
single address, the envelope sender address of the message is rewritten to that address. If it is found and the result expands to more
than one address, the envelope sender address is changed to owner-name.
After aliasing has been done, local and valid recipients who have a ``.forward'' file in their home directory have messages forwarded to
the list of users defined in that file.
This is only the raw data file; the actual aliasing information is placed into a binary format in the file /etc/aliases.db using the pro-
gram newaliases(1). A newaliases command should be executed each time the aliases file is changed for the change to take effect.
SEE ALSO newaliases(1), dbm(3), dbopen(3), db_open(3), sendmail(8)
SENDMAIL Installation and Operation Guide.
SENDMAIL An Internetwork Mail Router.
BUGS
If you have compiled sendmail with DBM support instead of NEWDB, you may have encountered problems in dbm(3) restricting a single alias to
about 1000 bytes of information. You can get longer aliases by ``chaining''; that is, make the last name in the alias be a dummy name
which is a continuation alias.
HISTORY
The aliases file format appeared in 4.0BSD.
$Date: 2004/07/12 05:39:21 $ ALIASES(5)