Cannot set custom SPF record

Hi,

To configure DNS I needed to modify SPF record. So I used Custom DNS and set v=spf1 include:servers.mcsv.net include:spf.mandrillapp.com ?all TXT record.

But the changes didn’t take effect. When I query the domain with dig it shows default v=spf1 mx -all.

⚡ dig @mx.letronium.com hack.dou.ua txt

; <<>> DiG 9.10.1-P1 <<>> @mx.letronium.com hack.dou.ua txt
; (2 servers found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49042
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1
;; WARNING: recursion requested but not available

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;hack.dou.ua.			IN	TXT

;; ANSWER SECTION:
hack.dou.ua.		1800	IN	TXT	"v=spf1 mx -all"

;; AUTHORITY SECTION:
hack.dou.ua.		1800	IN	NS	ns1.mx.letronium.com.
hack.dou.ua.		1800	IN	NS	ns2.mx.letronium.com.

;; Query time: 35 msec
;; SERVER: 128.199.46.173#53(128.199.46.173)
;; WHEN: Sun Feb 15 02:51:00 EET 2015
;; MSG SIZE  rcvd: 119

Am I doing anything wrong?

The spf record can’t currently be overridden. Feel free to open an issue on the github project about this.

Done: https://github.com/mail-in-a-box/mailinabox/issues/323
Draft patch: https://github.com/mail-in-a-box/mailinabox/pull/324/files