11-06-2001
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 file 'aliases' is there
<pre>
isgsi01(root)11: cd /etc/mail
isgsi01.(root)12: ls -l
-rw-r--r-- 1 root bin 1195 Oct 8 10:22 aliases
-rw-r--r-- 1 root other 40960 Sep 28 18:55 aliases.db.orig
-rw-r--r-- 1 root other 1201 Sep 6 12:22 aliases.org
-rw-r--r-- 1 root other 1024 Sep 28 19:41 aliases.pag.tq
-rw-r--r-- 1 root other 1195 Oct 8 09:40 aliases.tq
-rw-r--r-- 1 bin bin 234496 Oct 9 09:29 Mail.rc
-rw-r--r-- 1 bin bin 1829 Mar 19 2001 mailx.rc
-r--r--r-- 1 bin bin 27781 Mar 19 2001 main.cf
-rw-r--r-- 1 root other 470016 Oct 9 09:32 problem.mail
-rw-r--r-- 1 root other 28492 Oct 5 08:24 sendmail.cf
-r--r--r-- 1 root other 28492 Oct 3 11:51 sendmail.cf.186k
-rw-r--r-- 1 root other 27567 May 1 2001 sendmail.cf.sol_orig
-rw-r--r-- 1 root other 28491 Aug 31 11:03 sendmail.cf.tq
-rw-r--r-- 1 bin bin 851 Nov 6 10:42 sendmail.cw
-rw-r--r-- 1 root bin 4911 Sep 1 1998 sendmail.hf
-rw-r--r-- 1 root root 32 Oct 9 14:21 sendmail.pid
-r--r--r-- 1 bin bin 28407 Mar 19 2001 subsidiary.cf
...and the resolv.conf file is fine.
can anyone help please?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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 Dummies Questions & Answers
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
3. UNIX for Dummies Questions & Answers
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
4. OS X (Apple)
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
5. UNIX for Dummies Questions & Answers
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
6. Shell Programming and Scripting
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
7. Shell Programming and Scripting
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
8. Red Hat
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
9. UNIX for Advanced & Expert Users
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
10. UNIX for Dummies Questions & Answers
Hi All,
I am having a problem that is very similar to the one being discussed here. I am using OS X and am trying to send mail from the OS X Terminal to my GMail account. The mail seems to go through, but gets stuck at Google's servers. I have a log file from the /var/mail directory that... (0 Replies)
Discussion started by: danielsutton
0 Replies
aliases(4) Kernel Interfaces Manual aliases(4)
NAME
aliases - Contains alias definitions for the sendmail program
SYNOPSIS
/var/adm/sendmail/aliases
DESCRIPTION
By default, the aliases file contains the required aliases for the sendmail program. Do not delete these defaults because they are needed
by the system. This file describes user ID aliases used by the sendmail command. It is formatted as a series of lines in the form: name:
name_1, name_2, name_3,..
The name is the name that needs an alias, and the name_n are the aliases for that name. Lines beginning with white space are continuation
lines. Lines beginning with a # (number sign) are comments.
You can define an alias only on local names. Duplicate addresses are removed and no message is sent to any person more than once. For
example, if name_1 defines an alias that is name_2 and name_2 defines an alias that is name_1, sendmail does not send the same message back
and forth. Local and valid recipients who have a .forward file in their home directory have messages forwarded to the list of users
defined in that file.
This is only the raw data file; the actual information that defines the aliases is placed into a binary format in the files /var/adm/send-
mail/aliases.dir and /var/adm/sendmail/aliases.pag using the newaliases command. For the change to take effect, the newaliases command
must be executed each time the aliases file is changed.
The sendmail program also supports sending messages to programs or appending a message to a file. See the sendmail(8) reference page for
further information.
Special Aliases
Directs error messages that occur when sending to aliasname back to address.
RESTRICTIONS
Aliases for sendmail use the dbm(3) database format for faster lookups. A single alias cannot exceed 1,000 characters. To work around this
restriction, you can chain together aliases. For example: alias-list: ali1, ali2, ali3 ali1: name 1, name 2 ... ali2: name n, name n + 1
FILES
Binary aliases file. Binary aliases file.
RELATED INFORMATION
Commands: newaliases(1), forward(4), local.users(4), sendmail(8) delim off
aliases(4)