Postfix Newbie


#1

Hello,

I’m having problems sending email from postfix to my local exchange server.

I’m able to send emails out from my postfix box to accounts like gmail and my local college however I cannot send emails locally.

Any help would be greatly appreciated,

Thank you,
Rudy


#2

Found the solution here: community.spiceworks.com/topic/108157

I wanted a Satellite setup; which I obviously did not pick.

To reconfigure the postfix setup type the following in the command line:

dpkg-reconfigure postfix

Then select “Satellite”

Go through the prompts. If you still have issues I used this as a reference

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
append_dot_mydomain = no
readme_directory = no
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
myhostname = nagiosi.mydomain.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = nagiosi.mydomain.com, localhost.mydomain.com, localhost
relayhost = 192.168.100.202
mynetworks = 127.0.0.0/8 ::ffff:127.0.0.0]/104 ::1]/128
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all

-Rudy