Koozali.org: home of the SME Server

How to Set Up an SMTP Relay

Offline Moneer81

  • 2
  • +0/-0
How to Set Up an SMTP Relay
« on: May 09, 2013, 11:17:00 PM »
Hello,

I am kinda new to SME so be patient with me  :-)

So here is my scenario: I have a voicemail server that sends voicemail messages as an email. I am trying to set up this SME server so I can point the voicemail server to it, and ALL I need it to do is to forward those emails on.

I am currently able to send email successfully from a test mailbox on this SME server to my corporate email (hosted with Rackspace), but I am unable to get any voicemail attachments to get forwarded.

What am I missing? Is there a feature that lets the SME server simply forward emails for a specific IP address?

Offline Fumetto

  • *
  • 876
  • +1/-0
Re: How to Set Up an SMTP Relay
« Reply #1 on: May 09, 2013, 11:27:39 PM »
Think you can read here...

Offline Moneer81

  • 2
  • +0/-0
Re: How to Set Up an SMTP Relay
« Reply #2 on: May 10, 2013, 06:22:26 PM »
I read the documentation, and I read these instructions before.

It doesn't really explain what I am trying to figure out though...


Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: How to Set Up an SMTP Relay
« Reply #3 on: May 10, 2013, 06:59:47 PM »
then start to take a look at the logs: /var/log/qpsmtpd/current and /var/log/qmail/current

there you'll find the reason why your messages are blocked..

how big is the attach?

Offline _alex

  • ***
  • 103
  • +0/-0
Re: How to Set Up an SMTP Relay
« Reply #4 on: May 10, 2013, 07:00:41 PM »
Moneer81,

It's hard to tell where your messages are being stopped without further details. For a start, You can monitor your message flow by issuing the following command:
Code: [Select]
cd /var/log && tail -f sqpsmtpd/current qpsmtpd/current qmail/current spamd/current | tai64nlocal
Any error will show up, telling You what is wrong.

As an educated guess: Are You connecting to the smtp service with a valid username/passwd with TLS before auth on port 465? If possible, do so.
Otherwise (and I am not advising You to do it):
http://wiki.contribs.org/Email#Allow_SMTP_relay_of_mail_without_encryption.2Fauthentication

edit: beaten by Stefano
« Last Edit: May 10, 2013, 07:03:42 PM by _alex »