Sendemail Error - Authentication... failed


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Sendemail Error - Authentication... failed
# 1  
Old 10-09-2015
Sendemail Error - Authentication... failed

SCO Unix OpenServer v6.
We use the script below for sending mass emails with attachments.
Code:
sendemail -f $From_user -o message-file=/u/fg4/data/EmailDefaultBody.html -u $su
bj -s $MAIL_SRVR -xu $MAIL_USER -xp $MAIL_PSWD -a $emlname.pdf -t $MAILTO

MAIL_SVR=SMPTOUT.SECURESERVER.NET

Recently, we have been getting error message on SOME of the email documents:
Code:
EMAIL file name : 01003000A
Oct 09 11:25:33 mail sendemail[14958]: ERROR => ERROR => SMPTP-AUTH: Authentication to SMTPOUT.SECURESERVER.NET:25 failed.

Most documents go out with NO error. I have found no Spamhaus or blacklist entries in the mail logs.

Any leads on how we can resolve this is greatly appreciated.

Thanks,
jet47
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

User authentication failed while log in Solaris 8 client on Linux NIS server.

Based on the NIS migration tests I did and another question I posted earlier on. https://www.unix.com/solaris/272021-solaris-8-md5-encryption-support.html I tried to downgrade NIS linux encryption to DES to support solaris connection. So I modified /etc/pam.d/system-auth as below, password... (0 Replies)
Discussion started by: bestard
0 Replies

2. Shell Programming and Scripting

SendEmail and Variable

Hi everyone, I try to send an email with "sendemail", I created four variables for do cleaner but it doesn't work :( below : #!/bin/bash sender=$(X@x.com) recipient=$(x@x.com) subject=$(Files Copy) server=$(x.x.x.x) /usr/bin/sendemail -f $sender -t $recipient -u $subject -m blablabla... (2 Replies)
Discussion started by: Arnaudh78
2 Replies

3. Solaris

Rpcinfo: can't contact portmapper: RPC: Authentication error; why = Failed (unspecified error)

I have two servers with a fresh install of Solaris 11, and having problems when doing rpcinfo between them. There is no firewall involved, so everything should theoretically be getting through. Does anyone have any ideas? I did a lot of Google searches, and haven't found a working solution yet. ... (2 Replies)
Discussion started by: christr
2 Replies

4. Red Hat

Red Hat Cluster Luci Authentication Failed

Hello everyone, I'm setting up a cluster with 2 nodes using Red Hat enterprise 6.2 x86_64, 1 luci and 1 ricci for education purpose. Ricci is installed and already running and luci is installed and running but at the time of add and create the cluster through the web gui it give me a error... (1 Reply)
Discussion started by: typeav
1 Replies

5. Red Hat

Authentication Failed

Hi everyone ... ( Linux Cent OS ) i cant login as root user in my lab machine ... i did give correct root and root passwd ..but it showing Authentication Failed ... plz help me (4 Replies)
Discussion started by: coolboys
4 Replies

6. Red Hat

Authentication Failed in Linux centos

Hi everyone ... ( Linux Cent OS ) i cant login as root user in my lab machine ... i did give correct root and root passwd ..but it showing Authentication Failed ... plz help me (0 Replies)
Discussion started by: coolboys
0 Replies

7. Red Hat

Authentication Failed Dialog Box on Redhat 4.7

For some reason i cannot login using root or other accounts on my Linux system. When logging in at the main console it says "Authentication failed" in a dialog box with an OK button. The Linux system is Redhat 4.7. I've already checked /etc/pam.d/login, /etc/security/access.conf and ... (27 Replies)
Discussion started by: redhatuser2012
27 Replies

8. Solaris

Cygwin X Server error: xdmcp fatal error session failed session 23 failed for display

Hi, i got the following error when i tried to access the cygwin x server from a windows XP PC. "xdmcp fatal error session failed session 23 failed for display" Alternatively, when i tried to access the same Cygwin X Server from another windows XP PC which is on a different LAN... (3 Replies)
Discussion started by: HarishKumarM
3 Replies

9. Red Hat

Authentication failed !

Hey since this morning I(nonrrot user) am not able to log into my system with my username. I am using redhat linux kernel release 2.6.9-5.ELsmp. I aslo found the folowing output for chkconfig command: # chkconfig --list|grep ldap ldap 0: off 1: off 2: off 3: off 4: off 5: off... (5 Replies)
Discussion started by: ashok.g
5 Replies
Login or Register to Ask a Question
SendEmail(1)							   User Commands						      SendEmail(1)

NAME
SendEmail - Lightweight, command line SMTP email client SYNOPSIS
SendEmail -f ADDRESS [options] OPTIONS
-f ADDRESS from (sender) email address * At least one recipient required via -t, -cc, or -bcc * Message body required via -m, STDIN, or -o message-file=FILE Common: -t ADDRESS [ADDR ...] to email address(es) -u SUBJECT message subject -m MESSAGE message body -s SERVER[:PORT] smtp mail relay, default is localhost:25 Optional: -a FILE [FILE ...] file attachment(s) -cc ADDRESS [ADDR ...] cc email address(es) -bcc ADDRESS [ADDR ...] bcc email address(es) [32;1mParanormal:[m -xu USERNAME authentication user (for SMTP authentication) -xp PASSWORD authentication password (for SMTP authentication) -l LOGFILE log to the specified file -v verbosity, use multiple times for greater effect -q be quiet (no stdout output) -o NAME=VALUE see extended help topic "misc" for details Help: --help TOPIC The following extended help topics are available: addressing explain addressing and related options message explain message body input and related options misc explain -xu, -xp, and others networking explain -s, etc output explain logging and other output options REPORTING BUGS
Report bugs to <http://bugs.debian.org/sendemail> AUTHOR
sendemail was written by Brandon Zehm <caspian@dotconf.net> . This manual page was written by Brandon Zehm and improved by Alejandro Garrido Mota <garridomota@gmail.com>, for the Debian project (and may be used by others). sendEmail September 2010 SendEmail(1)