sendmail question on HPUX

Posted on 2011-04-20
Medium Priority
Last Modified: 2012-05-11
I am able to use sendmail to send emails from server1 to recipients but only if they are in the company domain. For all attempts to send email to an external account outside of the corporate domain, the mail sits in the queue and I receive this message.

Mailqueue      sendmail daemon could not receive/send mail to firstname.lastname@gmail.com: Deferred: Connection timed out with alt4.gmail-smtp-in.l.google.com.

Is there an update that needs to be made to the sendmail.cf file in order to correct this?


Question by:sonriks
  • 2

Expert Comment

ID: 35433979
May be the "mail relay" server, not relaying the mails outside the company domain.  This could be your company standard, or inadvertently designed that way.

Author Comment

ID: 35434180
It's not a policy issue, but a setup/config issue, more than likely inadvertent.
Wondering if there's a way to resolve via the sendmail.cf file
LVL 20

Accepted Solution

carlmd earned 2000 total points
ID: 35434660
Is the default gateway and dns set up properly? On the HPUX systems if you do
                 nslookup www.hp.com
do you get
 Non-authoritative answer:
Name:    www.hpgtm.nsatc.net
Aliases:  www.hp.com

For the gateway use "netstat -rn". Do you have on the first line of the left most column gateway, and is it pointing to the right place?

Next try sending mail to anyone with the -v option and post the result
          mail -v anyone@anywhere.com

Are you using an internal mail forwarder (firewall, or spam filter or ?)?

Author Closing Comment

ID: 35437459
It turned out to be a firewall issue in connection with this server .... something that hadn't occured to me. Thanks a lot for the info!

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question