From: Darren Cuddy (darren.cuddy@serco.com)
Date: Thu Jan 12 2006 - 12:08:30 EST
Darren wrote:
Message: 6
Date: Thu, 12 Jan 2006 14:33:08 -0000
From: "Darren Cuddy" <darren.cuddy@serco.com>
Subject: Setting up mail on a Solaris Server
To: <sunmanagers@sunmanagers.org>
Message-ID: <003201c61785$1ba8bbd0$3d02230a@altaris.com>
Content-Type: text/plain; charset="us-ascii"
Dear Sun Managers,
I am trying to set up an automatic mailing of support reports from one of
our servers on a customer site
I have tried but to no avail using sendmail configuration and was wondering
if someone could talk me through this from scratch?
Architecture is:
A single Solaris server maintained by us
An SMTP gateway maintained by the customer
I need to send mail from the server externally to our support teams
I have tried many different iterations of the same thing and just can't get
it to work?
SUMMARY:
Many replies (along with the flurry of 'out of office' autos) all hinged on
the same thing
/etc/mail/sendmail.cf includes the lines for 'smart' relay
# "Smart" relay host (may be null)
DSsmtpgateway.customer.com
Where smtpgateway.customer.com was the fully qualified name for the customer
SMTP gateway server
An entry for this was also placed in my /etc/inet/hosts file
#
# MAIL SMTP Gateway Server
#
10.35.96.40 smtpgateway smtpgateway.customer.com
#
Stop and restart sendmail
pkill -HUP sendmail
All of which I'd tried before but which had failed
/usr/lib/sendmail -v support@mycompany.com </dev/null
Reported that the mail was queued on smtpgateway.customer.com but I never
got it.
Your replies confirmed I wasn't going mad so tried emailing to an internal
account of the customer
/usr/lib/sendmail -v username@customer.com </dev/null
Which they reported getting without delay
So in the end it is permissions on the customer SMTP gateway server which I
need to sort out
Thanks for all the replies and sorry if I've done a 'suck eggs' explanation
here but thought it best to keep it as complete but simple as possible
Darren
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:38:26 EDT