Hi all,
I am working with zimbra 6.0.12 and I have done a little mistake when I was configuring my zimbra box for black list users. I have used the command 'zmlocalconfig' and by a mistake I put some incorrect values to the main.cf file. Now main.cf file is edited with some incorrect values and I couldn't send or receive emails. please tell me how to change the values back to normal in main.cf file.
my config was,
zmlocalconfig -u 'postfix_smtpd_recipient_restrictions = check_recipient_access hash:/opt/zimbra/postfix/conf/protected_recipients, reject_non_fqdn_recipient, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_unlisted_recipient, reject_invalid_hostname, reject_non_fqdn_sender, permit'
output of main.cf once postfix reloaded,
main.cf
queue_run_delay = 300spostfix_recipient_restrictions = check_recipient_access hash:/opt/zimbra/postfix/conf/protected_recipients, reject_non_fqdn_recipient, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_unlisted_recipient, reject_invalid_hostname, reject_non_fqdn_sender, permit
I actually wanted to edit the 'smtpd_recipient_restrictions'. But it changed the value in 'queue_run_delay'

error message when postfix reloading
[zimbra@mail2 conf]$ postfix reload
/opt/zimbra/bin/zmshutil: line 39: export: `=300s': not a valid identifier
/opt/zimbra/bin/zmshutil: line 39: export: `=check_recipient_access hash:/opt/zimbra/postfix/conf/protected_recipients, reject_non_fqdn_recipient, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_unlisted_recipient, reject_invalid_hostname, reject_non_fqdn_sender, permit': not a valid identifier
/opt/zimbra/bin/zmshutil: line 39: export: `=': not a valid identifier
postfix/postfix-script: refreshing the Postfix mail system
please tell me how to get rid of this problem, I have checked zmlocalconfig with '-u'. But it doesn't give any sense.
thanks in advance
regards
leo