Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 3rd April 2009, 03:55
londonman londonman is offline
Junior Member
 
Join Date: Mar 2009
Posts: 22
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by deconectat View Post
This should all be on the same line:
yast2 -i php5-bcmath php5-bz2 php5-calendar php5-ctype php5-curl php5-dbase php5-dom php5-ftp php5-gd php5-gettext php5-gmp php5-iconv php5-imap php5-ldap php5-mbstring php5-mcrypt php5-mysql php5-ncurses php5-odbc php5-openssl php5-pcntl php5-pgsql php5-posix php5-shmop php5-snmp php5-soap php5-sockets php5-sqlite php5-sysvsem php5-tokenizer php5-wddx php5-xmlrpc php5-xsl php5-zlib php5-exif php5-fastcgi php5-pear php5-sysvmsg php5-sysvshm ImageMagick curl

Many Thank for that - just did not see it.
__________________
Londonman

The future is in our hands, so make the most of it.
Reply With Quote
Sponsored Links
  #12  
Old 3rd April 2009, 04:02
londonman londonman is offline
Junior Member
 
Join Date: Mar 2009
Posts: 22
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
It's
Code:
telnet 127.0.0.1 25
BTW, you can connect to the server with an SSH client such as PuTTY. With PuTTY, you can simply copy&paste all commands from the tutorial.
Ok. Thanks.

I have started again and been halted at the same place details are as follows:-
# cd /etc/postfix/ssl
:/etc/postfix/ssl # vi /etc/postfix/master.cf
:/etc/postfix/ssl # /etc/init.d/postfix restart
Shutting down mail service (Postfix) done
Starting mail service (Postfix) done
:/etc/postfix/ssl # telnet localhost 25
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
__________________
Londonman

The future is in our hands, so make the most of it.
Reply With Quote
  #13  
Old 3rd April 2009, 13:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Any errors in your mail log?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #14  
Old 3rd April 2009, 14:23
londonman londonman is offline
Junior Member
 
Join Date: Mar 2009
Posts: 22
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by londonman View Post
Ok. Thanks.

I have started again and been halted at the same place details are as follows:-
# cd /etc/postfix/ssl
:/etc/postfix/ssl # vi /etc/postfix/master.cf
:/etc/postfix/ssl # /etc/init.d/postfix restart
Shutting down mail service (Postfix) done
Starting mail service (Postfix) done
:/etc/postfix/ssl # telnet localhost 25
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
Ok. continuing.
Got this far not sure what has gone wrong.

Starting SuSEconfig, the SuSE Configuration Tool...
Running in full featured mode.
Reading /etc/sysconfig and updating the system...
Executing /sbin/conf.d/SuSEconfig.glib2...
Executing /sbin/conf.d/SuSEconfig.groff...
Executing /sbin/conf.d/SuSEconfig.permissions...
Executing /sbin/conf.d/SuSEconfig.postfix...
*** WARNING ***
Found /etc/postfix/master.cf.SuSEconfig, exiting...
*** WARNING ***
Executing /sbin/conf.d/SuSEconfig.scpm...
Finished.
__________________
Londonman

The future is in our hands, so make the most of it.
Reply With Quote
  #15  
Old 3rd April 2009, 15:21
londonman londonman is offline
Junior Member
 
Join Date: Mar 2009
Posts: 22
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
Any errors in your mail log?
I have done the following, this is the result

# /var/log/mail
-bash: /var/log/mail: Permission denied

is this the wrong command? or have i set it up wrong thus far.
__________________
Londonman

The future is in our hands, so make the most of it.
Reply With Quote
  #16  
Old 4th April 2009, 13:17
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Use
Code:
vi /var/log/mail
or
Code:
cat /var/log/mail
To check the last 100 lines, you can use
Code:
tail -n100 /var/log/mail
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #17  
Old 4th April 2009, 17:22
londonman londonman is offline
Junior Member
 
Join Date: Mar 2009
Posts: 22
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
Use
Code:
vi /var/log/mail
or
Code:
cat /var/log/mail
To check the last 100 lines, you can use
Code:
tail -n100 /var/log/mail
Thanks for that

I have ran the following commands and her are the results:-

xxxxxx:~ # /var/log/mail
-bash: /var/log/mail: Permission denied

xxxxxx:~ # cat /var/log/mail
Apr 2 21:55:54 linux postfix/postfix-script[3861]: fatal: the Postfix mail system is not running
Apr 2 21:56:44 linux-9cln postfix/postfix-script[6092]: fatal: the Postfix mail system is not running
Apr 2 21:57:01 linux-9cln postfix/postfix-script[6782]: fatal: the Postfix mail system is not running
Apr 2 21:57:13 linux-9cln postfix/postfix-script[7156]: fatal: the Postfix mail system is not running
Apr 2 21:57:17 linux-9cln postfix/postfix-script[7409]: fatal: the Postfix mail system is not running
Apr 2 21:57:30 linux-9cln postfix/postfix-script[9439]: starting the Postfix mail system
Apr 2 21:57:30 linux-9cln postfix/master[9440]: daemon started -- version 2.5.5, configuration /etc/postfix
Apr 2 23:12:47 linux-9cln postfix/postfix-script[26238]: refreshing the Postfix mail system
Apr 2 23:12:47 linux-9cln postfix/master[9440]: reload configuration /etc/postfix
Apr 2 23:12:59 linux-9cln postfix/postfix-script[27757]: refreshing the Postfix mail system
Apr 2 23:12:59 linux-9cln postfix/master[9440]: reload configuration /etc/postfix
Apr 2 23:14:50 linux-9cln postfix/postfix-script[28090]: refreshing the Postfix mail system
Apr 2 23:14:50 linux-9cln postfix/master[9440]: reload configuration /etc/postfix
Apr 2 23:15:00 linux-9cln postfix/postfix-script[29385]: refreshing the Postfix mail system
Apr 2 23:15:00 linux-9cln postfix/master[9440]: reload configuration /etc/postfix
Apr 2 23:21:30 linux-9cln postfix/master[9440]: terminating on signal 15
Apr 2 23:24:00 xxxxxx postfix/postfix-script[2950]: starting the Postfix mail system
Apr 2 23:24:01 xxxxxx postfix/master[2951]: daemon started -- version 2.5.5, configuration /etc/postfix
Apr 2 23:59:47 xxxxxx postfix/postfix-script[3649]: refreshing the Postfix mail system
Apr 2 23:59:47 xxxxxx postfix/master[2951]: reload configuration /etc/postfix
Apr 3 00:01:05 xxxxxx postfix/postfix-script[3961]: refreshing the Postfix mail system
Apr 3 00:01:05 xxxxxx postfix/master[2951]: reload configuration /etc/postfix
Apr 3 00:19:13 xxxxxx postfix/postfix-script[4315]: refreshing the Postfix mail system
Apr 3 00:19:13 xxxxxx postfix/master[2951]: reload configuration /etc/postfix
Apr 3 00:24:04 xxxxxx postfix/postfix-script[4677]: refreshing the Postfix mail system
Apr 3 00:24:04 xxxxxx postfix/master[2951]: reload configuration /etc/postfix
Apr 3 00:31:02 xxxxxx postfix/postfix-script[5228]: refreshing the Postfix mail system
Apr 3 00:31:02 xxxxxx postfix/master[2951]: reload configuration /etc/postfix
Apr 3 00:31:30 xxxxxx postfix/postfix-script[5457]: refreshing the Postfix mail system
Apr 3 00:31:30 xxxxxx postfix/master[2951]: reload configuration /etc/postfix
Apr 3 02:50:21 xxxxxx postfix/master[2951]: terminating on signal 15
Apr 3 02:50:22 xxxxxx postfix/postfix-script[5878]: starting the Postfix mail system
Apr 3 02:50:22 xxxxxx postfix/master[5879]: fatal: /etc/postfix/master.cf: line 23: missing "transport type" field
Apr 3 01:51:23 xxxxxx postfix/postqueue[6014]: fatal: Cannot flush mail queue - mail system is down
Apr 3 03:21:47 xxxxxx postfix/postfix-script[6139]: starting the Postfix mail system
Apr 3 03:21:47 xxxxxx postfix/master[6140]: fatal: /etc/postfix/master.cf: line 23: missing "transport type" field
Apr 3 02:22:48 xxxxxx postfix/postqueue[6275]: fatal: Cannot flush mail queue - mail system is down
Apr 3 11:35:25 xxxxxx postfix/postfix-script[3111]: starting the Postfix mail system
Apr 3 11:35:25 xxxxxx postfix/master[3112]: fatal: /etc/postfix/master.cf: line 23: missing "transport type" field
Apr 3 10:36:27 xxxxxx postfix/postqueue[3322]: fatal: Cannot flush mail queue - mail system is down
Apr 3 11:57:56 xxxxxx postfix/postfix-script[3664]: fatal: the Postfix mail system is not running
Apr 3 12:00:05 xxxxxx authdaemond: modules="authuserdb authpam authpgsql authldap authmysql authcustom authpipe", daemons=5
Apr 3 12:00:05 xxxxxx authdaemond: Installing libauthuserdb
Apr 3 12:00:05 xxxxxx authdaemond: file not found
Apr 3 12:00:05 xxxxxx authdaemond: Installing libauthpam
Apr 3 12:00:05 xxxxxx authdaemond: Installation complete: authpam
Apr 3 12:00:05 xxxxxx authdaemond: Installing libauthpgsql
Apr 3 12:00:05 xxxxxx authdaemond: file not found
Apr 3 12:00:05 xxxxxx authdaemond: Installing libauthldap
Apr 3 12:00:05 xxxxxx authdaemond: file not found
Apr 3 12:00:05 xxxxxx authdaemond: Installing libauthmysql
Apr 3 12:00:05 xxxxxx authdaemond: file not found
Apr 3 12:00:05 xxxxxx authdaemond: Installing libauthcustom
Apr 3 12:00:05 xxxxxx authdaemond: Installation complete: authcustom
Apr 3 12:00:05 xxxxxx authdaemond: Installing libauthpipe
Apr 3 12:00:05 xxxxxx authdaemond: file not found
Apr 4 01:35:11 xxxxxx authdaemond: stopping authdaemond children
Apr 4 15:38:11 xxxxxx authdaemond: modules="authuserdb authpam authpgsql authldap authmysql authcustom authpipe", daemons=5
Apr 4 15:38:11 xxxxxx authdaemond: Installing libauthuserdb
Apr 4 15:38:11 xxxxxx authdaemond: file not found
Apr 4 15:38:11 xxxxxx authdaemond: Installing libauthpam
Apr 4 15:38:12 xxxxxx authdaemond: Installation complete: authpam
Apr 4 15:38:12 xxxxxx authdaemond: Installing libauthpgsql
Apr 4 15:38:12 xxxxxx authdaemond: file not found
Apr 4 15:38:12 xxxxxx authdaemond: Installing libauthldap
Apr 4 15:38:12 xxxxxx authdaemond: file not found
Apr 4 15:38:12 xxxxxx authdaemond: Installing libauthmysql
Apr 4 15:38:12 xxxxxx authdaemond: file not found
Apr 4 15:38:12 xxxxxx authdaemond: Installing libauthcustom
Apr 4 15:38:12 xxxxxx authdaemond: Installation complete: authcustom
Apr 4 15:38:12 xxxxxx authdaemond: Installing libauthpipe
Apr 4 15:38:12 xxxxxx authdaemond: file not found
Apr 4 15:38:22 xxxxxx postfix/postfix-script[3344]: starting the Postfix mail system
Apr 4 15:38:23 xxxxxx postfix/master[3345]: fatal: /etc/postfix/master.cf: line 23: missing "transport type" field
Apr 4 14:39:23 xxxxxx postfix/postqueue[3557]: fatal: Cannot flush mail queue - mail system is down

Then i ran the following:-

xxxxxx:~ # /etc/init.d/postfix restart
Shutting down mail service (Postfix) done
Starting mail service (Postfix)

Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused

Sorry still no joy
__________________
Londonman

The future is in our hands, so make the most of it.
Reply With Quote
  #18  
Old 5th April 2009, 14:59
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Apr 4 15:38:23 xxxxxx postfix/master[3345]: fatal: /etc/postfix/master.cf: line 23: missing "transport type" field
What's in /etc/postfix/master.cf?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #19  
Old 5th April 2009, 16:11
londonman londonman is offline
Junior Member
 
Join Date: Mar 2009
Posts: 22
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
What's in /etc/postfix/master.cf?
I have ran the following commands results below:-

xxxxxx:~ # /etc/postfix/master.cf
-bash: /etc/postfix/master.cf: Permission denied

xxxxxx:/etc/postfix # ls
access main.cf post-install ssl
access.db main.cf.default relay_ccerts TLS_LICENSE
bounce.cf.default main.cf.SuSEconfig relay_ccerts.db transport
canonical makedefs.out relocated transport.db
canonical.db master.cf relocated.db virtual
dynamicmaps.cf master.cf.SuSEconfig sasl_passwd virtual.db
generic openssl_postfix.conf.in sasl_passwd.db
header_checks postfix-files sender_canonical
LICENSE postfix-script sender_canonical.db

xxxxxx:/etc/postfix # cd /master.cf
-bash: cd: /master.cf: No such file or directory

xxxxxx:/etc/postfix # cat /master.cf
cat: /master.cf: No such file or directory

xxxxxx:/etc/postfix # tail -n100 /master.cf
tail: cannot open `/master.cf' for reading: No such file or directory
__________________
Londonman

The future is in our hands, so make the most of it.
Reply With Quote
  #20  
Old 5th April 2009, 18:05
londonman londonman is offline
Junior Member
 
Join Date: Mar 2009
Posts: 22
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by falko View Post
What's in /etc/postfix/master.cf?
Ok following my previous post i have rebooted the system and the following was displayed with errors, dos this help you any:-

Starting name server BIND done
Starting service MySQL done
/etc/sysconfig/apache2: line 86: [...]: command not found
/etc/sysconfig/apache2: line 115: [...]: command not found
/etc/sysconfig/apache2: line 117: [...]: command not found
/etc/sysconfig/apache2: line 86: [...]: command not found
/etc/sysconfig/apache2: line 115: [...]: command not found
/etc/sysconfig/apache2: line 117: [...]: command not found
/etc/sysconfig/apache2: line 86: [...]: command not found
/etc/sysconfig/apache2: line 115: [...]: command not found
/etc/sysconfig/apache2: line 117: [...]: command not found
Starting httpd2 (prefork) Syntax error on line 11 of /etc/apache2/mod_log_config.conf:
Invalid command 'LogFormat', perhaps misspelled or defined by a module not included in the server configuration

The command line was:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL


ok found a command that works and re ran your request - display as follows:-

xxxxxx:/ # cat /etc/postfix/master.cf
#
# Postfix master process configuration file. For details on the format
# of the file, see the Postfix master(5) manual page.
#
# ================================================== ========================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ================================================== ========================
smtp inet n - n - - smtpd
#submission inet n - n - - smtpd
# -o smtpd_etrn_restrictions=reject
# -o smtpd_client_restrictions=permit_sasl_authenticate d,reject
#smtps inet n - n - - smtpd -o smtpd_tls_wrappermode=yes
# -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#submission inet n - n - - smtpd
# -o smtpd_etrn_restrictions=reject
# -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
#628 inet n - n - - qmqpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 oqmgr
[...]
tlsmgr unix - - n 1000? 1 tlsmgr
[...]
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - n - - smtp
-o fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
#localhost:10025 inet n - n - - smtpd -o content_filter=
scache unix - - n - 1 scache
#
# ================================================== ==================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent. See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ================================================== ==================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
cyrus unix - n n - - pipe
user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
procmail unix - n n - - pipe
flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient}
retry unix - - n - - error
proxywrite unix - - n - 1 proxyma

thanks
__________________
Londonman

The future is in our hands, so make the most of it.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Connection dropped by IMAP server gublym Server Operation 5 23rd January 2009 09:47
cacti problem - graphs have huge gaps Chip Installation/Configuration 7 7th February 2008 23:24
Changing Server Setting Linocks Installation/Configuration 2 28th November 2007 22:34
setting up a antispam mail server - i have a few questions alexnz Installation/Configuration 1 21st November 2006 16:07
Email - Ueb-Miau mazhar Installation/Configuration 5 21st December 2005 10:01


All times are GMT +2. The time now is 08:47.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.