I'm unable to send email from my Linux server despite SMTP port 25 Active and Listening.
# hostname
TechX
I checked the mail log ( /var/log/maillog ) and found the below error.
I'm sharing all the ".cf" files seen in the error log.
1.
# more /etc/postfix/main.cf
# postfix... (0 Replies)
I tried the below command
uuencode data.txt | mailx -s “Test Mail” “mrp@xyz.com”
But I get the below error
ksh: uuencode: not found.
Null Message body; hope that' ok
which clearly tell that uuencode utility is not found.
Is there any other way to send attachments with mail through... (7 Replies)
Whats the difference between mail and mailx?
I'm trying to troubleshoot a problem where I can send mail from server A with this `echo $MESSAGE | mail -s "$SUBJECT" -r $FROM $RECIPIENTS` command but executing the same command from server B throws me this error (Both servers are RHEL)
... (1 Reply)
Hi,
i am trying the below script for sending mail.
if
then
count=`cat $sfile|wc -l`
echo "There are $count abends.Please take care " > body.txt
(cat body.txt;uuencode $sfile $sfile) | mailx -s "Alert:there are failures" pandeesh@gmail.com
fi
In the mail, i am getting like:
... (4 Replies)
hi-I want to write a UNIX Script which will fetch records from Oracle database.I want to store these records in a file under fields like email address,name and the transaction_id and then fetch these records from the file and send the email to individual users with their transaction ID details. (4 Replies)
Hi All,
I am using mailx command in shell script to send mail with output files as attachment to my email id.
When my colleague is running the shell script (script code mentioned below), he is getting the mail but without attachment. Attachment is appeared as junk characters in mail... (4 Replies)
Is there any way to send attachments via "mail" command from the terminal?
im writing a simple bash script to send my backups to my email address (2 Replies)