10-31-2007
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hy all
One application has a script with this line :
/usr/bin/mailx -f..... - etc etc ....
is there any option to set the charset to various value while using mailx ??
thanks in advance
Olivier (3 Replies)
Discussion started by: Olivier
3 Replies
2. UNIX for Dummies Questions & Answers
Hi--
My question is why won't this line of code work in the UNIX script that I'm running....
echo "A MESSAGE ON $todaysdate." | ${SYSBIN}/mailx -s "TEST EMAIL" email address (1 Reply)
Discussion started by: greenguy5
1 Replies
3. Shell Programming and Scripting
I have this code below that works well. I also want to attach a logfile to the email. The first part of this code is the body of the email.
echo "The size of $dirname/$f1 size = $f1size, and $dirname/$f2 = $f2size'" | mailx -s "Error with file sizes on $HOST Server" xyz@company.com
... (1 Reply)
Discussion started by: ssmiths001
1 Replies
4. UNIX for Dummies Questions & Answers
Hello there:
I want to send an e-mail from AIX using mailx.
I'm executing the following script (-> witch doesn't work's):
-----------------------------------------------
#!/bin/sh
echo "<html><body><a href="http://www.myhomepage.com">Link</a></body></html>" >> LOG
sleep 5
!... (3 Replies)
Discussion started by: Felix2511
3 Replies
5. Shell Programming and Scripting
hello
in the middle of my sh script, I am using mailx like this:
mailx -s "Sybase Installation on $i" x@abc.com < /net/share/shared/install.output.$i
"i" stands for the remote server such as SIROE
I am expecting to receive an email with subject "Sybase Installation on SIROE" and... (2 Replies)
Discussion started by: melanie_pfefer
2 Replies
6. UNIX for Dummies Questions & Answers
HI,
Whenever I tried to send mail using mailx in unix (Solaris 5.9), from field is missing from email messages. In short, sender's email address is missing from message. Anybody has any idea why this is happening?
Thanks,
NS. (5 Replies)
Discussion started by: nshah
5 Replies
7. UNIX for Dummies Questions & Answers
I have some scripts that send out email alerts using mailx. the email looks like it is coming from the unix ID and server that is sending the email. I am wondering if there is a way through mailx to have the mail still look like it is coming from the unix id and server sending the message,... (3 Replies)
Discussion started by: jayjabour
3 Replies
8. Shell Programming and Scripting
I have a script that runs every night that is supposed to send a log file to a list of email addresses. When I run this command from the command prompt, it works successfully:
mailx -s "Filename to send" "`cat email.address`" < $outfile
The email.address file contains the list of email... (4 Replies)
Discussion started by: Drenhead
4 Replies
9. Shell Programming and Scripting
I am using mailx command. It works fine. And the receiver gets 'From' information as MySelf@Sent_server. This 'Sent_server' is picked up from /etc/hosts - third alias for loghost (dev.abc.ltd). The entry is as under
11.22.33.44 dev_sys dev_system dev.abc.ltd loghost
The issue is that is there... (4 Replies)
Discussion started by: Soham
4 Replies
10. Shell Programming and Scripting
Hi
I am trying to send an html file as an attachment from AIX server and recieve it using Outlook 2007 client. I tried every possible command, such as:
uuencode file file | mailx -s "subject" me@mydomain.com
uuencode -m file file | mailx -s "subject" me@mydomain.com
All of them give me:
... (6 Replies)
Discussion started by: nimo
6 Replies
comsat(8) System Manager's Manual comsat(8)
NAME
comsat - The biff server
SYNOPSIS
comsat
DESCRIPTION
The comsat server receives reports of incoming mail and notifies users who request this service. comsat is invoked by the inetd(8) daemon
when it receives messages on a datagram port associated with the biff(1) service specification in /etc/services(4). The datagram contains
a 1-line message of the form: user@mailbox-offset If the user specified is logged in and the associated terminal has the owner execute bit
turned on (with biff y), offset is used as a seek offset into the file named in mailbox. The first 7 lines or 560 characters of the mes-
sage are printed on the user's system. The message excludes mail header lines other than the From or Subject lines.
The comsat command always tries to convert incoming mail messages from the mail interchange codeset to the user's application codeset. It
determines the mail interchange code first by checking the mail message itself to see if it contains the required information. Otherwise,
the system-wide default mail interchange code in the file /usr/lib/mail-codesets will be used. If no such system file exists, no codeset
conversion will be performed.
The determination of the user's application code in each terminal session is by one of the following methods. The application codeset
defined in the user's Asian tty driver. The codeset name stored in the ~/.codesetdevname file, where devname is the name of the terminal
device for the current terminal session. You can obtain the value of devname by issuing the tty command. For example, if the tty command
returns /dev/ttys8, use ttys8 as the value for devname. The lang valued option defined in $HOME/.mailrc or /usr/share/lib/Mail.rc.
FILES
Specifies the command path. Includes information about logged-in users and their associated ttys. File containing mailx subcommands to
customize mailx for a specific user. File containing mailx subcommands to change mailx for all users on the system.
RELATED INFORMATION
Commands: biff(1), inetd(8), mailx(1), mh(1)
Files: services(4), inetd.conf(4), tty(7) delim off
comsat(8)