LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   postfix as smtp server (https://www.linuxquestions.org/questions/linux-newbie-8/postfix-as-smtp-server-4175445934/)

kopper27 01-16-2013 05:03 PM

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

Kustom42 01-16-2013 05:08 PM

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.

kopper27 01-16-2013 05:12 PM

Quote:

Originally Posted by Kustom42 (Post 4871738)
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

Kustom42 01-16-2013 05:17 PM

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.

kopper27 01-17-2013 12:09 AM

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

kopper27 01-17-2013 01:38 AM

Quote:

Originally Posted by kopper27 (Post 4871890)
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

kopper27 01-17-2013 02:15 AM

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).

Kustom42 01-17-2013 10:27 AM

You must have all of your domains added to your "mydestination" configuration directive.


All times are GMT -5. The time now is 05:38 AM.