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 01-16-2013, 06:03 PM   #1
kopper27
Member
 
Registered: Nov 2009
Posts: 147

Rep: Reputation: 16
postfix as smtp server


hi guys

I have to configure a SMTP server using Postfix, ok let me tell the domain is located at godaddy so my smtp postfix server has to use that domain let's say mycompany.com

so anyone knows how to configure postfix using this way?
or postfix is easy to configure?

thanks a lot
 
Old 01-16-2013, 06:08 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
Well if you are using a GoDaddy server you should have a control panel, either Plesk, cPanel or GoDaddy's POS "Simple Control Panel". Any of these should do the MTA configuration for you and all you have to do is enter the e-mail addresses.

Let me know what you have with GoDaddy...

is it a virtual or dedicated server?
what distro did you choose?
what control panel are you running?

I worked as a GoDaddy admin for quite a while and know thier knowledgebase very well so once you give me this info I should be able to give you a link to a detailed step-by-step walkthrough.
 
Old 01-16-2013, 06:12 PM   #3
kopper27
Member
 
Registered: Nov 2009
Posts: 147

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Kustom42 View Post
Well if you are using a GoDaddy server you should have a control panel, either Plesk, cPanel or GoDaddy's POS "Simple Control Panel". Any of these should do the MTA configuration for you and all you have to do is enter the e-mail addresses.

Let me know what you have with GoDaddy...

is it a virtual or dedicated server?
what distro did you choose?
what control panel are you running?

I worked as a GoDaddy admin for quite a while and know thier knowledgebase very well so once you give me this info I should be able to give you a link to a detailed step-by-step walkthrough.

thanks a lot

we are hosting their web server this webserver has some applications that send emails something like
info@companyname.com, support@companyname.com

so the idea is to install this postfix server so the apps in the web server can use this postfix to send emails, I am use suse 11 SP2, the webserver and the postfix are vmware virtual machines, sorry I don't have panel information I don't manage the go daddy account

thanks
 
Old 01-16-2013, 06:17 PM   #4
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
You are not using a GoDaddy server if you are running any version of SUSE or VMware. I can guarantee you that. there are plenty of guides that walkthrough setting up postfix from the terminal. I havent done it with SUSE so couldnt help you out a whole lot but a quick google search turned up quite a few walkthroughs.
 
Old 01-17-2013, 01:09 AM   #5
kopper27
Member
 
Registered: Nov 2009
Posts: 147

Original Poster
Rep: Reputation: 16
well I already configure postfix following this guide

http://beginlinux.com/server_trainin...-server-set-up

my doubt is that my customer says that I have to include accounts in my email configuration

he says I have to include

service_support@companyname.com
it_support@companyname.com
and so on like 6 accounts

and checking the postfix configuration

Code:
mydomain = example.com 
myorigin = $mydomain 
myhostname = mail.example.com
mydestination = $myhostname, localhost, localhost.$mydomain 
mynetworks = 192.168.3.0/24 
inet_interfaces = all
I have no idea where to put those

thanks
 
Old 01-17-2013, 02:38 AM   #6
kopper27
Member
 
Registered: Nov 2009
Posts: 147

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by kopper27 View Post
well I already configure postfix following this guide

http://beginlinux.com/server_trainin...-server-set-up

my doubt is that my customer says that I have to include accounts in my email configuration

he says I have to include

service_support@companyname.com
it_support@companyname.com
and so on like 6 accounts

and checking the postfix configuration

Code:
mydomain = example.com 
myorigin = $mydomain 
myhostname = mail.example.com
mydestination = $myhostname, localhost, localhost.$mydomain 
mynetworks = 192.168.3.0/24 
inet_interfaces = all
I have no idea where to put those

thanks

found it just using adduser command
 
Old 01-17-2013, 03:15 AM   #7
kopper27
Member
 
Registered: Nov 2009
Posts: 147

Original Poster
Rep: Reputation: 16
one last thing guys

I am able to send email to my gmail account doing this, changing values accordingly to send email to gmail

telnet www.companyname.com 25
Trying x.x.x.x...
Connected to www.companyname.com (x.x.x.x).
Escape character is '^]'.
220 www.companyname.com ESMTP Postfix>
EHLO companyname.com
250-www.companyname.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-ENHANCEDSTATUSCODES
250-8BITMIME
MAIL FROM: <adminit@companyname.com>
250 2.1.0 Ok
RCPT TO: <karlos@gmail.com>
250 2.1.5 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
I just wanted to send some test mail to karlos
.
250 2.0.0 Ok: queued as B95C8110064
QUIT


but I am not able to reply to the address adminit@companyname.com

I get this

Delivery to the following recipient failed permanently:
adminit@companyname.com
Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 550 550 #5.1.0 Address rejected. (state 13).

Last edited by kopper27; 01-17-2013 at 03:16 AM.
 
Old 01-17-2013, 11:27 AM   #8
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
You must have all of your domains added to your "mydestination" configuration directive.
 
  


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
Postfix as a smarthost SMTP Server Keitex Linux - Server 2 12-11-2010 04:27 PM
SMTP Server With PostFix ManuMayer Linux - Newbie 5 05-15-2010 11:04 AM
Configuring Postfix with external SMTP server Manugal Linux - Server 6 04-11-2010 06:40 AM
SMTP authentication error and server could not connected in postfix server Ravinder Singh Thakur Linux - Server 1 11-02-2009 11:22 AM
Postfix SMTP Server wprophet Linux - Server 1 12-09-2008 06:22 AM


All times are GMT -5. The time now is 08:17 AM.

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