1

Topic: Lost Web server notifications

Hello,
after some network update i'm lost in configuration.
I updated my internal network configuration last week.
i have a website that sends notifications to customer and i use our mail server as a bridge to the outside world to be spf compliant.
My website was compromised and start to send some spam, so i prefer that iredmail is checking the messages incoming and outgoing.
In the transport file of the web server i configured the nexthop.

The problem is that if don't put the address of the webserver into the mynetwors field i'm unable to send any notification.
and i get this on the webserver

(host mail.somedoma.in[ip.ad.re.ss] said: 454 4.7.1 <xxxxxxxxx@gmail.com>: Relay access denied (in reply to RCPT TO command))

and og course a relayng denied on the mail server.


Any advice or adding the numer into the mynetworks field is safe?


==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: centos 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Web server (Apache or Nginx): apache
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Lost Web server notifications

Enable smtp authentication to send email please.

3

Re: Lost Web server notifications

i have postfix also on the web server, how can i reach this?

4

Re: Lost Web server notifications

Use iRedMail server as smtp server address, not the local one.