outbound mail relay not working EFA 4 Bug?

Bugs in eFa 4
Post Reply
bvess
Posts: 4
Joined: 12 Nov 2018 07:31

outbound mail relay not working EFA 4 Bug?

Post by bvess »

I followed the steps and added the mail really information through ssh. I configured my mail server to use efa as a relay host. In the logs I see the Mail server connect but I get the following error. Is this a bug?

Diagnostic-Code: smtp; 554 5.7.1 <isp-01.websoftpc.com[71.193.34.105]>: Client
host rejected: Access denied
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: outbound mail relay not working EFA 4 Bug?

Post by shawniverson »

Not a bug.

Did you also configure the Outbound Relay setting as well to allow the originating IP address?
bvess
Posts: 4
Joined: 12 Nov 2018 07:31

Re: outbound mail relay not working EFA 4 Bug?

Post by bvess »

I configured the outbound relay in EFA through options 7 ) then option 1 in mail settings. I also configured option 7 option 4 transport settings. IS there something else that needs configuring? Thanks for your reply.
ethandee178
Posts: 42
Joined: 26 May 2015 16:28

Re: outbound mail relay not working EFA 4 Bug?

Post by ethandee178 »

Are you getting this entry in the filter's maillog or the mail server's maillog?
tesme33
Posts: 62
Joined: 22 Mar 2015 10:57
Location: Germany/Munich area

Re: outbound mail relay not working EFA 4 Bug?

Post by tesme33 »

Hi
in order to have my mailserver being able to sent email via the EFA (3+4) i had to do the following


add to /etc/postfix/main.cf

Code: Select all

broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_path = smtpd
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_type = cyrus
add the user via saslpasswd

Code: Select all

root@efa4 postfix]# sasldblistusers2
/etc/sasldb2@efa4.xxx.de: userPassword
[root@efa4 postfix]# saslpasswd2 mailrelay
Password:
Again (for verification):
[root@efa4 postfix]# sasldblistusers2
mailrelay@efa4.xxx.de: userPassword
/etc/sasldb2@efa4.xxx.de: userPassword
[root@efa4 postfix]#
Now i can sent from any IP mail via my EFA, the hostname for my local delivery is done via a DYNDNS name and in the transport file.

Code: Select all

###### START eFa ADDED DOMAINS ######
xxxland.de  smtp:[macmini.xxx.de]
xxx.de  smtp:[macmini.xxx.de]
home.xxx.de  smtp:[macmini.xxx.de]
So i can receive and send email.

Why had issues with sending ?
--> im comming from a dialuprange and therefor blocked using zen.spamhaus.org.

Hope this helps people having the same issue.

Yours
fakhar.khan
Posts: 12
Joined: 28 Jul 2019 17:08

Re: outbound mail relay not working EFA 4 Bug?

Post by fakhar.khan »

Could you confirm that you use submission on 587 port as well on version 4.

As I was searching and found shawniverson old 2017 post in which he said
"You should use SUBMISSION on port 587. This requires setting up Postfix properly for this."
tesme33
Posts: 62
Joined: 22 Mar 2015 10:57
Location: Germany/Munich area

Re: outbound mail relay not working EFA 4 Bug?

Post by tesme33 »

Hi
to deliver email from efa to my host im not using submission. im still using Port 25.

Not sure if you mean this or do you want to know if submission is used on EFA ?


Sorry for the delay in answering.
Post Reply