👤
Home Man
Search
Today's Posts
Register

BSD, Linux, and UNIX shell scripting — Post awk, bash, csh, ksh, perl, php, python, sed, sh, shell scripts, and other shell scripting languages questions here.

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

👤 Login to reply

 
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.
👤 Login to reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Using "mailx" command to read "to" and "cc" email addreses from input file asjaiswal UNIX for Dummies Questions & Answers 2 10-11-2014 09:32 PM
Bash script fails with "function: not found" error joemb Shell Programming and Scripting 4 10-11-2013 06:23 AM
"make" fails on the first .f90 file it encounters: not creating .o files crimso Programming 1 10-19-2011 11:49 PM
awk command to replace ";" with "|" and ""|" at diferent places in line of file shis100 Shell Programming and Scripting 7 03-16-2011 08:59 AM
The body of the Email -- mailx chinnu01 Shell Programming and Scripting 4 09-14-2010 10:30 AM
compile fails in linux ... "No rule to make target" ... HELP OneDreamCloser Programming 13 01-19-2010 03:06 PM
Samba (SMB) client fails: "Called name not present" big123456 Windows & DOS: Issues & Discussions 0 11-26-2008 12:49 PM
#!/bin/sh script fails at StringA | tr "[x]" "[y]" by_tg UNIX for Dummies Questions & Answers 3 02-22-2008 11:17 AM


All times are GMT -4. The time now is 08:04 PM.

Unix & Linux Forums Content Copyright©1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password