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
MAILER.CONF(5)						      BSD File Formats Manual						    MAILER.CONF(5)

NAME
mailer.conf -- configuration file for mailwrapper(8) DESCRIPTION
The file /etc/mailer.conf contains a series of lines of the form name program [arguments ...] The first word of each line is the name of a program invoking mailwrapper(8). (For example, on a typical system /usr/sbin/sendmail would be a symbolic link to mailwrapper(8), as would newaliases(1) and mailq(1). Thus, name might be ``sendmail'' or ``newaliases'' etc.) The second word of each line is the name of the program to actually execute when the first name is invoked. The further arguments, if any, are passed to the program, followed by the arguments mailwrapper(8) was called with. The file may also contain comment lines, denoted by a '#' mark in the first column of any line. The default mailer is postfix(1), which will also start by default (unless specifically disabled via an rc.conf(5) setting) so that locally generated mail can be delivered, if the ``sendmail'' setting in /etc/mailer.conf is set to ``/usr/libexec/postfix/sendmail''. FILES
/etc/mailer.conf EXAMPLES
This example shows how to set up mailer.conf to invoke the postfix(1) program: sendmail /usr/libexec/postfix/sendmail mailq /usr/libexec/postfix/sendmail newaliases /usr/libexec/postfix/sendmail This example shows the use of the mini-sendmail package from pkgsrc in place of postfix(1): # Send outgoing mail to a smart relay using mini-sendmail sendmail /usr/pkg/sbin/mini-sendmail -srelayhost send-mail /usr/pkg/sbin/mini-sendmail -srelayhost Note the use of additional arguments. SEE ALSO
mail(1), mailq(1), newaliases(1), postfix(1), mailwrapper(8) pkgsrc/mail/sendmail, pkgsrc/mail/mini_sendmail HISTORY
mailer.conf appeared in NetBSD 1.4. AUTHORS
Perry E. Metzger <perry@piermont.com> BUGS
The entire reason this program exists is a crock. Instead, a command for how to submit mail should be standardized, and all the ``behave differently if invoked with a different name'' behavior of things like mailq(1) should go away. BSD
April 10, 2010 BSD
All times are GMT -4. The time now is 07:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy