Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Mail not sent through terminal Post 302917688 by kannansoft1985 on Thursday 18th of September 2014 08:30:03 AM
Old 09-18-2014
Mail not sent through terminal

The Mail not sent through terminal by using following command,
Code:
mail -s " check " upload.xxx@example.com> msg.txt

By listing the location of following ouputs,Please check this
Code:
 [root@edms032 ~]# ls -ld / /etc/ /etc/mail
  drwxr-xr-x  30 root root  4096 Sep 18 17:56 /
  drwxr-xr-x  89 root root 12288 Sep 18 17:58 /etc/
  drwxr-xr-x   3 root root  4096 Sep 13 15:43 /etc/mail
   

  [root@edms032 ~]# ls -l /etc/mail
  total 348
  -rw-r--r--  1 root root   331 Jun  9  2006 access
  -rw-r-----  1 root root 12288 Feb 24  2009 access.db
  -rw-r--r--  1 root root     0 Jun  9  2006 domaintable
  -rw-r-----  1 root root 12288 Feb 24  2009 domaintable.db
  -rw-r--r--  1 root root  5588 Jun  9  2006 helpfile
  -rw-r--r--  1 root root    64 Jun  9  2006 local-host-names
  -rw-r--r--  1 root root     0 Jun  9  2006 mailertable
  -rw-r-----  1 root root 12288 Feb 24  2009 mailertable.db
  -rw-r--r--  1 root root  1035 Jun  9  2006 Makefile
  -rw-r--r--  1 root root 57999 Sep 13 13:24 sendmail.cf
  -rw-r--r--  1 root root 58078 Feb 24  2009 sendmail.cf.bak
  -rw-r--r--  1 root root  6744 Jan 24  2011 sendmail.mc
  drwxr-xr-x  2 root root  4096 Feb 24  2009 spamassassin
  -rw-r--r--  1 root root 40271 Sep 13 14:14 submit.cf
  -r--r--r--  1 root root 41347 Jun  9  2006 submit.cf.bak
  -rw-r--r--  1 root root   952 Jun  9  2006 submit.mc
  -rw-r--r--  1 root root   128 Sep 12 19:44 trusted-users
  -rw-r--r--  1 root root     0 Jun  9  2006 virtusertable
  -rw-r-----  1 root root 12288 Feb 24  2009 virtusertable.db
   
[root@edms032 ~]# ls -al /etc/mail
  total 372
  drwxr-xr-x   3 root root  4096 Sep 13 15:43 .
  drwxr-xr-x  89 root root 12288 Sep 18 17:58 ..
  -rw-r--r--   1 root root   331 Jun  9  2006 access
  -rw-r-----   1 root root 12288 Feb 24  2009 access.db
  -rw-r--r--   1 root root     0 Jun  9  2006 domaintable
  -rw-r-----   1 root root 12288 Feb 24  2009 domaintable.db
  -rw-r--r--   1 root root  5588 Jun  9  2006 helpfile
  -rw-r--r--   1 root root    64 Jun  9  2006 local-host-names
  -rw-r--r--   1 root root     0 Jun  9  2006 mailertable
  -rw-r-----   1 root root 12288 Feb 24  2009 mailertable.db
  -rw-r--r--   1 root root  1035 Jun  9  2006 Makefile
  -rw-r--r--   1 root root 57999 Sep 13 13:24 sendmail.cf
  -rw-r--r--   1 root root 58078 Feb 24  2009 sendmail.cf.bak
  -rw-r--r--   1 root root  6744 Jan 24  2011 sendmail.mc
  drwxr-xr-x   2 root root  4096 Feb 24  2009 spamassassin
  -rw-r--r--   1 root root 40271 Sep 13 14:14 submit.cf
  -r--r--r--   1 root root 41347 Jun  9  2006 submit.cf.bak
  -rw-r--r--   1 root root   952 Jun  9  2006 submit.mc
  -rw-r--r--   1 root root   128 Sep 12 19:44 trusted-users
  -rw-r--r--   1 root root     0 Jun  9  2006 virtusertable
  -rw-r-----   1 root root 12288 Feb 24  2009 virtusertable.db


Last edited by vbe; 09-18-2014 at 09:41 AM.. Reason: code tags... & rm email tag
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

connecting to unix through hyper terminal - as a dumb terminal

I just changed from windows NT to XP and I am no longer able to connect to my unix system. I used to use hyper terminal -- which acts as dumb terminal to my main frame unix system. I think one of the options used to be "direct to comX". This option isn't listed now. I use a serial port and the... (2 Replies)
Discussion started by: michelle
2 Replies

2. Solaris

how to forward mail in /var/mail/username to external mail

Dear All, Now I use solaris 10 and I try to forward mail from /var/mail/username to their external mail so what should I do? thank u in advance (2 Replies)
Discussion started by: unitipon
2 Replies

3. UNIX for Advanced & Expert Users

Pseudo-terminal will not be allocated because stdin is not a terminal.

I am trying to automate a SSH login using Keys using the following command ssh -i id_rsa usernamw@ipaddr. I am successful in doing this and i am getting the Warning Screen and I logon successfully. but when I am executing the command tail -1cf put.dat | ssh -i id_rsa username@ipaddr > get.dat ... (1 Reply)
Discussion started by: Shivdatta
1 Replies

4. UNIX for Dummies Questions & Answers

Gnuplot wxt terminal vs x11 terminal

Hi, I installed ubuntu recently on my pc. And I installed gnuplot as well. When I first started working with gnuplot it was working . I did a plot and when I wanted to fit my data something happened and not the default terminal of gnuplot is xwt! I changed it to: set terminal x11, but it... (0 Replies)
Discussion started by: cosmologist
0 Replies

5. UNIX for Advanced & Expert Users

need to configure mail setting to send mail to outlook mail server

i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail. actually i am trying to automate the high... (2 Replies)
Discussion started by: amitranjansahu
2 Replies

6. OS X (Apple)

Read and manage mail under Terminal

When opening Terminal window under Mac OS Lion, I have a message saying I've got mail . It seems to be somewhere close to ~/Library/Server/Mail/Data/spool/ but I ignore what command to be typed in order to read it and suppress it later once read. (1 Reply)
Discussion started by: shub22
1 Replies

7. UNIX for Dummies Questions & Answers

Sending Mail in OS X Terminal

Hi All! I would like your assistance with an issue that I have been having with OS X (Snow Leopard 10.6.8) and sending mail through the Terminal. I had been trying to send mail from Terminal to my GMail account from my home, where I have a Verizon DSL Internet connection routed through a... (0 Replies)
Discussion started by: danielsutton
0 Replies

8. Shell Programming and Scripting

Cannot get terminal application to launch with a graphical launcher when successful in terminal

I have been having an extremely annoying problem. For the record, I am relatively new at this. I've only been working with unix-based OS's for roughly two years, mostly Xubuntu and some Kali. I am pretty familiar with the BASH language, as that's the default shell for debian. Now, I've made this... (16 Replies)
Discussion started by: Huitzilopochtli
16 Replies

9. Shell Programming and Scripting

Print Terminal Output Exactly how it Appears in the Terminal to a New Text File

Hello All, I have a text file containing output from a command that contains lots of escape/control characters that when viewed using vi or view, looks like jibberish. But when viewed using the cat command the output is formatted properly. Is there any way to take the output from the cat... (7 Replies)
Discussion started by: mrm5102
7 Replies

10. UNIX for Advanced & Expert Users

Client was not authenticated to send anonymous mail during MAIL FROM (in reply to MAIL FROM comm

I am having trouble getting mail to work on a red hat server. At first I was getting this message. Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to :25: Connection refused Then added the port to my firewall. Then I temporarily turned off selinux. I then copied this file... (1 Reply)
Discussion started by: cokedude
1 Replies
mailusradm(8)						      System Manager's Manual						     mailusradm(8)

NAME
mailusradm - Administer User Mail SYNOPSIS
/usr/sbin/sysman mailusradm [-ui cui [cuioptions] | gui [x resources]] OPTIONS
Specifies the user interface to be invoked. The choices are: Invokes the command line interface. Invokes the graphical user interface. Specific command line options that will be used to interact. Specifies the standard X11 resource options. For more information, see the X(1X) reference page DESCRIPTION
The Mail User Administration application is used by the system administrator to administer the mail system. Specifically, the mail adminis- trator can change the mail service type of a single user, a group of users, or all the users on a local system. The mail administrator can also delete defunct mail user accounts. The mail service types are: Local Mail Post Office Protocol (POP), which is designed to allow single user computers to retrieve electronic mail from a POP server. The POP server might be a computer with a permanent Internet connection where its clients might connect to it only occasionally. Internet Message Access Protocol (IMAP), which is a protocol that allows a client to access and manipulate electronic mail messages on a server. IMAP allows the manipulation of remote message folders known as mailboxes. IMAP has operations for creating, delet- ing, and renaming mailboxes; for checking for new messages; for permanently removing messages; for searching; and for selective fetching of message attributes, text, and other portions. It does not specify a means of posting mail; a mail transfer protocol, such as SMTP, handles this function. Furthermore, the mail administrator can specify the use of mail passwords on users under POP and IMAP. mailusradm has two user interface options: Graphical user interface (GUI) Command line interface (CUI) Running the Graphical User Interface Option: The mailusradm application can be invoked from: The CDE Application Manager Application Group: System_Admin Desktop_Apps Subgroup: Configuration To start mailusradm from the command line, enter: /usr/sbin/sysman mailusradm -gui Running the Command Line Interface Option: To start the mailusradm command line interface, enter the following command from the terminal: /usr/sbin/sysman mailusradm -ui cui [cuiop- tions] RESTRICTIONS
You must have the appropriate privileges to use this application. FILES
Mail User Administration application Help Volume SEE ALSO
Commands: cyradm(1), dtmail(1), imapd(8), mailauth(8), mailconfig(8), popd(8) System Administration mailusradm(8)
All times are GMT -4. The time now is 09:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy