outgoing mail server (Client host rejected) error

Questions and answers about how to do stuff
Post Reply
TFNcap
Posts: 30
Joined: 25 Apr 2020 07:17

outgoing mail server (Client host rejected) error

Post by TFNcap »

Hello to everyone


I have been using efa as the incoming server for a while
I'm glad

my question is
can I use EFA as an outgoing mail server

example
1- domain name and ip also added to efa
2- relay made from main server
when I send an email
I'm getting an error

Code: Select all

<tuxxxxxxap@gmail.com>: host 17x.20.2xx.x94[17x.20.2xx.x94] said: 554 5.7.1
    <s1.tuxxxxxst.com[17x.20.2xx.x95]>: Client host rejected: Access denied (in
    reply to RCPT TO command)
ip 17x.20.2xx.x94 EFA
ip 17x.20.2xx.x95 Sender Server (relay to efa)

I would be glad if you guide...
eFa-4.0.2 - ©
TFNcap
Posts: 30
Joined: 25 Apr 2020 07:17

Re: outgoing mail server (Client host rejected) error

Post by TFNcap »

okay i am changing my question

Can I use EFA as an outgoing mail server ?
Are there any users who use it as mail server?
eFa-4.0.2 - ©
smyers119
Posts: 108
Joined: 29 Nov 2019 11:36

Re: outgoing mail server (Client host rejected) error

Post by smyers119 »

Yes you can, but no i don't.
TFNcap
Posts: 30
Joined: 25 Apr 2020 07:17

Re: outgoing mail server (Client host rejected) error

Post by TFNcap »

smyers119 wrote: 10 May 2020 17:04 Yes you can, but no i don't.
you are very kind

okay I'm on the right track
do I have to choose one of these
Outbound mail relay - outbound smarthost
I have read a few topics in the forum, but whatever is working, I do not understand clearly
I want to send e-mail from efa
eFa-4.0.2 - ©
smyers119
Posts: 108
Joined: 29 Nov 2019 11:36

Re: outgoing mail server (Client host rejected) error

Post by smyers119 »

It's not so much from, but through. Yes you would need to configure it as a outbound relay, Unfortunately because I don't use it as such, I am not knowledgable with specifics. But when i get back to work on monday I can look into it.
ajmind
Posts: 53
Joined: 28 Mar 2017 15:26

Re: outgoing mail server (Client host rejected) error

Post by ajmind »

TFNcap wrote: 10 May 2020 18:17 Outbound mail relay - outbound smarthost
I have read a few topics in the forum, but whatever is working, I do not understand clearly
I want to send e-mail from efa
Depending want you want to archive you could send e-mail from efa directly you do not need to specify an outbound smarthost. We do use it as we do not send directly the e-mails to the e-mail servers of the destination domains. We use another e-mailserver (from our webhoster) to send the e-mails out. If you operate your efa box not with a permanent IP-address you should consider this option too. (Otherwise you might be handled like a spammer.)

If your efa box is receiving e-mails from other internal MTAs (email-servers) to be forwarded outside, then you could specify under the option outbound mail relay, who is allowed to use efa within your network. We have specified several other MTAs with their IP address within our networks.

Code: Select all

Mail settings
1) Outbound mail relay
2) Outbound smarthost
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: outgoing mail server (Client host rejected) error

Post by pdwalker »

I'm confused. What do you want to do exactly?

Do you want mail to route the following way?

[internal mail server] <-> [EFA] <-> [outside world]

If so, that should be very easy.
TFNcap
Posts: 30
Joined: 25 Apr 2020 07:17

Re: outgoing mail server (Client host rejected) error

Post by TFNcap »

pdwalker wrote: 12 May 2020 09:27 I'm confused. What do you want to do exactly?

Do you want mail to route the following way?

[internal mail server] <-> [EFA] <-> [outside world]

If so, that should be very easy.
[internal mail server] <-> [EFA] <-> [outside world]

yes this is what i want

but I relay from the internal email server to efa and I get this error

efa reject main email server

Code: Select all

<tuxxxxxxap@gmail.com>: host 17x.20.2xx.x94[17x.20.2xx.x94] said: 554 5.7.1
    <s1.tuxxxxxst.com[17x.20.2xx.x95]>: Client host rejected: Access denied (in
    reply to RCPT TO command)
why refuses
Is something missing?
eFa-4.0.2 - ©
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: outgoing mail server (Client host rejected) error

Post by pdwalker »

Did you configure your "Outbound mail relay" settings in the EFA Configuration program?

That would be under Mail Settings, Outbound mail relay

For hosts, configure it to the ip address of your [internal mail server] or to the network address of your internal network if you have multiple machines sending mail through EFA. e.g. 192.168.1.1/24

Then EFA will allow you to use it as a relay.
TFNcap
Posts: 30
Joined: 25 Apr 2020 07:17

Re: outgoing mail server (Client host rejected) error

Post by TFNcap »

pdwalker wrote: 14 May 2020 09:35 Did you configure your "Outbound mail relay" settings in the EFA Configuration program?

That would be under Mail Settings, Outbound mail relay

For hosts, configure it to the ip address of your [internal mail server] or to the network address of your internal network if you have multiple machines sending mail through EFA. e.g. 192.168.1.1/24

Then EFA will allow you to use it as a relay.
relay:ip : 25

I got an error because I used port 587

The problem went away when I made port 25

ty all
eFa-4.0.2 - ©
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: outgoing mail server (Client host rejected) error

Post by pdwalker »

ah.

I wouldn't have suspected that. Thanks for telling us your solution.
Post Reply