Solved

Problems sending mail using dtmail in Solaris 2.6

Posted on 1998-06-11
2
421 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
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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

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…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded‚Ķ
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.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

832 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