Sponsored Content
Top Forums UNIX for Advanced & Expert Users How to configure sendmail on Suse Linux 9.0...??? Post 302126612 by jumadhiya on Thursday 12th of July 2007 06:39:55 AM
Old 07-12-2007
Hi Sysgate,

I just need to send mails as a root user using "mail" command from my suse linux 9.0 Box to smtp server (Windows System) which will then forward to the correct address.

Example " # mail xyz@yahoo.com "

As per my knowledge there are two main configuration files in /etc/postfix folder;

main.cf
master.cf

Could you please help me out what setting needs to be done for sending the mails to smtp server.

Note : I have added the entry for my smtp server in /etc/hosts file.

Note : I have check the telnet connection using port 25 for the smtp server, it works fine.

Thanks & Regards,
jumadhiya.
 

4 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How to configure sendmail in linux

Hi, I want to know how to configure emails in linux.First how to configure inside the firewall and second how to configure it outside the firewall? Regards, Rajesh (1 Reply)
Discussion started by: rajbal
1 Replies

2. SuSE

How to configure Suse Enterprise Linux 9.0 for sending mails to smtp server...???

Hi All, I have a system running with Suse Enterprise Linux 9.0. xyz# uname -a Linux xyz 2.4.21-291-smp #1 SMP Tue May 24 14:07:45 UTC 2005 i686 unknown I would like to configure postfix on this system for sending mails as a root user using "mail" command to smtp server (Windows System)... (5 Replies)
Discussion started by: jumadhiya
5 Replies

3. UNIX for Dummies Questions & Answers

How do I configure sendmail?

I am trying to run sendmail from a script with the results from that same script. Each time I use sendmail I get the following message in /var/log/maillog: Feb 27 02:25:42 (none) sendmail: m1R1Pg3S013841: to=test@test.com,just,testing, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00,... (1 Reply)
Discussion started by: bronkeydain
1 Replies

4. Solaris

Help to configure sendmail on Solaris 10

Hello, I need help to configure sendmail on Solaris 10. I have to configure sendmail to send mail on the Internet, now works only for sending mail for local users. I'm studying several tutorials ... When I try to send a mail to an external address (eg aaaa@gmail.com) the mail is placed... (3 Replies)
Discussion started by: arfry
3 Replies
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)
All times are GMT -4. The time now is 03:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy