I created as Eric suggester a tcp.submission file, added this:
127.:allow,RELAYCLIENT="",DKSIGN="/var/qmail/control/domainkeys/%/private",NOP0FCHECK="1"
:allow,AUTH=0,REQUIRE_AUTH=0,ALLOW_INSECURE_AUTH=0.RELAYCLIENT="1.1.1.1"
Do I have the sytax correct is the first question,
Then edited the qmailctl file and added this: under existing section
cdb)
tcprules /etc/tcprules.d/tcp.submission.cdb
/etc/tcprules.d/tcp.submission.tmp < /etc/tcprules.d/tcp.submission
chmod 644 /etc/tcprules.d/tcp.submission*
echo "Reloaded /etc/tcprules.d/tcp.submission"
Run qmailctl cdb
gives errors,
/usr/bin/qmailctl: line 124: queue: command not found
/usr/bin/qmailctl: line 125: alrm: command not found
/usr/bin/qmailctl: line 126: hup: command not found
/usr/bin/qmailctl: line 127: HELP: command not found
/usr/bin/qmailctl: line 128: syntax error near unexpected token `;;'
/usr/bin/qmailctl: line 128: ` ;;'
When I remove what I added, re run qmailctl cdb, all is good.
Dave M
On 12/8/2014 9:05 AM, SYS wrote:
I think I found that, let me play and will post back
Dave M
I think the best solution for this is to create an account in QMT for
barracuda to use for relaying, then configure barracuda to
authenticate on port 587.
If you can't configure barracuda to authenticate, there is another
way. I think the problem is that even if you set REQUIRE_AUTH=0 in
tcp.smtp file for barracuda's ip, the run script will clobber that
back to REQUIRE_AUTH=1. The solution is to use a separate
tcp.submission file for submissions (which will be happening in a
future release). Then REQUIRE_AUTH can be set in tcp.submission (=0
for selected, =1 for default), and remove the variable from the
submission/run file. Don't forget to change the tcp_cdb filename in
the submission/run file, and you should also add the tcp.submission
file to the qmailctl script to build the cdb for it.
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]