Sponsored Content
Full Discussion: How do I configure sendmail?
Top Forums UNIX for Dummies Questions & Answers How do I configure sendmail? Post 302170889 by bronkeydain on Wednesday 27th of February 2008 02:55:32 AM
Old 02-27-2008
How do I configure sendmail?

I am trying to run sendmail from a script with the results from that same script.
Each time I use sendmail I get the following message in /var/log/maillog:

Code:
Feb 27 02:25:42 (none) sendmail[13841]:
 m1R1Pg3S013841: to=test@test.com,just,testing,
 ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay,
 pri=94953, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred:
 Connection refused by [127.0.0.1]

Also the command telnet localhost 25, or telnet "my current IP" 25 give "connection refused"

I have no idea where to start, I did read about sendmail.mc file but in /etc/mail I have no such file. Is this file supposed to be there? Do I just make this file with the correct options? Also can I authenticate to my SMTP server from the same file? In other words... how do I get this working? Smilie

Thanks in advance for any input.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to configure sendmail on AIX4.3.3.

Hi! I want to enable sendmail facility on my AIX 4.3.3 box. I know that the configuration sendmail.cf must be populated with the necessary info according to my needs. Question is what are those, and what is the syntax? Other than sendmail.cf, are there any configuration files i need to edit? ... (1 Reply)
Discussion started by: jolobets
1 Replies

2. AIX

Simple way to configure sendmail

Hi, Can anybody guide where can i get the procedure of configuring sendmail on aix 4.3.3 in a simple way. I dont know anything about sendmail. Cheers, Vinod.. (1 Reply)
Discussion started by: vinod2all
1 Replies

3. UNIX for Advanced & Expert Users

How to configure sendmail in linux

Hi, I want to know how to configure emails in linux.First how to configure inside the firewall and second how to configure it outside the firewall? Regards, Rajesh (1 Reply)
Discussion started by: rajbal
1 Replies

4. Solaris

How to configure Sendmail for simply use?

Hi lads, would you be able to advice, please, how to configure Sendmail for sending casual emails (like with Thunderbird or Outlook). Before I used Exim 4 in Debian and did not have any problem with configuration. Knowledges almost zero, but know what is MTA, MUA, etc. Workstation is typical,... (3 Replies)
Discussion started by: andrbu
3 Replies

5. Cybersecurity

How to configure sendmail in solaris 10

how to configure sendmail in solaris 10 ???? Anyone knows, pls share the documents. (1 Reply)
Discussion started by: vishwanathhcl
1 Replies

6. AIX

How to configure sendmail for AIX 5.3

Hello All, I am very new to this sendmail thing. I need to set up AIX servers with sendmail service to get emails in my corporate email address. All I am asked to do is use SMTP gateways (already in place) for using sendmail. thanks in advance (0 Replies)
Discussion started by: solaix14
0 Replies

7. Solaris

Configure mailx or sendmail

hi, I would like to configure mailx or sendmail to send out some mails to some users. I tried searching online for the configuration but it was kinda confusing. I thought that posting here might get someone to work with me step by step I tried sending out mail but i did not receive in my... (4 Replies)
Discussion started by: cghcgh
4 Replies

8. Solaris

Help to configure sendmail on Solaris 10

Hello, I need help to configure sendmail on Solaris 10. I have to configure sendmail to send mail on the Internet, now works only for sending mail for local users. I'm studying several tutorials ... When I try to send a mail to an external address (eg aaaa@gmail.com) the mail is placed... (3 Replies)
Discussion started by: arfry
3 Replies

9. Shell Programming and Scripting

Configure CC list in sendMail

Hi All, When I send a mail using sendMail command it sends a mail to the concerned with few people in cclist. Not sure where cc list is configured. I want to change that cc list configuration. Please help. Thanks and Regards Nagaraja Akkivalli. (5 Replies)
Discussion started by: Nagaraja Akkiva
5 Replies

10. Solaris

Configure sendmail with SMTP

Hello, I'm trying to configure sendmail with SMTP authentication on a SunOS 5.11 operating system. I have been read various documentation / tutorials and unfortunately is not working. I need help from someone who has configured smtp on this operating system. When I try to send a mail, I have... (2 Replies)
Discussion started by: d4rkm4nx99
2 Replies
check-hostname(1M)					  System Administration Commands					check-hostname(1M)

NAME
check-hostname - check if sendmail can determine the system's fully-qualified host name SYNOPSIS
/usr/sbin/check-hostname DESCRIPTION
The check-hostname script is a migration aid for sendmail(1M). This script tries to determine the local host's fully-qualified host name (FQHN) in a manner similar to sendmail(1M). If check-hostname is able to determine the FQHN of the local host, it reports success. Other- wise, check-hostname reports how to reconfigure the system so that the FQHN can be properly determined. FILES
/etc/hosts Host name database /etc/nsswitch.conf Name service switch configuration file /etc/resolv.conf Configuration file for name server routines ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWsndmu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
domainname(1M), sendmail(1M), hosts(4), attributes(5) SunOS 5.11 8 Mar 2006 check-hostname(1M)
All times are GMT -4. The time now is 12:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy