View Single Post
  #1  
Old 16th June 2010, 01:11
T-Bird McCloy T-Bird McCloy is offline
Junior Member
 
Join Date: Jun 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Ubuntu Server Postfix setup question

First time poster, and admitted total linux nublet.
I've been googling this for about 2 days now with absolutely no love, and I feel like maybe I'm missing some much larger, extremely important puzzle piece.

The company I work for has a new Bluarc server that needs to be able to send unauthenticated emails and error reports to us and home to the company.
So I've been trying to set up an Ubuntu server with postfix to simply (you'd think) take emails from this storage system and pass them on.
The ONLY information I can enter into the bluarc config screen is an
Quote:
"SMTP Primary Server IP/Name:"
or an
Quote:
"SMTP Server to relay email to"
Every tutorial I've found involves authentication and outgoing security. Can't have that. On the bright side, this server doesn't need to receive anything and can be hidden behind our firewall to avoid spammer abuse.

So far, following the Ubuntu setup instructions I've configured postfix with some basic settings as follows: (replaced our domain with word "ourdomain") main.cf
Quote:
smptpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = 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:$ yadayady
smtp_tls_session_cache_database = bree:$ stuff goes here

myhostname = ubuntuserver.ourdomain.com
myorigin = /etc/mailname
mydestination = ubuntuserver.ourdomain.com, ourdomain.com, localhost.ourdomain.com, localhost, gmail.com
relayhost =
mynetworks = 127.0.0.0/8 10.0.10.0/24 192.168.150.0/24
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
home_mailbox = Maildir/
So far to test I've been trying to send an email from this server to my gmail account using telnet localhost 25 from the server.
First it failed with a relay access denied
So I added gmail.com, as you can see, to mydestination, as per some forum I googled.
That changed my relay access denied to a:
Quote:
550 5.1.1 Recipient address rejected: User unknown in local recipient table
If it matters, this ubuntu test server is in the 192 subnet and the bluarc is in the 10.0 subnet but they can ping each other and ports are not blocked between subnets.

It seems like there should be a simple way to get simple functionality working. I'd appreciate any and all help, as my tasks here include many things outside of surfing google and ubuntu forums, and I'd like to get to some other work related activities this week.
THanks again, T.B. McCloy
Reply With Quote
Sponsored Links