Allowing eMails from a particular SMTP

Questions and answers about how to do stuff
Post Reply
gregorywest
Posts: 4
Joined: 26 Mar 2017 15:46

Allowing eMails from a particular SMTP

Post by gregorywest »

It looks like I am getting a bunch of eMails refused because the 'From' eMail address is my own domain, the the eMails are coming from my ISP SMTP server. Is it possible to say to iRedMail that any eMails from @dbwsys.mb.ca that are coming in from *.shaw.ca are not spam and to let them through? I understand this does create a little hole in my spam suppression, but I can take care of the spam in my eMail system. Would be nice if the eMails still went through virus scanning, but that is not a requirement if it is sort of an all or nothing situation.
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Allowing eMails from a particular SMTP

Post by shawniverson »

Add the host in EFA-Configure under 8) Mail Settings 1) Outbound Mail Relay.

Sounds counter intuitive, yes, but in essence you are allowing a trusted host to relay via your eFa even though it is on the outside.
gregorywest
Posts: 4
Joined: 26 Mar 2017 15:46

Re: Allowing eMails from a particular SMTP

Post by gregorywest »

I am running the community version, so do not have the admin program I think you are using to do the config. Do you know which config file I need to update to allow this to happen?
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Allowing eMails from a particular SMTP

Post by shawniverson »

It would be in /etc/postfix/main.cf. Essentially the host could be added to "mynetworks." Not a best practice, of course, but I think it will do what you are looking to do.
Post Reply