LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-28-2012, 10:42 AM   #1
n_raghuvanshi
LQ Newbie
 
Registered: Mar 2012
Posts: 12

Rep: Reputation: Disabled
want to know how my machine in sending a mail


Hi All,

I am using a SLES 10 machine which was not configured by me. I am able to send mails from that machine but don't know which MTA it is using. I tried to look which service is listening on port 25 and found it was postfix. Then I checked main.cf file, but there is no configuration, But still I am able to send mails using mail or nail . Could someone help me with this, I can copy the contents of main.cf here is someone wants that.

Thanks
 
Old 08-28-2012, 11:13 AM   #2
yucefrizk
Member
 
Registered: Nov 2009
Posts: 44

Rep: Reputation: 18
try to send a mail after stopping postfix, will it go through? If postfix is listening on port 25 so it's your MTA, in the init.d directory you can find your postfix startup script, and basically in this script you can find the location of the configuration file. Other solution to find your conf file is by running postfix with strace command.
 
Old 08-29-2012, 05:01 AM   #3
n_raghuvanshi
LQ Newbie
 
Registered: Mar 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
Hi,

I checked that scrip, here is the head of that file

MASTER_BIN=/usr/lib/postfix/master
PIDFILE=/var/spool/postfix/pid/master.pid
POSTFIX_BIN=/usr/sbin/postfix
POSTCONF=/usr/sbin/postconf
OPENSLP_BIN=/usr/bin/slptool

test -x $POSTFIX_BIN || exit 5
test -x $MASTER_BIN || exit 5
test -f /etc/sysconfig/postfix && . /etc/sysconfig/postfix


Which one of them is the configuration file.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mailserver sending but not sending mail from outside. simango Linux - Newbie 1 10-28-2008 09:51 AM
sending mail directly to another machine on the local network? lmcilwain Fedora 3 06-27-2006 02:48 PM
Problems sending mail from one local machine to the other ricky_ds Linux - Networking 6 11-11-2004 09:48 AM
Sending mail with PHP on linux machine through exchange on Windows server 2003 TVScoundrel Linux - Newbie 1 06-18-2004 02:22 PM
Sending mail with PHP on linux machine through exchange on Windows server 2003 TVScoundrel Linux - Networking 2 06-18-2004 01:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration