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 SUNOS
newaliases
newaliases(1M) System Administration Commands newaliases(1M)NAME
newaliases - rebuild the data base for the mail aliases file
SYNOPSIS
newaliases
DESCRIPTION
newaliases rebuilds the random access data base for the mail aliases file /etc/mail/aliases.
newaliases accepts all the flags that sendmail(1M) accepts. However, most of these flags have no effect, except for the -C option and three
of the Processing Options that can be set from a configuration file with the -o option:
-C /path/to/alt/config/file Use alternate configuration file.
-oAfile Specify possible alias files.
-oLn Set the default log level to n. Defaults to 9.
-on Validate the RHS of aliases when rebuilding the aliases(4) database.
newaliases runs in verbose mode (-v option) automatically.
EXAMPLES
Example 1: Running the newaliases Command
The following command runs newaliases on an alias file different from the /etc/mail/aliases default in sendmail(1M):
example% newaliases -oA/path/to/alternate/alias/file
EXIT STATUS
newaliases returns an exit status describing what it did. The codes are defined in /usr/include/sysexits.h.
EX_OK Successful completion on all addresses.
EX_NOUSER User name not recognized.
EX_UNAVAILABLE Catchall. Necessary resources were not available.
EX_SYNTAX Syntax error in address.
EX_SOFTWARE Internal software error, including bad arguments.
EX_OSERR Temporary operating system error, such as "cannot fork".
EX_NOHOST Host name not recognized.
EX_TEMPFAIL Message could not be sent immediately, but was queued.
FILES
/etc/aliases Symbolic link to /etc/mail/aliases
/etc/mail/aliases.pag
/etc/mail/aliases.dir ndbm files maintained by newaliases
/etc/mail/aliases.db Berkeley DataBase file maintained by newaliases
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsndmu |
+-----------------------------+-----------------------------+
SEE ALSO sendmail(1M), aliases(4), attributes(5)SunOS 5.10 14 Sep 2001 newaliases(1M)