Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: Moneer81 on May 09, 2013, 11:17:00 PM

Title: How to Set Up an SMTP Relay
Post by: Moneer81 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?
Title: Re: How to Set Up an SMTP Relay
Post by: Fumetto on May 09, 2013, 11:27:39 PM
Think you can read here (http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter13#E-mail_Delivery)...
Title: Re: How to Set Up an SMTP Relay
Post by: Moneer81 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...

Title: Re: How to Set Up an SMTP Relay
Post by: Stefano 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?
Title: Re: How to Set Up an SMTP Relay
Post by: _alex 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 (http://wiki.contribs.org/Email#Allow_SMTP_relay_of_mail_without_encryption.2Fauthentication)

edit: beaten by Stefano