You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 30, 2025. It is now read-only.
It would be great to check if the original mail goes to a alias-list or is only for me. So auto reply won't answer for a mail which was not only for me and was sent to an alias
The text was updated successfully, but these errors were encountered:
def handle(self, *args, **options):
if options["debug"]:
logger.setLevel(logging.DEBUG)
logger.debug(
"autoreply sender=%s recipient=%s orig=%s",
options["sender"], ",".join(options["recipient"]), options["original_recipient"]
)
original_recipient = options["original_recipient"]
recipient = options["recipient"]
if ( original_recipient not in recipient ):
logger.debug(
"Skip auto reply, this mail was for an alias list")
return`
and modified the master.cf from postfix like this: autoreply unix - n n - - pipe flags= user=vmail:vmail argv=/srv/modoboa/env/bin/python /srv/modoboa/instance/manage.py autoreply $sender $mailbox $original_recipient
It would be great to check if the original mail goes to a alias-list or is only for me. So auto reply won't answer for a mail which was not only for me and was sent to an alias
The text was updated successfully, but these errors were encountered: