Hi,
Strange thing. When I try to edit a domain using EFA-Configure (Mail Settings->Transport Settings), I might get an error saying 'Error.... "n" is not an option..."
I have a list of 116 domains. If I type '116', it lets me edit the last domain in the list. If I type '46' it complains that it isn't an option.
What gives? Hope some of you, or one of the devs, could give me some pointers here.
Regards,
Svein Erik Fornes
3.0.7 Transport Settings domain editing error
Re: 3.0.7 Transport Settings domain editing error
At this point you use
/var/EFA/lib/EFA-Configure/func_mailsettings
which
cat /etc/postfix/transport
You should take a look at /etc/postfix/transport
Everything ok in this file?
domain.tld smtp:[IP]
domain2.tld smtp:[IP2]
.
.
.
/var/EFA/lib/EFA-Configure/func_mailsettings
which
cat /etc/postfix/transport
You should take a look at /etc/postfix/transport
Everything ok in this file?
domain.tld smtp:[IP]
domain2.tld smtp:[IP2]
.
.
.
Re: 3.0.7 Transport Settings domain editing error
Hi DaN, and thanks for your reply.
Yes, the /etc/postfix/transport looks fine. I can find all my domains, and can't see any errors in the file. All of the lines follow the standard you write.
Yes, the /etc/postfix/transport looks fine. I can find all my domains, and can't see any errors in the file. All of the lines follow the standard you write.
- shawniverson
- Posts: 3783
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: 3.0.7 Transport Settings domain editing error
116 domains, impressiveStrange thing. When I try to edit a domain using EFA-Configure (Mail Settings->Transport Settings), I might get an error saying 'Error.... "n" is not an option..."
I have a list of 116 domains. If I type '116', it lets me edit the last domain in the list. If I type '46' it complains that it isn't an option.

I bet EFA-Configure is having trouble with so many domains.
Would you be willing to send me your /etc/postfix/transports file? I would like to use it to debug EFA-Configure.
If so, PM me.
- shawniverson
- Posts: 3783
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: 3.0.7 Transport Settings domain editing error
Patch fix for Transport editor in EFA-Configure:
Copy this into a file called func_mailsettings.patch and run the following:
Code: Select all
56a57
> [[ $(((y/2 + 1) % 25)) -eq 0 ]] && pause
68c69
< if [[ $choice > "0" && $choice < $((tLen/2+1)) ]]; then
---
> if [[ $choice -gt 0 && $choice -lt $((tLen/2+1)) ]]; then
Code: Select all
patch /var/EFA/lib/EFA-Configure/func_mailsettings func_mailsettings.patch
Re: 3.0.7 Transport Settings domain editing error
Worked like a charm. Thank you very much! 
Regards,
Svein Erik

Regards,
Svein Erik