sendmail only sends emails to its own domain


 
Thread Tools Search this Thread
Operating Systems AIX sendmail only sends emails to its own domain
# 1  
Old 01-22-2008
sendmail only sends emails to its own domain

Hi, folks!

I have a problem with an AIX 5.3 server running sendmail where
it is able to send messages within its own domain just fine. This
is being used for a web email service portion of a web site. However,
when it attempts to send email to any other domain -- i.e.,
hotmail.com -- it is always rejected.

Here is a log of a given rejected email:

Jan 22 11:08:25 hostname mail:info sendmail[71554]: m0MI8Pgb071554: from=<mailprogram@xxx.com>, size=377, class=0, nrcpts=1, msgid=<672952891.1201025305084.JavaMail.root@mail.server.xxx.com>, proto=ESMTP, daemon=MTA, relay=mail.server.xxx.com [9.17.233.106]
Jan 22 11:08:25 kpnatsp6 mail:info sendmail[152688]: m0MI8Pgb071554: to=<jjwood64@hotmail.com>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120377, relay=mx3.hotmail.com. [665.54.245.72], dsn=4.0.0, stat=Deferred: Connection refused by %smx3.hotmail.com.


What do I need to change in my sendmail.cf file in order to allow me to send email to other domains which I specify? Any help would be great, and thank you kindly in advance.
# 2  
Old 01-24-2008
It says

"relay=mail.server.xxx.com" in the message. Could it be that xxx.com, whatever the domainname really is, is blacklisted as an open relay?
# 3  
Old 01-24-2008
hotmail's server may be refusing connections because of lack of HELO statement, lack of SPF record, lack of rDNS record - there may be many reasons, do a raw telnet session and see what it says.
Is this really an IBM IP address or ADSL ? Hotmail doesn't like adsl pools.
# 4  
Old 01-24-2008
The "xxx.com" is something I inserted just for confidentiality's sake.
I'll be trying some tests today, but note that all email from this
box sent externally gets rejected (so it's not just hotmail!)

Essentially, the mail server was (properly) set up not to be an open relay.
I generally want to be able to push email to specified domains.

Last edited by jjwood64; 01-24-2008 at 01:56 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Sendmail with wrong domain name

Not sure if this is the right place so I'm sorry if its not. I am setting up a new RHE server and trying to get sendmail to work correctly. Currently when I test sendmail I will recieve an email from (username@servermydomain.com.com) I have scoured the sendmail.cf and cannot find this anywhere.... (2 Replies)
Discussion started by: thumbelina
2 Replies

2. Shell Programming and Scripting

Sendmail Fails to send emails from Linux server.

I m using free zoho mail client application (similar to microsoft outlook) on my mobile for all my emails to mohtashim@techx.com I wish to only recieve emails from my Linux Server details of which are: techx 3.10.0-514.10.2.el7.x86_64 #1 SMP CentOS release 7.3.1611 (Core). I try the below... (20 Replies)
Discussion started by: mohtashims
20 Replies

3. Red Hat

Sendmail not delivering to own domain

I can send off network but can not send to anyone on network. SitRep is this the legacy mail system at work is setup as 2 servers, one is the outbound server and /etc/aliases has a list of users to deliver the mail to another server. for this instance we will call the 192.168.1.9(outgoing)... (4 Replies)
Discussion started by: sycomix
4 Replies

4. AIX

Sendmail daemon is inactive, but still i can send emails

Hi, I did setup sendmail on one of AIX LPARs. Its working as expected. But, would like to clarify something with you all. I stopped the sendmail daemon on AIX LPAR, now it is inactive(&commented it on /etc/rc.tcpip ). But still, am able to send the emails even after stopping daemon. ... (6 Replies)
Discussion started by: system.engineer
6 Replies

5. UNIX for Advanced & Expert Users

Restricting emails to particular domain name

Hello, I need to restrict the mails going from any codes to a particular domain. For example - No mail from any code should go to any email address with domain as abc.com - example - xyz@abc.com Do we have any way to do it? Thanks (2 Replies)
Discussion started by: shubh05
2 Replies

6. Linux

Sendmail takes too long to start and the host is unable to send emails

Hello All, Sendmail takes too long to start and the host is unable to send emails, below are the steps followed, Please let me know if I'm missing anything, is there a debug mode for mailx? # time service sendmail restart Shutting down sm-client: Shutting... (6 Replies)
Discussion started by: lovesaikrishna
6 Replies

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

8. Red Hat

Sendmail sends messages like root

Hi, we are setup sendmail like a relaying. We are using user authetecing in the smart mail host. But when we use sendmail to send a message, the message is rejected, because user root, not is a user known in the domain. Where or what must i do, to can be able to send messages from the sendmail... (0 Replies)
Discussion started by: iroshit
0 Replies

9. UNIX for Advanced & Expert Users

blocking sendmail from domain

hi i edited the /etc/mail/access files with the line "yahoo.com REJECT", afterwhich i cannot send out files to the yahoo.com domain. :mad: can someone advise on how to go about configuring such that i am able to send mail out to yahoo.com BUT block INCOMING mail from yahoo.com :confused: i... (0 Replies)
Discussion started by: legato
0 Replies

10. Shell Programming and Scripting

Check sendmail is not receiving any emails

Hi all, Need some advise again. I am new to sendmail service which is already configured by some other administrators. I would need to write a script to check whether sendmail service is enabled in Solaris and Linux. Using this command "ps -ef | grep sendmail | grep -v grep". Or is there... (6 Replies)
Discussion started by: Kinki
6 Replies
Login or Register to Ask a Question