Solaris mail problem


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris mail problem
# 1  
Old 05-14-2007
Solaris mail problem

We just put in a new Solaris machine and whenever we try to run a job (these are cron jobs), we get the following message:
ibasdb02:/ # May 14 14:10:12 ibasdb02 sendmail[22219]: [ID 801593 mail.alert] l4
EIABQa022219: Losing ./qfl4EIABQa022219: savemail panic

Any ideas on what this means? The cron job worked without a problem on our old machine. We use the mail system to track whether a job ran successfully. The job running by itself does not generate mail (its not supposd to when run manually).
# 2  
Old 05-14-2007
what happens when you perform a in-line test of sendmail?
Have you configured sendmail on your sunbox?


-bash-3.00$ sendmail -v testuser@me.com
this is a test
.
testuser@me.com... Connecting to mail.me.net via relay...
220 mail.me.net Microsoft ESMTP MAIL Service, Version: 6.0.3790.1830 ready at Mon, 14 May 2007 15:32:03 -0700
>>> EHLO testbox.me.com
250-mail.me.net Hello [192.25.235.15]
250-TURN
250-SIZE 20480000
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
250-VRFY
250-X-EXPS GSSAPI NTLM LOGIN
250-X-EXPS=LOGIN
250-AUTH GSSAPI NTLM LOGIN
250-AUTH=LOGIN
250-X-LINK2STATE
250-XEXCH50
250 OK
>>> MAIL From:<testuser@testbox.me.com> SIZE=15
250 2.1.0 testuser@testbox.me.com....Sender OK
>>> RCPT To:<testuser@me.com>
>>> DATA
250 2.1.5 testuser@me.com
354 Start mail input; end with <CRLF>.<CRLF>
>>> .
250 2.6.0 <200705142231.l4EMVq6D014882@testbox.me.com> Queued mail for delivery
testuser@me.com... Sent ( <200705142231.l4EMVq6D014882@testbox.me.com> Queued mail for delivery)
Closing connection to mail.me.net
>>> QUIT
221 2.0.0 mail.me.net Service closing transmission channel
# 3  
Old 05-15-2007
Mail

Thanks for the reply. I ran this (found it on Google):
ibasdb02:/root #
ibasdb02:/root # /usr/lib/sendmail -Am -bv root
root... deliverable: mailer relay, host standard.com., user root@standard.com
ibasdb02:/root # /usr/lib/sendmail -Am -bv postmaster
postmaster... deliverable: mailer relay, host standard.com., user postmaster@st
ndard.com
ibasdb02:/root # date | sendmail -Am -v root
ksh: sendmail: not found
ibasdb02:/root # date | /usr/lib/sendmail -Am -v root
root... Connecting to mail.standard.com. via relay...
220 as2.standard.com ESMTP Mon, 14 May 2007 12:17:56 -0700
>>> EHLO ibasdb02.invesmart.inc
250-as2.standard.com Hello [12.46.232.29], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-AUTH GSSAPI
250-DELIVERBY
250 HELP
>>> MAIL From:<root@ibasdb02.invesmart.inc> SIZE=29
250 2.1.0 <root@ibasdb02.invesmart.inc>... Sender ok
>>> RCPT To:<root@standard.com>
>>> DATA
550 5.7.0 <root@standard.com>... Recipient Is not valid
503 5.0.0 Need RCPT (recipient)
>>> RSET
250 2.0.0 Reset state
>>> RSET
250 2.0.0 Reset state
root... Using cached ESMTP connection to mail.standard.com. via relay...
>>> MAIL From:<> SIZE=1053
250 2.1.0 <>... Sender ok
>>> RCPT To:<root@standard.com>
>>> DATA
550 5.7.0 <root@standard.com>... Recipient Is not valid
503 5.0.0 Need RCPT (recipient)
>>> RSET
250 2.0.0 Reset state
>>> RSET
250 2.0.0 Reset state
postmaster... Using cached ESMTP connection to mail.standard.com. via relay...
>>> MAIL From:<> SIZE=2077
250 2.1.0 <>... Sender ok
>>> RCPT To:<postmaster@standard.com>
>>> DATA
250 2.1.5 <postmaster@standard.com>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
250 2.0.0 l4EJHuRu020579 Message accepted for delivery
postmaster... Sent (l4EJHuRu020579 Message accepted for delivery)
Closing connection to mail.standard.com.
>>> QUIT
221 2.0.0 as2.standard.com closing connection


How can I avoid sending through standard.com? I want to use the local machine for mail on the CRON jobs?
# 4  
Old 05-15-2007
I guess that the local machine was setup with "standard.com" as a host, so you can change that, but this is also setup in the sendmail options as it seems. Are you sure that the rDNS part is correct ?
Take a look at this thread also, this has been discussed previously.
# 5  
Old 05-15-2007
Mail

We actually got the machine with the OS preloaded. What is the best way to change it so mail goes to local instead of standard.com? Are there a certain set of files to edit and a procedure to follow?
# 6  
Old 05-15-2007
hi hshapiro,

Code:
oot... deliverable: mailer relay, host standard.com., user root@standard.com

whats your 127.0.0.1 machine name?
theres got to be localhost right?
so change whatever daemon to send mail with that (root@localhost).
or with root@your_machine.your_domain

cheers.
# 7  
Old 05-16-2007
Mail

How do I change the daemon?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to specify second mail relay in Solaris?

Dears, I've configured Solaris (10) server to send mails to corporate mailboxes. Now I need to specify second relay, so if mailx will see that mail xxx@aaa.com it will send to 111.111.111.111 (aaa.com) and if it will see that mail belongs to bbb.com - xxx@bbb.com it will send to another IP... (3 Replies)
Discussion started by: nypreH
3 Replies

2. Shell Programming and Scripting

mail too slow on solaris

Hi, I am using /usr/ucb/mail for mailing thru script. But mail reaches after 30-40 mins. What can be the reason and also how to check status and related info (1 Reply)
Discussion started by: Deei
1 Replies

3. Red Hat

Mail Problem. Maybe, it is a DNS Problem!

Hi, i've a redhat linux 9 upadated by redhat from 7 version to 9 version. A couple of days ago i was a problem with my mail, in other words i'm not able to get any email nor to send any email. I've a proxy configuration and i tried to set iptables in order to verify the port. The 110,255 and 995... (1 Reply)
Discussion started by: pintalgi
1 Replies

4. Solaris

mail on Solaris 10

Hi, I work in Solaris 10.... I want to configure the mailing agent in my server.... I have been trying to use the command mail -s "test" hv899@cummins.com Hello EOT What are the configurations to be made to sendmail.cf.. Please let me know.... (3 Replies)
Discussion started by: saharookiedba
3 Replies

5. Solaris

Solaris & mail

On my solaris server, I suddenly got a message saying Message from metatest on server. Check xxx mailbox for details. How do I chcek the message. I don't find xxx mailbox. Please help me ASAP. This is very urgent. Thanks & Regards, Nalina H V (1 Reply)
Discussion started by: nalinahv
1 Replies

6. UNIX for Dummies Questions & Answers

Can not send mail in solaris 5.9

Hi !! I'm trying to send myself a mail from my Solaris server, i had tryed with this commands: mail -s "test" irasela@yahoo.com < /monitoring/space/bitacora.txt mailx -s "test" irasela@yahoo.com < /monitoring/space/bitacora.txt sendmail -F "test" address "irasela.yahoo.com" -t... (1 Reply)
Discussion started by: irasela
1 Replies

7. Solaris

solaris mail query

Hi, I have deployed the same script on a number of Solaris application servers. It is run by cron every ten minutes to check the OS for application daemons. If any of the daemons is found not running, a message is generated to a temporary file. At the end of the script the there is a... (1 Reply)
Discussion started by: jabberwocky
1 Replies

8. Solaris

mail problems - how to send mail on solaris

Hello I am new user on solaris... I need to configure my solaris to be able to send mails... I know mailx command mailx -s hello address@address.com but I get an error... you have mail in /var/mail/root # hello... User unknown /dead.letter... Saved message in /dead.letter what... (10 Replies)
Discussion started by: amon
10 Replies

9. Solaris

Solaris E-Mail Notifications ?!

Hi , I need to have a monitoring system also I wanna have E-Mail Notification .or SMS notification to be on touch with my System : ) ... Regards Adel (1 Reply)
Discussion started by: ArabOracle.com
1 Replies

10. UNIX for Dummies Questions & Answers

mail problem (NOT Mail or Mail.app)

When I try to use the CLI mail, I get the following error. What's wrong? Welcome to Darwin! % mail root Subject: test test . EOT % /etc/mail/sendmail.cf: line 81: fileclass: cannot open /etc/mail/local-host-names: Group writable directory Do I just need to change the... (1 Reply)
Discussion started by: chenly
1 Replies
Login or Register to Ask a Question