Sponsored Content
Full Discussion: E-mail problem
Top Forums UNIX for Dummies Questions & Answers E-mail problem Post 9394 by guest100 on Friday 26th of October 2001 06:01:33 AM
Old 10-26-2001
If anyone can help it would be much appreciated. Below is a problem with a few comments. Analysing we have:
<pre>

$mailq
Mail Queue (750 requests)
--Q-ID-- --Size-- -----Q-Time----- ------------Sender/Recipient------------
JAA01371 142 Fri Oct 26 09:59 prod
(alias database unavailable)
none
JAA01162 127 Fri Oct 26 09:49 prod
(alias database unavailable)
none
HAA28981 5545 Fri Oct 26 07:37 MAILER-DAEMON
(alias database unavailable)
root

........................etc and at the end...................

LAF20326 1266 Sun Oct 21 11:22 MAILER-DAEMON
(alias database unavailable)
prod
LAE20326 1266 Sun Oct 21 11:22 MAILER-DAEMON
(alias database unavailable)
prod
LAA20171 1244 Sun Oct 21 11:07 MAILER-DAEMON
(alias database unavailable)
prod

// prod is an oracle instance

root)56: pwd
/var/mail
isgsi01(root)57: ls -la
total 28
drwxrwxrwt 3 root mail 512 Oct 16 12:21 ./
drwxrwxrwx 26 root sys 512 Aug 3 14:52 ../
drwxrwxr-x 2 root mail 512 Aug 31 11:02 :saved/
-rw-rw---- 1 adm mail 10867 Aug 16 02:30 adm

root)57:more adm
From adm Tue Jul 17 02:30:02 2001
Received: (from adm@localhost)
by *****************(8.9.3+Sun/8.9.1) id CAA29318;
Tue, 17 Jul 2001 02:30:01 +0100 (BST)
Date: Tue, 17 Jul 2001 02:30:01 +0100 (BST)
From: Admin <adm>
Message-Id: <200107170130.CAA29318@************>
To: adm, root
Content-Length: 79

Tue Jul 17 02:30:01 BST 2001
***UPDATE /etc/acct/holidays WITH NEW HOLIDAYS***

(root)90: pwd
/var/log
(root)91: tail syslog
Oct 26 09:52:42 **********sendmail[1269]: NOQUEUE: SYSERR(root): dbm map "Alias0": unsafe map file /etc/mail/aliases: No such file or directory
Oct 26 09:53:16 **********sendmail[1272]: NOQUEUE: SYSERR(aris): dbm map "Alias0": unsafe map file /etc/mail/aliases: No such file or directory
Oct 26 09:53:16 **********sendmail[1272]: NOQUEUE: SYSERR(aris): Cannot create database for alias file /etc/mail/aliases
Oct 26 09:59:19 **********sendmail[1371]: NOQUEUE: SYSERR: putoutmsg (NO-HOST): error on output channel sending "451 dbm map "Alias0": unsafe map file /etc/mail/aliases: No such file or directory": I/O error
Oct 26 09:59:19 **********sendmail[1371]: NOQUEUE: SYSERR(prod): dbm map "Alias0": unsafe map file /etc/mail/aliases: No such file or directory

---------------- I don't know if I should play around with the following dirs/files------------

(root)8: pwd
/usr/lib/mail/mailer
(root)9: cd ..
(root)10: ls -al
total 200
drwxr-xr-x 8 root mail 512 Jul 16 17:44 ./
drwxrwxrwx 45 root bin 10240 Mar 19 2001 ../
-r--r--r-- 1 root mail 83427 May 6 1999 README
drwxrwxr-x 2 root mail 512 Mar 19 2001 cf/
drwxrwxr-x 2 root mail 512 Mar 19 2001 domain/
drwxr-xr-x 2 root mail 1536 Mar 19 2001 feature/
drwxr-xr-x 3 root mail 512 Jul 16 17:44 mailer/
drwxr-xr-x 2 root mail 512 Mar 19 2001 ostype/
drwxr-xr-x 2 root mail 512 Mar 19 2001 sh/

(root)12: ls -la /usr/bin/mail
-r-x--s--x 1 bin mail 67008 Feb 14 2001 /usr/bin/mail*

(root)13Smiliewd
/home/aris

(root)14: ls -l mail2send
-rw-r--r-- 1 aris staff 21 Oct 23 11:21 mail2send

(root)35: /usr/lib/sendmail -v aris < mail2send // aris is a local user
dbm map "Alias0": unsafe map file /etc/mail/aliases: No such file or directory
aris... queued
// when I use the same with full domainname for sender like somebody@somewhere.com the mail arrives fine at its destination

(root)15:mailq
...../......
LAA20171 1244 Sun Oct 21 11:07 MAILER-DAEMON
(alias database unavailable)
prod

KAA02364 (no control file)


</pre>

Maybe the problem is in:

(root)47: ls -al /etc/mail/main.cf
-r--r--r-- 1 bin bin 27781 Mar 19 2001 /etc/mail/main.cf

Any ideas ??
Thanks alot
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Problem with mail

what I have to write in a shell that every time that it arrives a new e-mail has to perform a program taking some data from the e-mail. (2 Replies)
Discussion started by: mmistero
2 Replies

2. UNIX for Advanced & Expert Users

mail problem !!

Hi, Below a try to send an email to a local user can be seen. I can NOT send e-mail anywhere, but I receive email perfectly. <pre> isgsi01(root)10: mail aris < /home/aris/mail2send dbm map "Alias0": unsafe map file /etc/mail/aliases: No such file or directory </pre> ..... but the... (3 Replies)
Discussion started by: guest100
3 Replies

3. 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

4. UNIX for Dummies Questions & Answers

Problem with mail.

Hello! I have two servers with Solaris 2.7 I send mail from first to second. The first is also dns. It's known as "ns.oldb.pkb", second is "dev.pkb". Ping works successful from 1 to 2 and vice verse. But when I am trying on first server : sendmail -v user@dev.pkb < /etc/motd it is... (3 Replies)
Discussion started by: Colf
3 Replies

5. OS X (Apple)

mail problem

i have mac os x 2.2 jaguar and Mail wont open any links? When i click on them it just does nothing. does anybody know why/how to fix it? please help me.. thanks, blip (4 Replies)
Discussion started by: Blip
4 Replies

6. UNIX for Dummies Questions & Answers

mail problem

if ping $1 3 then { sleep 1 echo "HELO domain.co.uk" sleep 1 echo "MAIL FROM: mark@domain.co.uk" sleep 1 echo "RCPT TO: markms@domain.co.uk" sleep 1 echo "DATA" echo "This is a test from a file." echo "." echo "quit" } | telnet $1 25 else echo problem fi The above is... (1 Reply)
Discussion started by: markms
1 Replies

7. Shell Programming and Scripting

problem with Mail !

I have a o/p file called a1.txt from a script. I m mailing this file but the problem is that in the mail the format is comming different. Contents of a1.txt ------------------------------------ Meter 090845086LG is now Made AMR Active Meter 090845088LG is now Made AMR Active Meter... (4 Replies)
Discussion started by: ali560045
4 Replies

8. Shell Programming and Scripting

mail problem

hi folks , i am working in UNIX . i was wondered when i gone through below lines in some scripts. Can anyone describe me how this is working . thanks in advance.. /usr/sbin/sendmail -t < $0.email /usr/bin/mailx -s "$EDI_HOST: Report....@ `date`" GROUP_ALERT <<EOF `cat $0.email`... (3 Replies)
Discussion started by: rdhaprakasam
3 Replies

9. 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

10. UNIX for Advanced & Expert Users

HP UX mail problem

I am uxing HP UX mailx, I want to send mail with: 1) to list 2) cc list 3) sender address 4) mail body 5) subject 6) attachment I am using : (cat cc_list; cat mail_body; ux2dos file_1 | uuencode attachment.txt)|mailx -m -s "subject" -r sender@abc.com recepient@abc.com cc_list... (2 Replies)
Discussion started by: gautamadak
2 Replies
All times are GMT -4. The time now is 05:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy