09-15-2011
I suppose normally port 25 open...
mail was out before all our fancy Internet protocols in early ages boxes used to communicate via uucp and mail used it...
What OS you are on may help you know, I work mostly on HP (then solaris and aix...) and lately on linux servers and you do see some differences...
I would look if you dont have a /etc/mail directory, then if you have a sendmail.cf file that needs configuring...
I let others continue the discussion now
10 More Discussions You Might Find Interesting
1. New to Unix. Which books should I read?
Hi!
I have 1.5 years experience in unix environment and shell scripting. Now, I started learning UNIX internals and network programming. Can you please help in finding the same material on the net
Thanks
Srinivas. (7 Replies)
Discussion started by: srinivaskathika
7 Replies
2. Filesystems, Disks and Memory
will anybody tell me how can i access all the fields of process table .if there is any structure and a system call please specify . (1 Reply)
Discussion started by: vish_shan
1 Replies
3. UNIX for Dummies Questions & Answers
hi,
Im trying to send a e-mail to two people e.g X & Y . I run a shell script that uses the mail command to send an email to both these people . The email that i am sending contains two attatchments that i 'add' to a .mail file.
mail <recipients> < filename.mail
The problem that im... (1 Reply)
Discussion started by: nbvcxzdz
1 Replies
4. Programming
I know UNIX user level commands, shell scripts. But i have no idea about kernel level programming and networking. I know the terms semaphore,IPC,socket programming. But i don't know in details what are these. I need to know the following.
1. Unix kernel level programming.
2. Unix Internals.
3.... (4 Replies)
Discussion started by: digdarshan
4 Replies
5. UNIX for Dummies Questions & Answers
1)My main script Calls a function IsDomain to check whether the domain is valid or not
PROD>/appl/retek/mpscripts/cat mg3TRn01
#!/bin/ksh
#
# Standard Header Files
#
#
. ${0%${0##*/}}UKMPFunctionLibrary.test
#
# START
#
ScriptStart
#
# Check that domain exists.Print &... (0 Replies)
Discussion started by: Shilpi
0 Replies
6. UNIX for Dummies Questions & Answers
Hello,
When i am using mail command like this:
mail -r prashant.aggarwal@xx.com -s "hiiii" prashant.aggarwal@xx.com < Content.txt i am abl eto dend a mail. Content.txt is a file from which contents are being reda
But when i am trying to execute it thru a shell scipt like this it's giving ... (3 Replies)
Discussion started by: cprash.aggarwal
3 Replies
7. UNIX for Dummies Questions & Answers
I recently generated myself the following error when attempting to use the Unix mail command:
The flags you gave make no sense since you're not sending mail.
There is a recent thread about this issue here in unix.com (with a title very much like this thread's title), but it was closed... (2 Replies)
Discussion started by: Clovis_Sangrail
2 Replies
8. Shell Programming and Scripting
Hi All,
Is it possible to email a file from another directory in Unix shell prompt? In other words, do we have to be in the directory where the file is located to mail the file?
I was in the Mail directory and my file (filename) is in the Practice directory. I tried this and it didn't work:... (7 Replies)
Discussion started by: onlinelearner02
7 Replies
9. What is on Your Mind?
Hello,
Long-time Unix hacker here - I've worked on four variants of the kernel prior to the introduction of Linux. In my spare time, I've written Linux (Ubuntu) device drivers, kernel modules, cross-compiled, and built the kernel.
I'd like to do Linux internals/device drivers as a day job,... (1 Reply)
Discussion started by: OriginalVersion
1 Replies
10. Shell Programming and Scripting
I am using HP-UX server. I tried to send the email with attachment, I used the below unix command to send with attachment but it doent work.
uuencode pepsitoday.csv | mailx -s "csv file" ramkumar15@pepsi.com
---------- Post updated at 02:10 AM ---------- Previous update was at... (2 Replies)
Discussion started by: ramkumar15
2 Replies
LEARN ABOUT SUNOS
create-javamail-resource
asadmin-create-javamail-resource(1AS) User Commands asadmin-create-javamail-resource(1AS)
NAME
asadmin-create-javamail-resource, create-javamail-resource - registers the JavaMail resource
SYNOPSIS
create-javamail-resource --user admin_user [--password admin_password] [--host localhost] [--port 4848] [--secure|-s] [--passwordfile file-
name] [--terse=false] [--echo=false] [--interactive] --mailhost hostname --mailuser username --fromaddress address [--storeprotocol imap]
[--storeprotocolclass com.sun.mail.imapIMAPStore] [--transprotocol smtp] [--transprotocolclass com.sun.mail.smtp.SMTPTransport]
[--debug=false][--enabled=true] [--description text] [--property (name=value)[:name=value]*] jndi_name
Registers the Javamail resource. This command can only be run remotely.
OPTIONS
--user authorized domain application server administrative username.
--password password to administer the domain application server.
--host machine name where the domain application server is running.
--port port number of the domain application server listening for administration requests.
--secure if true, uses SSL/TLS to communicate with the domain application server.
--passwordfile file containing the domain application server password.
--terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-
formatted data for consumption by a script.
--echo setting to true will echo the command line statement on the standard output.
--interactive prompts you for the required options that are not already specified.
--mailhost mail server host.
--mailuser mail account user name.
--fromaddress email address.
--storeprotocol mail server stored protocol.
--storeprotocolclass mail server stored protocol class name.
--transprotocol mail server transport protocol.
--transprotocolclass mail server transport protocol class name.
--debug if set to true, server startsup in debug mode for this resource.
--enabled determines whether the resource is enabled at runtime.
--description text description of the Javamail resource.
--property optional attribute name/value pairs for configuring the Javamail resource.
OPERANDS
jndi_name JNDI name of the Javamail resource to be created.
Example 1: Using create-javamail-resource
asadmin> create-javamail-resource --user admin
--password adminadmin --host fuyako --port 7070 --mailhost localhost
--mailuser sample --fromaddress sample@sun.com mail_resourc/MyMailSession
Command create-javamail-resource executed successfully
Where: mail/MyMailSession is the JavaMail resource created. The escape character () is used in the --fromaddress option to distinguish the
dot (.) and at sign (@). The JNDI name for a JavaMail resource customarily includes the mail/ naming subcontext.
EXIT STATUS
0 command executed successfully
1 error in executing the command
asadmin-delete-javamail-resource(1AS), asadmin-list-javamail-resources(1AS)
J2EE 1.4 SDK March 2004 asadmin-create-javamail-resource(1AS)