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
  #1  
Old 10th June 2007, 00:25
MisterVlad MisterVlad is offline
Member
 
Join Date: Jun 2007
Location: Windsor, Ontario, CANADA
Posts: 61
Thanks: 1
Thanked 1 Time in 1 Post
Send a message via MSN to MisterVlad Send a message via Skype™ to MisterVlad
Default Virtual Users And Domains With Postfix, Courier And MySQL (Debian Etch)

I was wondering if you had (or anyone has) a working example of this that i can view? I am looking at setting this up, but before i re-configure my server from my dilapidated QMailRocks! (which is working, but just barely), to this set up, i would like to know if it is kinda the same?

I have a test server, but it is in use testing something else until monday... then i will try this, but as I said, I want to see what this is as well

Thanks in advance!

Steve.
Reply With Quote
Sponsored Links
  #2  
Old 10th June 2007, 14:40
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,805
Thanks: 821
Thanked 5,339 Times in 4,188 Posts
Default

You dont need a spare test server, just install e.g. the freely available vmware server software on your windows or linux desktop, create a virtual machine and test the setup within this virtual machine.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 11th June 2007, 08:02
MisterVlad MisterVlad is offline
Member
 
Join Date: Jun 2007
Location: Windsor, Ontario, CANADA
Posts: 61
Thanks: 1
Thanked 1 Time in 1 Post
Send a message via MSN to MisterVlad Send a message via Skype™ to MisterVlad
Default

Ok, I purchased a subscription, but not for the vmware downloads.

But i do have a question about this install (which is all done by the way, too bad my ISP blocks port 25, so I cant test receiving email).

Is the SMTP port open? or do you/can you specify a username and password before you can connect to it to send (unless you are locally on the server using the php Mail() or the phpmailer class (whcih i use)?

I dont want people to be able to connect to and send email from my server, unless they are authenticated or local users/scripts.

Just wondering.

As for the install? it went off without any problems! (expect my stupidity on the mysql that i goofed up on... but i fixed it :P )

Steve.
Reply With Quote
  #4  
Old 11th June 2007, 08:35
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,805
Thanks: 821
Thanked 5,339 Times in 4,188 Posts
Default

Quote:
Ok, I purchased a subscription, but not for the vmware downloads.
I did not mean that you shall purchase a subscription. You can create your own vmware test servers without a subscription.

Quote:
Is the SMTP port open? or do you/can you specify a username and password before you can connect to it to send (unless you are locally on the server using the php Mail() or the phpmailer class (whcih i use)?
If you followed the howto, smtp-auth is enabled. If you want to send a mail to any external domain you will have to provide a username and password except when the mail is send from localhost.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 11th June 2007, 13:17
MisterVlad MisterVlad is offline
Member
 
Join Date: Jun 2007
Location: Windsor, Ontario, CANADA
Posts: 61
Thanks: 1
Thanked 1 Time in 1 Post
Send a message via MSN to MisterVlad Send a message via Skype™ to MisterVlad
Default

Quote:
Originally Posted by till
I did not mean that you shall purchase a subscription. You can create your own vmware test servers without a subscription.
I know that... i bought it because i wanted to support the site, and it is also nice to be able to download as PDF's and save them for viewing later (it is a handy option).

Quote:
Originally Posted by till
If you followed the howto, smtp-auth is enabled. If you want to send a mail to any external domain you will have to provide a username and password except when the mail is send from localhost.
Awesome... I will try it out later... and install on my actual server
Reply With Quote
  #6  
Old 14th June 2007, 04:54
MisterVlad MisterVlad is offline
Member
 
Join Date: Jun 2007
Location: Windsor, Ontario, CANADA
Posts: 61
Thanks: 1
Thanked 1 Time in 1 Post
Send a message via MSN to MisterVlad Send a message via Skype™ to MisterVlad
Default

Quote:
Originally Posted by till
If you followed the howto, smtp-auth is enabled. If you want to send a mail to any external domain you will have to provide a username and password except when the mail is send from localhost.
OK.... i have followed the install exactly... i can telnet from inside the server to localhost 25, and i can do it via the ip address (from inside the server), but as soon as I try to telnet to port 25 from my home PC, i can't connect to it?

How can i set up my home pc to connect and use this smtp server, so I can send out email from my computer no matter what ISP i am on? (it is a laptop, and i take it with me on business)

I am baffled... I will read the install over again as well, but fi you have any comments, i would appreciate them

Steve.
Reply With Quote
  #7  
Old 14th June 2007, 06:16
MisterVlad MisterVlad is offline
Member
 
Join Date: Jun 2007
Location: Windsor, Ontario, CANADA
Posts: 61
Thanks: 1
Thanked 1 Time in 1 Post
Send a message via MSN to MisterVlad Send a message via Skype™ to MisterVlad
Default

Another question about this... how can i set up webmail? (Squirrelmail)

I like to use webmail once in a while, and would also like to offer it as an alternative.

Can you maybe post a howto? or at least point me to where i can go (besides to hell! )

Steve.
Reply With Quote
  #8  
Old 15th June 2007, 14:02
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:
Originally Posted by MisterVlad
OK.... i have followed the install exactly... i can telnet from inside the server to localhost 25, and i can do it via the ip address (from inside the server), but as soon as I try to telnet to port 25 from my home PC, i can't connect to it?

How can i set up my home pc to connect and use this smtp server, so I can send out email from my computer no matter what ISP i am on? (it is a laptop, and i take it with me on business)
Is the mail server in the same network as your PC?
Can you connect to it if you use the IP address instead of a domain name? Does the domain name point to the correct IP address? Is port 25 open in the firewall? What's the output of
Code:
netstat -tap
?
__________________
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
  #9  
Old 15th June 2007, 18:29
MisterVlad MisterVlad is offline
Member
 
Join Date: Jun 2007
Location: Windsor, Ontario, CANADA
Posts: 61
Thanks: 1
Thanked 1 Time in 1 Post
Send a message via MSN to MisterVlad Send a message via Skype™ to MisterVlad
 
Default

I have this figured out now... it has to do with my ISP that i use, and it blocks me going anywhere on port 25 except to them. I went to someone else that i know, and tried it there on their system, and the dont have that same restriction that I do, and it went through no problem (after i selected that my SMTP requires authentication).

The server is hosted outside my office, i have a co-locate setup.


Thanks for the reply
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
Virtual Users And Domains With Postfix, Courier And MySQL Secondary MX acoghlan HOWTO-Related Questions 1 8th March 2008 05:02
Virtual Users And Domains With Postfix, Courier And MySQL & debian etch Tortanick HOWTO-Related Questions 5 19th June 2007 12:29
Virtual Users And Domains With Postfix, Courier And MySQL [+ procmail ?] immobilia HOWTO-Related Questions 5 29th June 2006 23:20
Virtual Users And Domains With Postfix, Courier And MySQL - "apt-get" and Courier burritonator HOWTO-Related Questions 3 15th March 2006 20:11
Problem with Virtual Users And Domains With Postfix, Courier And MySQL Howto fenix Server Operation 4 11th March 2006 02:53


All times are GMT +2. The time now is 11:41.


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