1832991 Members
2602 Online
110048 Solutions
New Discussion

Sendmail Error

 
Andrew Brain or Yong Ji
Occasional Advisor

Sendmail Error

HP9000 K220 Server with OS 10.20,
has aliases and domain-name in /etc/hosts, plus using a DNS server. Giving the following error periodically after sendmail started;

# Jul 24 01:19:03 wck1001 sendmail[26610]: BAA26610: Losing qfBAA26610: savemail
panic
Jul 24 01:19:03 wck1001 sendmail[26610]: BAA26610: SYSERR(root): savemail: canno
t save rejected email anywhere
I'm spinning around
4 REPLIES 4
RikTytgat
Honored Contributor

Re: Sendmail Error

Hi,

I found a similar problem on the sendmail newsgroup, and the solution suggested there is:

"Sendmail needs an address to send rejected mail to. By default it sends to "root," which usually doesn't have a mail directory. Try putting an alias from "root" to a valid email address and it should cure the problem. "

Hope this helps,
Rik

CHRIS_ANORUO
Honored Contributor

Re: Sendmail Error

Hi,

It seems there is a problem with your aliases file setup. Copy from /usr/newconfig/etc/mail/aliases to /etc/mail and update the last line in sendmail.cw to read (localhost hostname).
Put the line macro Dj$w.hostname.com, where hostname.com would be the name of you domain. and run /usr/sbin/newaliases before starting sendmail(sbin/init.d/sendmail stop/start)

Cheers!
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
Shannon Petry
Honored Contributor

Re: Sendmail Error

I think what Chris was referring to was to make sure that all of the defaults in "/usr/newconfig/etc/mail/aliases" are in your current file. Some of those are necessary for sendmail to work. Mainly, where to send mail when things go bad somehow. I.E. Someone sending mail to a bad address.
If mail can not return that mail to the user, it may need to dump. This is covered in the defaults file.
Simply copy your own aliases file to a temp file. Edit that file, and remove all but your own entries. Then copy the default file to /etc/mail, and append your entries to this file.
Run newaliases and watch for errors. If a bad aliases file is detected, newaliases will complain.

Microsoft. When do you want a virus today?
Bill Hassell
Honored Contributor

Re: Sendmail Error

This is also caused by /var being full. /var is crucial to just about every major subsystem and process on the system. There is nothing in HP-UX to monitor diskspace automatically. Be sure to use the command:

du -kx /var | sort -rn >/tmp/du.var

and look at the du.var file to see where the biggest directories are located. Then look at the directory to see if the space is correctly utilized or can be trimmed.


Bill Hassell, sysadmin