Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 7th August 2010, 17:55
ladykrimson ladykrimson is offline
Junior Member
 
Join Date: Aug 2010
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I did so, and the connection was refused.
Reply With Quote
Sponsored Links
  #12  
Old 8th August 2010, 21:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Ok, then change
Code:
smtp	inet	n	-	y	-	-	smtpd
to
Code:
smtp	inet	n	-	n	-	-	smtpd
in your master.cf to not chroot Postfix and restart it.
__________________
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
  #13  
Old 9th August 2010, 18:47
ladykrimson ladykrimson is offline
Junior Member
 
Join Date: Aug 2010
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The connection is still refused. When I restarted, I received this message:

Code:
Executing /etc/rc.d/init.d/postfix restart ..

Shutting down postfix: [  OK  ]
Starting postfix: /usr/sbin/postfix-chroot.sh: line 380: return: -1: invalid option
return: usage: return [n]
[  OK  ]
Reply With Quote
  #14  
Old 9th August 2010, 19:07
ladykrimson ladykrimson is offline
Junior Member
 
Join Date: Aug 2010
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

These are the current postfix configurations. Perhaps they will help:

Code:
Hostname 	Krimson 
System 	Linux Krimson 2.6.31.13-desktop-1mnb #1 SMP Tue Apr 27 21:14:13 EDT 2010 i686 Intel(R) Celeron(R) CPU 2.20GHz GNU/Linux 

main.cf

non-default parameters
alias_maps 	hash:/etc/postfix/aliases, hash:/var/lib/mailman/data/aliases 
broken_sasl_auth_clients 	yes 
delay_warning_time 	1h 
disable_vrfy_command 	yes 
html_directory 	/usr/share/doc/postfix/html 
inet_interfaces 	localhost 
initial_destination_concurrency 	3 
mailbox_command 	/usr/bin/procmail 
mailbox_size_limit 	10512000000 
manpage_directory 	/usr/share/man 
message_size_limit 	409600000 
myhostname 	krimson 
mynetworks_style 	host 
myorigin 	krimsonphoenix.com 
readme_directory 	/usr/share/doc/postfix/README_FILES 
recipient_delimiter 	+ 
sendmail_path 	/usr/sbin/sendmail.postfix 
smtp_tls_note_starttls_offer 	yes 
smtp_use_tls 	yes 
smtpd_banner 	$myhostname ESMTP $mail_name ($mail_version) (Mandriva Linux) 
smtpd_helo_required 	yes 
smtpd_recipient_restrictions 	permit_sasl_authenticated, permit_mynetworks, check_client_access hash:/etc/postfix/pop-before-smtp, reject_non_fqdn_recipient, reject_rbl_client sbl.spamhaus.org, reject_rbl_client bl.spamcop.net, reject_unauth_destination 
smtpd_sasl_auth_enable 	yes 
smtpd_tls_CAfile 	/etc/postfix/ssl/cacert.pem 
smtpd_tls_cert_file 	/etc/postfix/ssl/smtpd.crt 
smtpd_tls_key_file 	/etc/postfix/ssl/smtpd.key 
smtpd_tls_loglevel 	1 
smtpd_tls_received_header 	yes 
smtpd_use_tls 	yes 
virtual_alias_domains 	krimsonphoenix.com 
virtual_alias_maps 	hash:/etc/postfix/virtual 

main.cf

parameters defined as per defaults
command_directory 	/usr/sbin 
config_directory 	/etc/postfix 
daemon_directory 	/usr/lib/postfix 
data_directory 	/var/lib/postfix 
mailq_path 	/usr/bin/mailq 
newaliases_path 	/usr/bin/newaliases 
setgid_group 	postdrop 
smtpd_sasl_local_domain 	
smtpd_sasl_security_options 	noanonymous 
smtpd_tls_auth_only 	no 
smtpd_tls_session_cache_timeout 	3600s 
tls_random_source 	dev:/dev/urandom 
unknown_local_recipient_reject_code 	550 

master.cf

service	type	private	unpriv	chroot	wakeup	maxproc	command + args
smtp	inet	n	-	y	-	-	smtpd 
pickup	fifo	n	-	y	60	1	pickup 
							-o
							-o
cleanup	unix	n	-	y	-	0	cleanup 
qmgr	fifo	n	-	y	300	1	qmgr 
tlsmgr	unix	-	-	y	1000?	1	tlsmgr 
rewrite	unix	-	-	y	-	-	trivial-rewrite 
bounce	unix	-	-	y	-	0	bounce 
defer	unix	-	-	y	-	0	bounce 
trace	unix	-	-	y	-	0	bounce 
verify	unix	-	-	y	-	1	verify 
flush	unix	n	-	y	1000?	0	flush 
proxymap	unix	-	-	n	-	-	proxymap 
proxywrite	unix	-	-	n	-	1	proxymap 
smtp	unix	-	-	y	-	-	smtp 
relay	unix	-	-	y	-	-	smtp 
							-o
showq	unix	n	-	y	-	-	showq 
error	unix	-	-	y	-	-	error 
retry	unix	-	-	y	-	-	error 
discard	unix	-	-	y	-	-	discard 
local	unix	-	n	n	-	-	local 
virtual	unix	-	n	n	-	-	virtual 
lmtp	unix	-	-	y	-	-	lmtp 
anvil	unix	-	-	y	-	1	anvil 
scache	unix	-	-	y	-	1	scache 
cyrus-deliver	unix	-	n	n	-	-	pipe 
							
cyrus	unix	-	n	n	-	-	lmtp 
							-o
cyrus-chroot	unix	-	-	y	-	-	lmtp 
							-o
cyrus-inet	unix	-	-	y	-	-	lmtp 
							-o
							-o
							-o
							-o
127.0.0.1:10026	inet	n	-	y	-	-	smtpd 
							-o
							-o
							-o
							-o
							-o
							-o
							-o
							-o
							-o
							-o
							-o
							-o
							-o
							-o
							-o
							-o
							-o
lmtp-filter	unix	-	-	y	-	-	lmtp 
							-o
							-o
							-o
							-o
smtp-filter	unix	-	-	y	-	-	smtp 
							-o
							-o
							-o
A friend of mine mentioned security settings...that my server will refuse connections until it is not an open relay. Does this make any sense?
Reply With Quote
  #15  
Old 10th August 2010, 17:27
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Which guide (URL) did you use to set up the system?
__________________
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
  #16  
Old 10th August 2010, 18:35
ladykrimson ladykrimson is offline
Junior Member
 
Join Date: Aug 2010
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I didn't use any guide. I looked a few up, but none of them ever gave specifics of networking (which ip goes where, domain configuration, etc.). I basically looked at all the postfix files from my old hard drive and inputted values into the new files. I was very careful not to simply copy stuff over. Where ever I saw IP addresses and domain settings, I adjusted the new files with those settings.

There are no urls I can find which allow me to configure a server using webmin, which is how the first server was done.
Reply With Quote
  #17  
Old 14th August 2010, 02:23
ladykrimson ladykrimson is offline
Junior Member
 
Join Date: Aug 2010
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

When I use Thunderbird to connect to my mail server, I get an error message that tells me the connection was refused. I called up my ISP and double checked that all of my ports are open. I have a host name. I just don't understand why this is not working.

I have the old hard drive with all the settings, but that one will not boot up due to the different motherboard. I do not have a Live CD for Mandriva 2008, nor do they sell one (so I can't boot the old drive, which is what I would prefer to do).

I am so frustrated with this. It has been over a month, and I just can't figure this out. I am trying to go back to networking basics, but my inexperience with Linux is hindering my progress. I wanted to scan the ports on my server, but I can't figure out how to run the already installed nMap. I tried telnet, but port 23 is closed, and I am not very good with console commands, either.

Any advice or instructions on this?
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
Error in System Log dclardy General 0 27th October 2009 02:39
Random Questions dclardy General 9 4th September 2009 00:39
I don't recieve mail. privir Installation/Configuration 2 3rd June 2009 23:08
Rejecting outbound mail tristanlee85 General 11 20th May 2007 18:04
Webmail Relay Error palkat General 17 23rd April 2006 19:12


All times are GMT +2. The time now is 22:57.


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