Giter Site home page Giter Site logo

pulsejet / banner-warn Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 11.0 561 KB

Show avatars in roundcube message list with warnings

Home Page: https://packagist.org/packages/radialapps/banner-warn

License: MIT License

PHP 66.79% JavaScript 15.84% CSS 17.37%
roundcube roundcube-plugin spf

banner-warn's People

Contributors

cptcharlesg avatar filinovs avatar idunwannagotoschool avatar mvldebian avatar pulsejet avatar valarauco avatar xkill avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

banner-warn's Issues

roundcube: PHP Notice: Undefined index:

Hi!
Error messages on Roundcube 1.7

Apr 18 11:33:00 mail roundcube: PHP Notice:  Undefined index: x-spam-status in /var/www/html/webmail/plugins/banner_warn/banner_warn.php on line 150
Apr 18 11:33:00 mail roundcube: PHP Notice:  Undefined index: x-spam-level in /var/www/html/webmail/plugins/banner_warn/banner_warn.php on line 153
Apr 18 11:33:00 mail roundcube: PHP Notice:  Undefined index: received-spf in /var/www/html/webmail/plugins/banner_warn/banner_warn.php on line 145

and I not use X-spam.

but I have SPF in headers

For example

Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.160.178; helo=mail-qt1-f178.google.com; [email protected]; receiver=<UNKNOWN>

Plugin name confusion when installing with composer

Hi! Thank you for this awesome plugin!

I have recently switched the installation of this plugin to use composer instead of "manual" method.
I ran composer require radialapps/banner-warn, as indicated in README and Packagist.
My composer.json has this line

        "radialapps/banner-warn": "^1.2",

But when the plugin is installed, it's located under plugins/banner_warn/ and yet configuration stays banner-warn.
Also, main plugin's file is named banner_warn.php which conflicts with banner-warn naming.
This results in an error from RC trying to load the plugin.

Not working with multi domain settings

How to set up configuration options for multiple domains? I tried as an array list but it doesn't work. Can you tell how to set this plugin for several domains?

$config['org_email_regex'] = array('/@(.*\.|)domain1\.ab\.pl/i','/@(.*\.|)domain2\.ab\.pl/i');

This setting does not work. There is an error in the logs:

PHP Warning:  preg_match() expects parameter 1 to be string, array given in /path_to_roundcube/plugins/banner_warn/banner_warn.php on line 137

Display problem in larry

When the plugin is enables, in the larry skin the display is very weird, the first column that shows the avatar is very wide.

It's tests on the latest stable version of roundcube.

Problems with themes and request

Dear developer,
I tried to install your plugin into the latest version of roundcube (1.4.8)
I was successfull and it seems to work using with the elastic theme.
BTW I also made the localization into Italian and I can submit it to you if you're interested in.

Anyway, if I check what happens with classic theme, I get what I report in the image below.
Larry theme has similar problems.
Beside, I would like to ask you if it could be make possible to set the warn "outside of your organization" optional or, at least set mails coming from subdomains of a main domain without any warn.
I mean: we have a main domain which is @unipd.it. However we set roundcube for using it with our subdomain, ie @bio.unipd.it. Moreover, inside our University, we have other subdomains like @math.unipd.it, @dei.unipd.it, @stat.unipd.it etc...
It could be userful if your plugin avoid to warn for emails coming from the main domain and from other subdomains if it is not possible to make optional at all the warn for external organization mails.

Regards,
Topoldo

d302b061

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.