Solved

Problems sending mail using dtmail in Solaris 2.6

Posted on 1998-06-11
2
423 Views
Last Modified: 2013-12-16
Hello:

   When I send e-mail with dtmail my address appears  to the receiver like:
user@machine.domainname
   What I need is that it appears like:
user@domainname
   When I use the mailtool of OpenWindows or the command line "mail" command, I get the desired result (meaning that my sendmail.cf is correct, or at least is what I think). If I use dtmail it adds the name of my machine.

  Suggestions any one?
0
Comment
Question by:jlms
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
zonker031798 earned 200 total points
ID: 1812140
I suspect that you're correct about your sendmail.cf file;
I agree with your reasoning that since the OpenWindows mailtool
and command-line "Mail" both yield the correct result, that
the "Dj" field in your sendmail.cf is set appropriately.

I`ll bet on this: dtmail has an option on the "advanced"
selection under the "option" menu marked "Host to send
mail from:".  Whatever you have there will take precedence
over what sendmail.cf would supply by default for several
header fields, including "From:" and "Reply-To:".  My
guess is that if you go to that field and fill it in with
user@domainname that this will solve your problem.
0
 
LVL 4

Author Comment

by:jlms
ID: 1812141
You were partially right, I noticed that after setting this field a new variable was set in the .mailrc file. After playing with it for a while I found that this variable should be set as follows:

set smtpmailserver=localhost

for this to work your sendmail.cf should be properly configured, I didin't try assigning a mailhost somewhere else, but most probably it should work.

  It looks like this dtmail does not use sendmail unless this field is set....
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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 …
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

696 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