Search found 29 matches

by st3
Fri Apr 23, 2021 7:38 am
Forum: Administrators
Topic: copy to Sent items when sending from Pyhton
Replies: 5
Views: 5074

Re: copy to Sent items when sending from Pyhton

Yes, Than you! Imap works fine. Ended up using this script for Python: import time import ssl import imaplib import smtplib import email from email import encoders from email.mime.base import MIMEBase from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText class Mail: def...
by st3
Wed Apr 14, 2021 5:28 am
Forum: Administrators
Topic: copy to Sent items when sending from Pyhton
Replies: 5
Views: 5074

Re: copy to Sent items when sending from Pyhton

Yes. Save to sent is enabled in both places. I am sending by connecting to SMTP server directly like this: #!/usr/bin/python import smtplib from email.message import EmailMessage msg = EmailMessage() def sendEmail(sender,recepient,subject,message,passwd): msg.set_content(message) msg['Subject'] = su...
by st3
Tue Apr 13, 2021 9:17 am
Forum: Administrators
Topic: copy to Sent items when sending from Pyhton
Replies: 5
Views: 5074

copy to Sent items when sending from Pyhton

Hi, everyone! I'm sending messages to clients from different Python and PHP scripts and the messages are not saved to the accounts Sent Items folder. I googled around and the only suggestions I found were to add a Bcc rule and then create filters that move the message to sent items and mark as read....
by st3
Wed Aug 12, 2020 5:41 am
Forum: Administrators
Topic: Restricting senders works only on Web and SMTP port 25
Replies: 0
Views: 1437

Restricting senders works only on Web and SMTP port 25

Hi! I have configured user restriction for some users to send mail only to local domains by following this guide: https://wiki.zimbra.com/wiki/Restrict_users_to_certain_domain I noticed that it only works with Web, Zimbra Desktop and other mail clients only on SMTP port 25. If I use SMTP port 587 it...
by st3
Mon Feb 17, 2020 8:34 am
Forum: Administrators
Topic: bypass ClamAV check for a specific sender
Replies: 6
Views: 3474

Re: bypass ClamAV check for a specific sender

It looks like it is still virus checked by Clamav. In Spamassassin debug mode I'm getting a score of 1.107 Feb 17 10:19:49.525 [29521] dbg: check: is spam? score=1.107 required=5 . As I understand than in passes the check. Is it correct? If I add [ qr'^Heuristics\.Encrypted\.PDF' => 0.1 ], #JAD to /...
by st3
Fri Feb 14, 2020 10:08 am
Forum: Administrators
Topic: bypass ClamAV check for a specific sender
Replies: 6
Views: 3474

Re: bypass ClamAV check for a specific sender

Still haven't figured it out: Her is my config /opt/zimbra/data/spamassassin/localrules/sauser.cf Requires: /opt/zimbra/common/sbin/amavisd this entry in @virus_name_to_spam_score_maps # [ qr'^Heuristics\.Encrypted\.PDF' => 0.1 ], #JAD header J_ENCR_PDF X-Amavis-AV-Status =~ m{Heuristics\.Encrypted\...
by st3
Tue Feb 11, 2020 7:20 am
Forum: Administrators
Topic: bypass ClamAV check for a specific sender
Replies: 6
Views: 3474

Re: bypass ClamAV check for a specific sender

It seams to me like your solution allows all encrypted PDF's. Is there a way to completely bypass the filters for a certain sender?
by st3
Mon Feb 10, 2020 1:38 pm
Forum: Administrators
Topic: bypass ClamAV check for a specific sender
Replies: 6
Views: 3474

bypass ClamAV check for a specific sender

Hi. I'm using Zimbra Open Source edition 8.8.15 for about 3 months now. I noticed that some senders send us encrypted .zim or .pdf files that are automatically blocked by ClamAV with message: Heuristics.Encrypted.PDF FOUND. I need to bypass this check for some senders. I tried to do this by followin...
by st3
Thu Dec 12, 2019 12:25 pm
Forum: Administrators
Topic: Change global preferences like zimbraPrefLocale
Replies: 1
Views: 788

Change global preferences like zimbraPrefLocale

Hi. Can anyone please link me to a decent manual page on how to change preferences for all users?
I have been digging the internet for a few hours now and no result. Can't find how to change zimbraPrefLocale for all users.
Thank you in advance. :!:
by st3
Fri Nov 22, 2019 9:25 am
Forum: Administrators
Topic: Zimbra 8.8.15 and Outlook 2003
Replies: 2
Views: 1182

Re: Zimbra 8.8.15 and Outlook 2003

Solution: Import all the mail from Outlook2003 to a newer version of Outlook and all mail from Outlook Express to Windows Live Mail. And than use IMAP to import to Zimbra.