Welcome, Guest. Please login or register.
Did you miss your activation email?
Friday 22 November 2024, 03:13:21 pm

Login with username, password and session length

Download the latest community FREE version  HERE
14258 Posts in 4377 Topics by 6516 Members
Latest Member: DaveH
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  EFW SMTP, HTTP, SIP, FTP Proxy Support
| | |-+  smtp proxy relay denied problem
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: smtp proxy relay denied problem  (Read 24020 times)
jorg
Jr. Member
*
Offline Offline

Posts: 3


« on: Saturday 05 September 2015, 01:34:02 pm »

Hello,

I want to use the SMTP proxy of the EFW 3.0.5 as a smart host for my internal mail server. I have setup smart hosts this 'manually' before with postfix and through it should be very easy with EFW but apparently it's not. I'm getting "relay denied" on out-bound emails. I'm really puzzled by this and appreciate any help.

What I experience is this behaviour:

mail from: someone@external.domain
rcpt to: someone@own.domain

works, but

mail from: someone@own.domain
rcpt to: someone@external.domain

causes a 'relay denied' error. How can this be? As long as with the recipient or the sender is from my own domain it has to relay the email. That is the most basic function of a smart host.

Thanks for any support.

Logged
Gabriel GHEORGHIU
Full Member
***
Offline Offline

Gender: Male
Posts: 57


« Reply #1 on: Saturday 05 September 2015, 03:53:24 pm »

Hi jorg,

Did you added your domain to SMTP -> Incoming domains?
Logged
jorg
Jr. Member
*
Offline Offline

Posts: 3


« Reply #2 on: Saturday 05 September 2015, 04:15:05 pm »

Hello,

yes I did.

Incoming (internet -> EFW -> mail server) works. Just outgoing (mail server -> EFW -> internet) produces "Relay Denied". I use the same email addresses for both test cases. I only revert To and From.

Jorg
Logged
Gabriel GHEORGHIU
Full Member
***
Offline Offline

Gender: Male
Posts: 57


« Reply #3 on: Saturday 05 September 2015, 04:40:02 pm »

Hello Jorg,

I know that smarthost is only for outside emailservers.
I have my email server in DMZ and works well without using smarthost.
I have also an emailserver in GREEN and also works well without using smarthost.

Gabriel

Logged
jorg
Jr. Member
*
Offline Offline

Posts: 3


« Reply #4 on: Saturday 05 September 2015, 04:49:58 pm »

Hello,

I have tested this setup, too. It works.

However, in my setup my internal servers can't connect to the internet. I have to go through a smart host. I know to configure this correctly on postfix. Is there a way to SSH into EFW as root so I can make the changes myself?

Jorg
Logged
Gabriel GHEORGHIU
Full Member
***
Offline Offline

Gender: Male
Posts: 57


« Reply #5 on: Saturday 05 September 2015, 04:58:52 pm »

Hello,
You can ssh or winscp if you configure efw to accept incoming on ssh port.
Also from efw webgui
Logged
Gabriel GHEORGHIU
Full Member
***
Offline Offline

Gender: Male
Posts: 57


« Reply #6 on: Saturday 05 September 2015, 05:05:51 pm »

Hello,

I have tested this setup, too. It works.

However, in my setup my internal servers can't connect to the internet. I have to go through a smart host. I know to configure this correctly on postfix. Is there a way to SSH into EFW as root so I can make the changes myself?

Jorg

Anyway, I don"t think it's a good idea to alter efw.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.078 seconds with 18 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com