mail problem

mail problem

Post by Mark De » Wed, 30 Jun 1993 23:30:08



I have a sparc classic with solaris 2.1.
When I "post" or send mail my from address comes up with
"NoSubdomain.NoDomain"

I am running NIS.
I believe the problem might be in my send mail file but I'm not
sure what needs to be changed.
I have the from statement set up in my Xdefaults file and in my sendmail.cf
file I have the "Dm " statement set up properly.

Any advise would be helpful!

              MD

 
 
 

mail problem

Post by Adam Wainwrig » Thu, 01 Jul 1993 00:16:27


|> I have a sparc classic with solaris 2.1.
|> When I "post" or send mail my from address comes up with
|> "NoSubdomain.NoDomain"
|>
|> I am running NIS.
|> I believe the problem might be in my send mail file but I'm not
|> sure what needs to be changed.
|> I have the from statement set up in my Xdefaults file and in my sendmail.cf
|> file I have the "Dm " statement set up properly.
|>
|> Any advise would be helpful!
|>
|>               MD
|>

Have a look at the beginning of the sendmail.cf file.  Under #my official hostname
what do you have?  We had problems with domain names etc and under
the official version Dj$w.$m we had to hack a bit.  It now reads

# my official hostname
Dw$m
Djindurain.$w

We kept getting errors from our main mail server stating it could not find
our domain.  Type domainname.  It is unset on our machine.

Have you tried the test version of sendmail:use /usr/lib/sendmail -bt and you will
receive a prompt.  Then type a zero followed by a name.  Eg. try 0 mark and
it will tell you of the rulesets it is using and it should finish with
'rewrite: ruleset 0 returns: $# "local" $: "mark".

Have you set the m class with Cm?  Are you running a subsidiary server or
a main relay?

--
+-------------------------+-----------------------------------------------+
|  Adda Wainwright        |    Does dim atal y llanw!         8o)         |

+-------------------------+-----------------------------------------------+

 
 
 

1. Mail problem because a perl script reads /var/spool/mail/login?

Hi,

I wrote a short application to replace Xbiff. Basically, I wanted
something that shows a short summary of incoming mails, ignoring thus
whose sender matches a given expression (so that I dont get alarmed by
my own bcc: copies), etc. Anyway. Finally it's a perl script that
parses my /var/spool/mail/fleuret on a regular basis.

Everything seems to go smooth except that from time to time I do miss
mails. When I check the /var/log/maillog, I can see that sendmail
received the mail and did not log any error, but I dont have any trace
in my /var/spool/mail/fleuret.

The sendmail deamon runs on a SOLARIS box, and the /var/spool/mail is
mounted by nfs on my linux box. Each 15s, my script opens the mail
file with open(MAILFILE, "< $mailfile"), parses it, and closes it.

So, can there be a sort of "lock" if the file is opened for reading
and thus the sendmail can not write anything in it (I checked that and
it does not seem to lock anything)?

Any idea?

Regards,

F.

2. Networking two computers

3. Mail problem for incoming mail

4. Flyvideo 98 TV audio problem

5. Mail problem -- can't get mail to queue!

6. java & Xwin

7. mail problem with mail program...

8. Linux Frequently Asked Questions with Answers (Part 3 of 6)

9. mail problem?, DNS problem?

10. A mail problem and a memory problem

11. netscape mail problem

12. crond & mail problem

13. Mail problem