Mailx fails when ".com" is specified in email body

Tags
shell scripts

 
Thread Tools Search this Thread
# 1  
Old 05-02-2018
Mailx fails when ".com" is specified in email body

Hi


Below works and I do receive the email.

Code:
 
 echo "Unable to send file as attachment as File Size is too big i.e. more than 35 MB. Please download from user1@myserv0131:/web/admin/email/serv0131.mybank" | mailx -s "Attachment too BIG | download from the server" mohtashim@gmail.com

However, the below fails and I don't receive any errors or emails.

Code:
 
 echo "Unable to send file as attachment as File Size is too big i.e. more than 35 MB. Please download from user1@myserv0131:/web/admin/email/serv0131.mybank.com" | mailx -s "Attachment too BIG | download from the server" mohtashim@gmail.com

The only change is the ".com" string to the email body.

Quote:
uname -a
Linux myserv0131 3.10.0-693.17.1.el7.x86_64 #1 SMP Sun Jan 14 10:36:03 EST 2018 x86_64 x86_64 x86_64 GNU/Linux

Can you please help me with a fix / solution to this problem ?
# 2  
Old 05-03-2018
Either on the sending side, more likely on the receiving side, this mail is considered spam. As a first step, I would for testing use a destination address where you are sure that no spam filtering takes place, and see whether the mail arrives there.

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Using "mailx" command to read "to" and "cc" email addreses from input file asjaiswal UNIX for Dummies Questions & Answers 2 10-11-2014 10:32 PM
Bash script fails with "function: not found" error joemb Shell Programming and Scripting 4 10-11-2013 07:23 AM
"make" fails on the first .f90 file it encounters: not creating .o files crimso Programming 1 10-20-2011 12:49 AM
Python 2.5 / 2.2 import "errno" fails on AIX Server frieling Shell Programming and Scripting 0 08-03-2011 05:53 AM
awk command to replace ";" with "|" and ""|" at diferent places in line of file shis100 Shell Programming and Scripting 7 03-16-2011 09:59 AM
The body of the Email -- mailx chinnu01 Shell Programming and Scripting 4 09-14-2010 11:30 AM
"fuser -c -k /XXX/XXXXXXX" Fails and stuck on AIX 6100-05-01-1016 ggovotsis AIX 2 07-02-2010 07:38 AM
Expect "interact" fails when called from another script treesloth UNIX for Dummies Questions & Answers 2 02-11-2010 07:35 PM
compile fails in linux ... "No rule to make target" ... HELP OneDreamCloser Programming 13 01-19-2010 04:06 PM
Samba (SMB) client fails: "Called name not present" big123456 Windows & DOS: Issues & Discussions 0 11-26-2008 01:49 PM
#!/bin/sh script fails at StringA | tr "[x]" "[y]" by_tg UNIX for Dummies Questions & Answers 3 02-22-2008 12:17 PM
Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`" Lokesha UNIX for Dummies Questions & Answers 4 12-20-2007 01:52 AM
Shell Script fails with "can't connect to client" sseenu79 HP-UX 2 12-20-2006 10:47 AM