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 |
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.
|
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. |
All times are GMT -5. The time now is 08:01 PM. |