Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 16th June 2010, 02: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
 

Bookmarks

Tags
authentication, email server, postfix, smtp sending problem, ubuntu server

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR: Connection dropped by IMAP server. [Centos 5.4, courier imap,squirrel, etc] darevil HOWTO-Related Questions 7 9th June 2010 15:49
Need help get mail to work (can't recieve and apperently can't send) omega13a Installation/Configuration 19 20th August 2009 22:06
Mail System Error - Returned Mail tristanlee85 General 16 16th March 2008 10:40
The Perfect Setup - Debian Etch (Debian 4.0) some trouble daniel80 HOWTO-Related Questions 26 1st February 2008 17:30
Webmail Relay Error palkat General 17 23rd April 2006 19:12


All times are GMT +2. The time now is 09:38.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.