![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Email not sending to Hotmail | thehaapyappy | UNIX for Dummies Questions & Answers | 3 | 05-12-2008 02:29 AM |
| I have some problem in sending an email, please help me. | Sheethal | Shell Programming and Scripting | 2 | 10-12-2007 05:03 AM |
| Sending email w/ ftp log as attachment | idesaj | UNIX for Dummies Questions & Answers | 2 | 07-19-2005 08:48 AM |
| sending email | vasikaran | UNIX for Dummies Questions & Answers | 1 | 07-05-2005 02:50 AM |
| sending email in unix. need help! | tads98 | Shell Programming and Scripting | 2 | 05-16-2005 05:33 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I have an Solaris 8 machine running a managment application. One of the features of this application is to configure alarm forwarding to an email undress.
When i configured the application to do that, it asked me only about the recipient email address. Quesiton: how to configure my Solaris 8 machine to send emails. i added a default gateway, and i don't have a DNS server. i can ping the mail server. Waiting for your urgent answer. |
| Forum Sponsor | ||
|
|
|
||||
|
Set your sendmail to send mail to the mail server. Look in /etc/mail/ for sendmail.cf - save a copy of it - edit it and look for Smart relay host. Put your mailserver host/domain in as the relay.
Example: # "Smart" relay host (may be null) DSmymailserver.mydomain.com Test that Sendmail is 'happy' with everything: $ /usr/lib/sendmail -d0.1 -bt < /dev/null This command will give you output of the sendmail config - if you aren't running DNS, you have a major problem since sendmail works with DNS to insure a your server doesn't become a illegal mail relay. See the Sendmail FAQ for trying to set up sendmail without DNS. |
|
|||
|
i tried it and this is the result....
root@inc1 # $ /usr/lib/sendmail -d0.1 -bt < /dev/null $: not found root@inc1 # /usr/lib/sendmail -d0.1 -bt < /dev/null Version 8.11.6+Sun Compiled with: LDAPMAP MAP_REGEX LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NDBM NETINET NETINET6 NETUNIX NEWDB NIS NISPLUS QUEUE SCANF SMTP USERDB XDEBUG ============ SYSTEM IDENTITY (after readcf) ============ (short domain name) $w = inc1 (canonical domain name) $j = inc1. (subdomain name) $m = <null> (node name) $k = inc1 ======================================================== ADDRESS TEST MODE (ruleset 3 NOT automatically invoked) Enter <ruleset> <address> > root@inc1 # do you think it will not work if i don't have a domain name or if i am not configured with a DNS????? |
|
|||
|
This is really confusing:
in /etc/hosts i added. <IP> myhost myhost.domainname <IP> mailserver mailhost mailserver.anotherdomainname i can ping the mail server and telnet to port 25 and send an email from there. i changed the configuration of sendmail.cf as described above by our freind RTM. i am trying to send mail like this: mail from root@inc1 to: name@anotherdomainname this is a test mail . but still the mail is not received.!!!! |