Sponsored Content
Full Discussion: sendmail not working
Top Forums Shell Programming and Scripting sendmail not working Post 302630709 by chittari on Thursday 26th of April 2012 07:22:19 AM
Old 04-26-2012
sendmail not working

Hello people - Need help, My sendmail email is not working, not sure what is wrong here.

I am trying with below command and response as below, Thanks for help in advance. Thanks
Code:
camprod@sgppsr000000060 PROD $ echo "hello"|sendmail -v abc@domain.com
abc@domain.com... Connecting to [127.0.0.1] via relay...
220 sgppsr000000060.intranet.xxxxxx.com ESMTP Sendmail 8.13.8/8.13.8; Thu, 26 Apr 2012 19:11:57 +0800
>>> EHLO sgppsr000000060.intranet.xxxxxx.com
250-sgppsr000000060.intranet.xxxxx.com Hello localhost.localdomain [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
>>> MAIL From:<camprod@sgppsr000000060.intranet.cccc.com> SIZE=6
250 2.1.0 <camprod@sgppsr000000060.intranet.barcapint.com>... Sender ok
>>> RCPT To:<abc@domain.com>
>>> DATA
250 2.1.5 <abc@domain.com>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
250 2.0.0 q3QBBvZw017237 Message accepted for delivery
cc.giriraju@barcap.com... Sent (q3QBBvZw017237 Message accepted for delivery)
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 sgppsr000000060.intranet.xxxx.com closing connection



Additial system inforamtion

Code:
uname -a has below inforamtion 
Linux  sgppsr000000060 2.6.18-194.11.4.el5 #1 SMP Fri Sep 17 04:57:05 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux


Last edited by Franklin52; 04-26-2012 at 08:32 AM.. Reason: Please use code tags
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

sendmail not working

Hi I am trying to send mail using sendmail as well as mai option.But its not getting delivered in the recipient address.However on checking systemlog ,i could find the statusas "sent".What might be the issue. Regards S (2 Replies)
Discussion started by: sushovan
2 Replies

2. UNIX for Advanced & Expert Users

Sendmail is not working properly

Hi All, Can any one help me to solve the issue. The Issue is, i have started the sendmail service on my RHEL 4 update 6 box, I am able to send the mail from my box to almost all of the Email Id's except few. Exampe, test mail. . Output is :the message is sent. now if I send the... (2 Replies)
Discussion started by: akhtar.bhat
2 Replies

3. Shell Programming and Scripting

sendmail not working

Hi, I have to send a mail in html format and to do so I am using the below code. INPUT_FILE_DETAILS contains the html code but it doesn't work. Could anyone suggest whats wrong in it. ( echo "From: Team<Team@xy.com>" echo "To: $MAILTO" ... (1 Reply)
Discussion started by: alok1301
1 Replies

4. Red Hat

sendmail not working

Hi, My mails (postfix - apologies about the heading) have suddenly stopped sending, and I am trying to find out why. We use ESMTP mail relay (blacknight), nothing has changed on our side and I am able to ping the IP address of blacknight on port 25. I suspect an issue with the external... (2 Replies)
Discussion started by: Duffs22
2 Replies

5. Shell Programming and Scripting

sendmail with attachment not working

dear all I have below function which send an email, but if I need to add an attachement it won't work instead it write some jibberish to body of the email begin 644 SIGN_OFF_AP_20120626.csv M4TE'3E]/1D9?4TA%150L351-7T1!5$4L0D]/2RQ35$%455,L5D%25%E012Q# %3U5.5`H` ` end function... (6 Replies)
Discussion started by: manas_ranjan
6 Replies

6. Shell Programming and Scripting

Sendmail script not working

I am facing a peculiar problem in AIX 6.1 I can execute sendmail command using the following script sendmail -f sender -v recepient Body of email ^dThe command executes successfully and mail is sent to the intended recepient but when I try to use the attached script, the mail is not sent... (3 Replies)
Discussion started by: abhilashnair
3 Replies

7. Solaris

Sendmail not quite working after upgrade

We have a machine that we upgraded today. After the upgrade, I am getting connection refused on any emails from a remote host that uses an alias. If I send email directly to a user on the upgraded host, from a remote host, that works fine. If I send email to an alias on the ugraded machine, from... (3 Replies)
Discussion started by: brownwrap
3 Replies

8. Red Hat

Sendmail not working

Dear All, I have a sendmail configured in one of our linux server. But when I send mail , it is giving the error DSN Service Unavailable 5.0.0 But the same sendmail configuration is working fine with another SMTP IP. On the /var/spool/mail/root log , it is saying "Client not... (1 Reply)
Discussion started by: jegaraman
1 Replies

9. Linux

Sendmail not working

Dear All, I am able to send mail to mail ids of internal domain or local domain. But I could not send mails to external domain. It is saying the error 530 5.7.1 Client was not authenticated Kindly help me on this... Rj (1 Reply)
Discussion started by: jegaraman
1 Replies

10. Solaris

Sendmail not working in SUNOS

Hi All i am trying to send a mail from SunOS to my outlook mail but it is not working neither giving any error please suggest # uuencode /tmp/t.txt t.txt | mailx -s test v.com # # uname -a SunOS 5.9 Generic_122300-25 sun4u sparc SUNW,Sun-Fire-V440 (3 Replies)
Discussion started by: scriptor
3 Replies
mailstats(8)						      System Manager's Manual						      mailstats(8)

NAME
mailstats - Displays statistics about mail traffic SYNOPSIS
mailstats [-o] [-C cffile [-f stfile] FLAGS
Do not display the name of the mailer in the output. Use cffile as the name of the sendmail "cf" file instead of /var/adm/sendmail/send- mail.cf. Use stfile as the input statistics file instead of /var/adm/sendmail/sendmail.st. DESCRIPTION
The mailstats command reads the information in the /var/adm/sendmail/sendmail.st file (or in the file specified with the -f flag), formats it, and writes it to standard output. Note also that you can change the location of the sendmail.st file by editing its pathname in the sendmail.cf file. EXAMPLES
The format of the information is shown in the following example, in which the first field (M) contains a number that indicates the position of that mailer in the sendmail.cf file, starting at 0 (zero). For example, the first mailer in the sendmail.cf file corresponds to the number 0 in the mailstats display, the second mailer corresponds to the number 1, and so on. Statistics from Thu Feb 17 11:20:01 2000 M msgsfr bytes_from msgsto bytes_to msgsrej msgsdis Mailer 1 50 77K 1 3K 0 0 local 6 43 59K 58 99K 0 0 smtp ============================================================ T 93 136K 59 102K 0 0 The fields in the report have the following meanings: Indicates the position of the mailer in the sendmail.cf file. Indicates the number of messages received by the local machine from the indicated mailer. Indicates the number of bytes in the messages received by the local machine from the indicated mailer. Indicates the number of messages sent from the local machine using the indicated mailer. Indicates the number of bytes in the messages sent from the local machine using the indicated mailer. Indicates the number of rejected messages. Indicates the number of discarded messages. Indicates the name of the mailer. If sendmail transmits mail directly to a file, such as the dead.letter file or an alias target, the message and byte counts are credited to the prog mailer, as defined in the sendmail.cf file. However, mailstats will still default to var/adm/sendmail/sendmail.st. FILES
Specifies the command path Contains system statistics Contains configuration information for sendmail RELATED INFORMATION
Commands: sendmail(8) delim off mailstats(8)
All times are GMT -4. The time now is 10:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy