- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sendmail setup
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2008 07:44 AM
01-08-2008 07:44 AM
sendmail setup
My submit.cf file contains
-rw-r----- 1 root bin 881 Jan 12 2007 aliases
-rw-r----- 1 root mail 24576 Jan 8 14:27 aliases.db
-r--r--r-- 1 bin bin 5761 Jan 12 2007 helpfile
-r--r--r-- 1 bin bin 10222 Feb 15 2007 mailcap
-r--r--r-- 1 bin bin 101837 Jan 8 12:35 sendmail.cf
-r--r--r-- 1 bin bin 701 Nov 13 14:24 sendmail.cw
-rw------- 1 root mail 44 Jan 8 14:27 sendmail.pid
-r--r--r-- 1 root sys 90587 Jan 8 12:46 submit.cf
In submit.cf and sendmail.cf I have added DS
I try to send an email in elm but just hangs until I interrupt it.
Never used sendmail before so ive probably missed some steps.
thanks for any help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2008 07:50 AM
01-08-2008 07:50 AM
Re: sendmail setup
Easiest:
echo "my message"|mailx -m -s "my subject" somebody@somewhere.com
To verbosely test.
sendmail -v somebody@somewhere.com
Watch the output to see if connecting and getting delivered. If not then senmail config needs to be troubleshot.
The DS directive you are setting will relay all mail to exchange_server.co.uk. This means that even mail to a place like yahoo.com will bounce through your relay server instead of directly being delivered. Your relay server must be set to allow this. Now a days most mail servers do not allow this due to forging and spam.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2008 08:54 AM
01-08-2008 08:54 AM
Re: sendmail setup
try send mail with 'sendmail -v
...
.
'
and see the output. Then check the file /var/adm/syslog/mail.log and look foor yor messages. please send me the output of mail.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2008 09:09 AM
01-08-2008 09:09 AM
Re: sendmail setup
When I tried to use sendmail it said the exchange server refused the connection.
I used a different server (internal) and it worked just fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2008 09:13 AM
01-08-2008 09:13 AM
Re: sendmail setup
To configure your sendmail edit the following line with your server name ( Fully qualified name)
#Dj$w.Foo.COM
Dj$ server1.xxxx.com
Then re start sendmail daemon
To send mail, use the mailx command as follow ..
mailx -s " subject" yourid@yourdomain.com
.
rgds/ James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2008 09:20 AM
01-08-2008 09:20 AM
Re: sendmail setup
DMyourdomain.com
Trying doing a test:
sendmail -v -f you@yourdomain.com you@yourdomain.com
Rgds...Geoff