LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Postfix set-up? (https://www.linuxquestions.org/questions/linux-newbie-8/postfix-set-up-948683/)

jbennett 06-05-2012 02:34 PM

Postfix set-up?
 
I'm attempting to set up an OTRS server on CentOS 6.2 (virtual machine).

This box will be on an internal network. We already have an exchange server and the email address that will be sending emails to techs has already been set-up (I can send/receive emails to this address in my Outlook).

However, I'm a bit confused when it comes to setting up postfix (or sendmail?) on the OTRS box.

I have gotten to the point where I can send a test email:

Code:

sendmail -v user@address.com
I then get text telling me that the email has been sent. However, I never receive this email.

Checking maillog, I see the following:
Code:

status=bounced (unknown user: "user")
I'm a bit stumped and le googles doesn't seem to offer much help that I can find.

Any information would be greatly appreciated!!

kbp 06-05-2012 07:42 PM

I prefer postfix but that's a decision for you to make .. to get from where you are to a basic functioning MTA you could try this:
Code:

# install postfix
yum install postfix

# configure postfix as the preferred MTA
alternatives --config mta

# disable and stop sendmail
chkconfig sendmail off
service sendmail stop

# configure mailrelay
postconf -e "relayhost = [exchange.yourdomain.tld]"

# enable and start postfix
chkconfig postfix on
service postfix start

Obviously this is a very limited configuration, it only allows the host to send email to Exchange users but you can expand functionality as required.


All times are GMT -5. The time now is 10:42 AM.