Sponsored Content
Operating Systems Linux SuSE How to configure Suse Enterprise Linux 9.0 for sending mails to smtp server...??? Post 302129662 by jumadhiya on Wednesday 1st of August 2007 04:29:11 AM
Old 08-01-2007
Thanks zazzybob....!!!

When I changed ;

myorigin = smtp.xyz.com

The output of /var/log/mail is as follows;

Aug 1 13:41:55 cn2 postfix/master[8760]: terminating on signal 15
Aug 1 13:41:55 cn2 postfix/postfix-script: starting the Postfix mail system
Aug 1 13:41:55 cn2 postfix/master[3876]: daemon started
Aug 1 13:42:19 cn2 postfix/pickup[3879]: 3F0A735DD1: uid=0 from=<root>
Aug 1 13:42:19 cn2 postfix/cleanup[4130]: 3F0A735DD1: message-id=<20070801081219.3F0A735DD1@linux.local>
Aug 1 13:42:19 cn2 postfix/qmgr[3880]: 3F0A735DD1: from=<root@smtp.xyz.com>, size=317, nrcpt=1 (queue active)
Aug 1 13:42:19 cn2 postfix/smtp[4132]: 3F0A735DD1: to=<ganesh@xyz.com>, relay=smtp.xyz.com[10.10.20.206], delay=0, status=bounced (host smtp.xyz.com[10.10.20.206] said: 554 <root@smtp.xyz.com>: Sender address rejected: Access denied)
Aug 1 13:42:19 cn2 postfix/cleanup[4130]: 9C77B35DEA: message-id=<20070801081219.9C77B35DEA@linux.local>
Aug 1 13:42:19 cn2 postfix/qmgr[3880]: 9C77B35DEA: from=<>, size=2050, nrcpt=1 (queue active)
Aug 1 13:42:19 cn2 postfix/smtp[4132]: 9C77B35DEA: to=<root@smtp.xyz.com>, relay=smtp.xyz.com[10.10.20.206], delay=0, status=bounced (host smtp.xyz.com[10.10.20.206] said: 554 <>: Sender address rejected: Access denied)
========================================================

When I changed ;

myorigin = xyz.com

The output of /var/log/mail is as follows;

Aug 1 13:44:58 cn2 postfix/master[3876]: terminating on signal 15
Aug 1 13:44:58 cn2 postfix/postfix-script: starting the Postfix mail system
Aug 1 13:44:58 cn2 postfix/master[5996]: daemon started
Aug 1 13:45:08 cn2 postfix/pickup[5999]: 36AC235DDF: uid=0 from=<root>
Aug 1 13:45:08 cn2 postfix/cleanup[6113]: 36AC235DDF: message-id=<20070801081508.36AC235DDF@linux.local>
Aug 1 13:45:08 cn2 postfix/qmgr[6000]: 36AC235DDF: from=<root@xyz.com>, size=301, nrcpt=1 (queue active)
Aug 1 13:45:08 cn2 postfix/smtp[6115]: 36AC235DDF: to=<ganesh@xyz.com>, relay=smtp.xyz.com[10.10.20.206], delay=0, status=bounced (host smtp.xyz.com[10.10.20.206] said: 554 <root@xyz.com>: Sender address rejected: Access denied)
Aug 1 13:45:08 cn2 postfix/cleanup[6113]: 4C54935DED: message-id=<20070801081508.4C54935DED@linux.local>
Aug 1 13:45:08 cn2 postfix/qmgr[6000]: 4C54935DED: from=<>, size=2014, nrcpt=1 (queue active)
Aug 1 13:45:08 cn2 postfix/smtp[6115]: 4C54935DED: to=<root@xyz.com>, relay=smtp.xyz.com[10.10.20.206], delay=0, status=bounced (host smtp.xyz.com[10.10.20.206] said: 554 <>: Sender address rejected: Access denied)

As per the above outputs, can you tell me which one should I use. My smtp server address is like abc@xyz.com.....but not like abc@smtp.xyz.com.

Now I just need to add user "root@xyz.com" on my smtp server (Windows) for sending the messages from my SuSE Linux box using root id...right...??

Correct me if I am wrong at any place.

Thanks & Regards,
jumadhiya.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Configure SMTP Server for Unix

Hi, We had an upgrade today morning and since then mailx command is not working. I have been told to change the DNS to use host name as smtp.companyname.com instead of the IP address. Can someone please help me out to know where can I change this on a Unix Server. Thanks Aman (5 Replies)
Discussion started by: chawlaaman
5 Replies

2. UNIX for Advanced & Expert Users

How to configure Linux box with my SMTP mail server

Hi all, I need to send mail to a particular email id using a local mail server.This mail shall contain the content of a file. I don't have any idea how to do it. Can anyone guide me ,where to start proceeding for it. Any guide or study material would appreciated. (1 Reply)
Discussion started by: amit_kv1983
1 Replies

3. SuSE

LKCD for suse linux enterprise server 8

Hi, I have installed LKCD using lkcdutils pakage through Yast install and remove applications. I have used enterprise server cd for installation. But I did not found any service of lkcd like /etc/init.d/boo.lkcd there. if we dont have this servers lkcd dump can not be saved at dump... (0 Replies)
Discussion started by: bryanabhay
0 Replies

4. Linux

Configure SMTP service in linux 5.2

Hi All, How to configure SMTP service in linux 5.2? Please provide me the steps. Thanks Jack (5 Replies)
Discussion started by: jack00423
5 Replies

5. UNIX for Dummies Questions & Answers

Can't configure sendmail to send mails to external SMTP Server

Hi all,I know, that this is very common issue, but I can't find where is the problem... I have Solaris 10 installed.I want to send mail to external SMTP server, like:echo "letter body"| mailx -s "subject" test@test.comBut I donno what kind of changes I have to do in /etc/hosts and sendmail.cf or... (5 Replies)
Discussion started by: nypreH
5 Replies

6. Shell Programming and Scripting

php code - Sending mail with external SMTP server

Here is the code: <?php //new function function loadini($path) { $fp = fopen($path, "r"); $fpcontents = fread($fp, filesize($path)); fclose($fp); return $fpcontents; } $to = "test@test.com"; $nameto = "notme"; $from = "test"; $namefrom = "Who From"; ... (0 Replies)
Discussion started by: galford
0 Replies

7. SuSE

Extend root partition on SuSE enterprise Server 11.1

Hello Folks, Greetings, I am in need of extending the / partition for one of my SuSE linux Enterprise Server 11.1 which is running on VMware. I will be able to extend the virtual lun from the vshphere console but not sure how to extend the root partition from the OS end. I am not sure if I... (1 Reply)
Discussion started by: PSP
1 Replies

8. UNIX for Dummies Questions & Answers

SunOS5.10 and SuSe Linux Enterprise

OK, I've been thrown into an issue at my company where the security folks want password aging turned on for their limited NIS environment. The config is a SunOS5.10 (Solaris 10) Master with several slaves and several SuSe Enterprise Server 11 Clients. What I'm looking to understand is... (0 Replies)
Discussion started by: rzrv15
0 Replies

9. UNIX and Linux Applications

SUSE Linux Enterprise 12

Is there any SUSE enterprise 12 x86_32 version available? I have SUSE enterprise 12 x86_64 and I am unable to compile 32 programs in that. It looks to be that gcc compiler (32 bit) does not come with SUSE 12. How can I get that? Regards, George (6 Replies)
Discussion started by: George47
6 Replies

10. SuSE

Suse enterprise server installation help

hello All, good day to you. could you tell me is there any way I can download SUSE lunux enterprise server trail version ? I want to install sap application over it. thanks in advance. (1 Reply)
Discussion started by: Leaner_963
1 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 04:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy