# Error - Sender is not authorized by default

**URL:** <https://discourse.mailinabox.email/t/error-sender-is-not-authorized-by-default/4489>\
**Category:** Help with Setup/Upgrade\
**Created:** [January 30, 2019, 5:40pm UTC](https://discourse.mailinabox.email/t/error-sender-is-not-authorized-by-default/4489 "2019-01-30T17:40:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kendjr](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/k/90ced4/32.png) [@kendjr](https://discourse.mailinabox.email/u/kendjr)\
**Post date:** [January 30, 2019, 5:40pm UTC](https://discourse.mailinabox.email/t/error-sender-is-not-authorized-by-default/4489/1 "2019-01-30T17:40:31Z")

</div>

I recently set up a new mail in a box server. some emails are going to spam.

I used mail-tester and it returned with the error below. Is it possible for me to modify the SPF record on my box without using an external name server?

Thanks!

* * *

What we retained as your current SPF record is:

v=spf1 include:transmail.net ~all  
It should be changed to:

v=spf1 include:transmail.net ip4:myserveripaddress ~all  
The Name Server handling the domain name [hamletmail.com](http://hamletmail.com) is [ns1.box.hamletmail.com](http://ns1.box.hamletmail.com).

Need guidance? View guides for each host.

More information about this error:

[hamletmail.com](http://hamletmail.com): Sender is not authorized by default to use ‘user@hamletmail.com’ in ‘mfrom’ identity, however domain is not currently prepared for false failures (mechanism ‘~all’ matched)

---

<div class="post-metadata">

**Author:** ![murgero](https://discourse.mailinabox.email/user_avatar/discourse.mailinabox.email/murgero/32/750_2.png) [@murgero](https://discourse.mailinabox.email/u/murgero)\
**Post date:** [January 30, 2019, 9:40pm UTC](https://discourse.mailinabox.email/t/error-sender-is-not-authorized-by-default/4489/2 "2019-01-30T21:40:26Z")

</div>

It’s telling you what to do right there, change the SPF record.

Edit: Also, make sure your MIAB server has a user account (like [user@hamletmail.com](mailto:user@hamletmail.com))

---

<div class="post-metadata">

**Author:** ![alento](https://discourse.mailinabox.email/user_avatar/discourse.mailinabox.email/alento/32/1371_2.png) [@alento](https://discourse.mailinabox.email/u/alento)\
**Post date:** [January 30, 2019, 11:03pm UTC](https://discourse.mailinabox.email/t/error-sender-is-not-authorized-by-default/4489/3 "2019-01-30T23:03:22Z")

</div>

> [@murgero](#):
>
> It’s telling you what to do right there, change the SPF record.

@kendjr To change the SPF record create a custom dns entry in the admin area. Your custom entry will overwrite the auto generated entry.

---

<div class="post-metadata">

**Author:** ![system](https://discourse.mailinabox.email/uploads/default/original/2X/4/4d0933d13c456b7e57f296aa6cc344525b6f0c70.png) [@system](https://discourse.mailinabox.email/u/system)\
**Post date:** [February 6, 2019, 11:03pm UTC](https://discourse.mailinabox.email/t/error-sender-is-not-authorized-by-default/4489/4 "2019-02-06T23:03:25Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
