treba aktivirati smtp amavis servis na 10024
Signed-off-by: Dinko Korunic <kreator@carnet.hr>
if [ ! -f /etc/postfix/main.cf ] || \
if [ ! -f /etc/postfix/main.cf ] || \
- ! grep -q "smtp-amavis:[127.0.0.1]:10024" \
+ ! grep -q "^content_filter[\t ]*=[\t ]*smtp-amavis:\[127.0.0.1\]:10024[\t ]*" \
/etc/postfix/main.cf; then
postconf -e content_filter="smtp-amavis:[127.0.0.1]:10024"
restart_mta=1
/etc/postfix/main.cf; then
postconf -e content_filter="smtp-amavis:[127.0.0.1]:10024"
restart_mta=1