Sponsored Content
Operating Systems AIX Configure sendmail to use exchange server Post 302482324 by rbatte1 on Tuesday 21st of December 2010 08:36:46 AM
Old 12-21-2010
So, you have multiple addresses, so could this be a DNS issue that you are not guarenteed to get the right server?

Could this be a firewall issue? Try to open the connection:-
Code:
telnet www.xxx.yyy.zzz 25

for each IP address that the DNS returns. Port 25 is the smtp port. You should get output similar to the following:-
Code:
# telnet www.xxx.yyy.zzz 25
Trying...
Connected to mail.mycomp.com.
Escape character is '^]'.
220 mail.mycomp.com Microsoft ESMTP MAIL Service, Version: 6.0.3790.1830 ready at  Tue, 21 Dec 2010 13:30:58 +0000 
quit
221 2.0.0 mail.mycomp.com Service closing transmission channel
Connection closed.

If not, you could have a firewall issue, or perhaps even be going to the wrong place entirely. If you can ping the address, then a firewall issue would simply seem to hang (timeout in about 30 seconds usually) If you can't ping, then it's DNS or routing I expect.



Do let us know how you get on.





Robin
Liverpool/Blackburn
UK
 

10 More Discussions You Might Find Interesting

1. Solaris

how to send mails to users on exchange server from sendmail/solaris(mailx)

Hi, Can anyone pls. tell me how to access Active directory from solaris. I am looking at solution by which I can send mail notification from the logs generated by scripts, to the users on Exchange server. I am trying for a Perl-LDAP module , but don't realy know how to go for it (5 Replies)
Discussion started by: ganeshh
5 Replies

2. UNIX for Dummies Questions & Answers

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: Feb 27 02:25:42 (none) sendmail: m1R1Pg3S013841: to=test@test.com,just,testing, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00,... (1 Reply)
Discussion started by: bronkeydain
1 Replies

3. UNIX for Dummies Questions & Answers

Question regarding sendmail and exchange 5.5

Hi all, I have a question. I am running an exchange 5.5 server and a UNIX DNS server. Currently, I am able to receive messaages but cannot send messages. By send I mean that I create a message, hit the send button, it hits the outbox and disappears. I checked the MTA on 5.5 and the message is... (2 Replies)
Discussion started by: John Racela
2 Replies

4. 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

5. 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

6. Shell Programming and Scripting

Send email from sendmail on AIX using exchange server as SMTP server

i am new in AIX i am trying to write a script to take a backup for specific files on server to and check error log if backup success send email to administrator , script done except for sending mail , i try to configure sendmail on aix to use our exchange server to send emails but still get error... (0 Replies)
Discussion started by: ahmed_salah
0 Replies

7. HP-UX

[Solved] How do I configure Unix Mail Server to use another Mail Exchange Server

We have configured our mail unix server and can send out emails automatically from applications running on unix to different people in our company as well as outside our company. However there is an outside client who is not receiving these emails because the settings on their mail server cannot... (4 Replies)
Discussion started by: Tenyhwa
4 Replies

8. UNIX for Dummies Questions & Answers

Can't configure sendmail to send mails to external SMTP Server

Hi all,I know, that this is very common issue, but I can't find where is the problem... I have Solaris 10 installed.I want to send mail to external SMTP server, like:echo "letter body"| mailx -s "subject" test@test.comBut I donno what kind of changes I have to do in /etc/hosts and sendmail.cf or... (5 Replies)
Discussion started by: nypreH
5 Replies

9. UNIX for Advanced & Expert Users

mailx Vs sendmail to send internal emails to exchange

Hi Gurus, I have been searching for this around, but sendmail seems complicated and not sure if "mail" command would do, since all what I need to send internal emails from my solaris 10 box to our exchange server. Would the mailx or mail command do ? I tried the : # mailx -s test... (2 Replies)
Discussion started by: aladdin
2 Replies

10. Linux

Configure Postfix to relay to Exchange Server with NTLM authentication

Hello I have a shell script, which should send email, if any error occurred. This script is running in Red Hat Linux 4.6, and want to configure postfix so it can relay to an Exchange Server. The Authorization method of Exchange server, I guess is: 250-AUTH NTLM. So I have: Server A ( Red... (1 Reply)
Discussion started by: viktor1985
1 Replies
Net::DNS::Mailbox(3)					User Contributed Perl Documentation				      Net::DNS::Mailbox(3)

NAME
Net::DNS::Mailbox - DNS mailbox representation SYNOPSIS
use Net::DNS::Mailbox; $mailbox = new Net::DNS::Mailbox('user@example.com'); $address = $mailbox->address; DESCRIPTION
The Net::DNS::Mailbox module implements a subclass of DNS domain name objects representing the DNS coded form of RFC822 mailbox address. METHODS
new $mailbox = new Net::DNS::Mailbox('John.Doe@example.com'); $mailbox = new Net::DNS::Mailbox('John Doe <j.doe@example.com>'); Creates a mailbox object which represents the DNS domain encoded form of the mail address specified by the character string argument. The argument string consists of printable characters from the 7-bit ASCII repertoire. address $address = $mailbox->address; Returns a character string containing the RFC822 mailbox address corresponding to the encoded domain name representation described in RFC1035 section 8. DOMAIN NAME COMPRESSION AND CANONICALISATION
The Net::DNS::Mailbox1035 and Net::DNS::Mailbox2535 subclass packages implement RFC1035 domain name compression and RFC2535 canonicalisation. COPYRIGHT
Copyright (c)2009,2012 Dick Franks. All rights reserved. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
perl, Net::DNS, Net::DNS::DomainName, RFC822, RFC1035, RFC5322 perl v5.18.2 2014-01-16 Net::DNS::Mailbox(3)
All times are GMT -4. The time now is 04:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy