1

Topic: External server problem

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
================ Required information ====
- iRedMail version (check /etc/iredmail-release):  0.9.5-1
- Linux/BSD distribution name and version:  centos 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? NO
- Related log if you're reporting an issue:





Hi, a lot of our customers which have e-mail accounts on our server want to use MailChimp along with our services. This causes several issues - if example email contact@domain.pl exists on our iredmail based server and the domain contains both our and mailichimp SPF records it causes message dropping with an error "Sender address rejected: not logged in" .  As there are many companies that provides bulk e-mail sending on the same basis it causes this problem very significant. Could you please provide us with solution or point us in the right direction to resolve the issue?

----

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

2

Re: External server problem

fisher006 wrote:

error "Sender address rejected: not logged in"

Add a new parameter in iRedAPD config file /opt/iredapd/settings.py like this:

ALLOWED_FORGED_SENDERS = ['user@mydomain.com', 'mydomain.com']

After restarted iredapd service, if someone else sends email with specified sender or sender domain as "From:" address, iRedAPD will not reject it.

3

Re: External server problem

It is not possible add SPF check in iredapd service?
If SPF match then all its OK?

Because this not make a sense i don't know which users want send from external servers and this is problematic smile

4

Re: External server problem

This is a good idea, i will keep it on my todo list, but cannot guarantee when it will be implemented.

5

Re: External server problem

fantastic.
One more question - it is safe upgrade spamassassin to 3.4.1? Because iredmail use 3.4.0

6

Re: External server problem

fisher006 wrote:

One more question - it is safe upgrade spamassassin to 3.4.1? Because iredmail use 3.4.0

iRedMail uses the one offered by Linux/BSD distribution vendors, you need to check SA official upgrade tutorial first.

7

Re: External server problem

Hi, this is the feature from #1 post?

https://bitbucket.org/zhb/iredapd/commi … 1022e28d0c

If yes how I can activate it?

Upgrade iredapd and enable plugin (which?)

8

Re: External server problem

fisher006 wrote:

Hi, this is the feature from #1 post?

Not related to the issue mentioned in #1 post.

9

Re: External server problem

fisher006 wrote:

It is not possible add SPF check in iredapd service?
If SPF match then all its OK?

dear fisher006,

This feature has been implemented today in the latest iRedAPD development edition, you can enable it by adding "CHECK_SPF_IF_LOGIN_MISMATCH = True" (without quotes) in iRedAPD config file.

This is sponsored development by Kacper Guzik <kacper.guzik _at_ zenbox.pl>.

If you have any question / issue related to this feature, feel free to create a new forum topic.