[contribteam] [Bug 10182] Compatibilty with SME 9 and/or 10

2022-08-31 Thread bugzilla-daemon--- via contribteam
https://bugs.koozali.org/show_bug.cgi?id=10182

--- Comment #13 from John Crisp  ---
Graeme, please check 12162

-- 
You are receiving this mail because:
You are the QA Contact for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 10182] Compatibilty with SME 9 and/or 10

2022-08-31 Thread bugzilla-daemon--- via contribteam
https://bugs.koozali.org/show_bug.cgi?id=10182

John Crisp  changed:

   What|Removed |Added

 Status|NEEDINFO|IN_PROGRESS
 Depends on||12162

--- Comment #12 from John Crisp  ---
I am just importing this to v10.

It will need some testing and probably modification.


Referenced Bugs:

https://bugs.koozali.org/show_bug.cgi?id=12162
[Bug 12162] First import to Koozali SME v10  [smeserver-mxbackup]
-- 
You are receiving this mail because:
You are the QA Contact for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 10182] Compatibilty with SME 9 and/or 10

2021-06-29 Thread bugzilla-daemon--- via contribteam
https://bugs.koozali.org/show_bug.cgi?id=10182

Graeme Fleming  changed:

   What|Removed |Added

 Status|CONFIRMED   |NEEDINFO

-- 
You are receiving this mail because:
You are the QA Contact for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 10182] Compatibilty with SME 9 and/or 10

2021-06-21 Thread bugzilla-daemon--- via contribteam
https://bugs.koozali.org/show_bug.cgi?id=10182

--- Comment #11 from John Crisp  ---
For Graeme to note I have already done quite a bit of this. See the changelog
and builds here, but these were for v9 so are NOT systemd aware. I think that
was the last work I did but need to check by git repo here.

https://www.reetspetit.com/smetest/6/repoview/smeserver-mxbackup.html

Few extra notes here:

https://github.com/reetp/smeserver-mxbackup

The contrib is not workable on v10 currently (and even with all my work so far,
it would not work properly on v9 either)

The latest files for v9 with path patches etc are in my build server waiting
for a commit, or could be imported from the srpm.

Either work on them as is and then commit a new working contrib, or push then
into smev10 CVS and then work from there to make then v10 compliant.

If you want to see this happen Brian will probably import them for you.

But you will need help from JP, Terry, Brian etc for the systemd bit, and that
will be a lot easier with an account on my Rocket server where we all hang out.

Let me know if you want an account.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 10182] Compatibilty with SME 9 and/or 10

2021-06-02 Thread bugzilla-daemon--- via contribteam
https://bugs.koozali.org/show_bug.cgi?id=10182

--- Comment #10 from Graeme Fleming  ---
Just loaded the rpm onto SME10 RC, thing I noticed:

yum localinstall worked without any error. After signal-event update/reboot
routine I checked the menu in server-manager & it shows on the left but when
you click on it the shows an Internal Server Error page.

Checking the /var/log/httpd/admin_error_log I see:

[Wed Jun 02 23:21:36.008159 2021] [cgi:error] [pid 1909] [client
127.0.0.1:52506] AH01215: Can't locate esmith/FormMagick/Panel/mxbackup.pm in
@INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5
/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5
/usr/share/perl5) at /etc/e-smith/web/panels/manager/cgi-bin/mxbackup line 27.,
referer: https://mail.xxx.xxx/server-manager/navigation
[Wed Jun 02 23:21:36.008285 2021] [cgi:error] [pid 1909] [client
127.0.0.1:52506] AH01215: BEGIN failed--compilation aborted at
/etc/e-smith/web/panels/manager/cgi-bin/mxbackup line 27., referer:
https://mail.xxx.xxx/server-manager/navigation
[Wed Jun 02 23:21:36.008299 2021] [cgi:error] [pid 1909] [client
127.0.0.1:52506] End of script output before headers: mxbackup, referer:
https://mail.xxx.xxx/server-manager/navigation
[Wed Jun 02 23:21:44.865925 2021] [cgi:error] [pid 4663] [client
127.0.0.1:52512] AH01215: Can't locate esmith/FormMagick/Panel/mxbackup.pm in
@INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5
/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5
/usr/share/perl5) at /etc/e-smith/web/panels/manager/cgi-bin/mxbackup line 27.,
referer: https://mail.xxx.xxx/server-manager/navigation
[Wed Jun 02 23:21:44.866042 2021] [cgi:error] [pid 4663] [client
127.0.0.1:52512] AH01215: BEGIN failed--compilation aborted at
/etc/e-smith/web/panels/manager/cgi-bin/mxbackup line 27., referer:
https://mail.xxx.xxx/server-manager/navigation
[Wed Jun 02 23:21:44.866054 2021] [cgi:error] [pid 4663] [client
127.0.0.1:52512] End of script output before headers: mxbackup, referer:
https://mail.xxx.xxx/server-manager/navigation

SME 10 is using FormMagick 6 under SME 10 (I'm comparing to SME 8.2) some of
the perl locations have also changed, for example clamav.pm used by the SME 10
menu is now in /usr/share/perl5/vendor_perl/esmith/FormMagick/Panel whereas
both it & the mxbackup.pm file used to reside in
/usr/lib/perl5/site_perl/esmith/FormMagick/Panel under SME 8.2

On installation the mxbackup.pm file has been loaded into the old path which
has been created just for it, & it is hence the only file in there.

It looks like the code in the mxbackup.pm file that is the source of the errors
is:

use esmith::FormMagick::Panel::mxbackup;
my $form = esmith::FormMagick::Panel::mxbackup->new();

I'd surmise a perl path/location or environment issue so the FormMagick call is
invalid.

Please advise what/how to fix this & I'll test further.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 10182] Compatibilty with SME 9 and/or 10

2020-02-14 Thread bugzilla-daemon
https://bugs.contribs.org/show_bug.cgi?id=10182

--- Comment #9 from John Crisp  ---
(In reply to Jean-Philippe Pialasse from comment #8)

> 
> nop original code source from PAscal has already qpsmtpd templates
> 

Yup you are right. Too much xl2tpd/ipsec in my brain!

So these are the files that it generates:

/service/qpsmtpd/config/goodrcptto
/var/qmail/control/rcpthosts

Only if SmartHost is set:
/var/qmail/control/smtproutes

This is absolutely correct:

> check_goodrcptto  uses items found in goodrcptto


check_goodrcptto

=head1 DESCRIPTION

This plugin denies all recipients except those in the goodrcptto config file 
(i.e. like badrcptto, but whitelisting). It supports recipient username 
extension stripping, and both domain ('@domain.com') and username (bare
'postmaster') wildcard entries in the config file.


So, that case it should be case of adding a domain and testing. 

Not sure how in the first instance?

Theoretically we should be able to telnet to the server and try to send to that
user@domain and he mx should then try to forward it to the real server??

-- 
You are receiving this mail because:
You are the QA Contact for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 10182] Compatibilty with SME 9 and/or 10

2020-02-13 Thread bugzilla-daemon
https://bugs.contribs.org/show_bug.cgi?id=10182

--- Comment #8 from Jean-Philippe Pialasse  ---
(In reply to John Crisp from comment #7)
> I'll take this.
> 
> This contrib was designed with only qmail in mind.
> 
> SME now uses qpsmtpd for receiving mail so we need to allow receipt of mail
> for MX host/domains.
> 
> I'll add to this with any patches.

nop original code source from PAscal has already qpsmtpd templates


what has changed in SME9 last update is that some plugins were renamed or even
change their behaviour

goodrcptto  === is now  ==> check_goodrcptto

smeserver-mxbackup/root/etc/e-smith/templates/var/service/qpsmtpd/config/goodrcptto/50MXBackup

seems still ok as the config file did not change its name


This plugin denies all recipients except those in the goodrcptto config file
(i.e. like badrcptto, but whitelisting). It supports recipient username
extension stripping, and both domain ('@domain.com') and username (bare
'postmaster') wildcard entries in the config file.

so I see no issue there...


any log  from your tests ?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 10182] Compatibilty with SME 9 and/or 10

2020-02-13 Thread bugzilla-daemon
https://bugs.contribs.org/show_bug.cgi?id=10182

John Crisp  changed:

   What|Removed |Added

   Assignee|schir...@schirrms.net   |jcr...@safeandsoundit.co.uk

--- Comment #7 from John Crisp  ---
I'll take this.

This contrib was designed with only qmail in mind.

SME now uses qpsmtpd for receiving mail so we need to allow receipt of mail for
MX host/domains.

I'll add to this with any patches.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 10182] Compatibilty with SME 9 and/or 10

2018-09-20 Thread bugzilla-daemon
https://bugs.contribs.org/show_bug.cgi?id=10182

--- Comment #6 from John Crisp  ---
(In reply to John Crisp from comment #5)
> Ah I think I missed there may be difference between check_goodrcptto and
> goodrcptto filters. Need to check this.

Nope ignore me.

The check_goodrcptto plugin should read all entries in the goodrcptto file

"This plugin denies all recipients except those in the goodrcptto config file"

So I have my domains listed in the goodrcptto file but they seem to be refused.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 10182] Compatibilty with SME 9 and/or 10

2018-09-18 Thread bugzilla-daemon
https://bugs.contribs.org/show_bug.cgi?id=10182

--- Comment #4 from John Crisp  ---
Note the code is in CVS or here

https://github.com/reetp/smeserver-mxbackup

-- 
You are receiving this mail because:
You are the QA Contact for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 10182] Compatibilty with SME 9 and/or 10

2018-09-18 Thread bugzilla-daemon
https://bugs.contribs.org/show_bug.cgi?id=10182

John Crisp  changed:

   What|Removed |Added

 CC||jcr...@safeandsoundit.co.uk

--- Comment #3 from John Crisp  ---
As luck would have it with my UPS trashed by lightning the other week, I leave
to go abroad for work, and have another thunderstorm which has taken out BOTH
my internet lines.

OK, so the remaining work colleague has long range wifi as the 3rd backup but
it is double natted with CGN so it's ok for the user but useless for remote
access.

The worst bit is my mail can't get delivered.

Hey ho thinks I, I repackaged the smeserver-mxbackup some while back - that
should work. Accept all mail to a temporary SME server online and let it
deliver when things are back up.

All fine, except it won't accept the mail.

The contrib only seems to manage 3 files:

Incoming:
/var/service/qpsmtpd/config/goodrcptto

Outgoing:
/var/qmail/control/rcpthosts
/var/qmail/controlsmtproutes

It should accept any mail for the MX domain and put it in the qmail queue for
sending.

It has an issue that it doesn't restart mail on an update, but that can be
sorted. A post-upgrade/reboot fixes it. I'll try and look at it.


cat /var/service/qpsmtpd/config/goodrcptto

blah blah...
# MX Backup entries start
# This is the list of the mail domains,
# from the MX-Backup configuration of the local system.
@reetspetit.net
@safeandsoundit.co.uk
# MX Backup entries end


cat /var/qmail/control/rcpthosts

# Following is a list of systems or domains.
# This system is configured to act as a MX Backup for theses
# systems (if there's only one line) or domains. If there is a
# line beginning with a dot, then this system accept mails for
# any hosts of this domain
# MX Backup start
reetspetit.net
.reetspetit.net
safeandsoundit.co.uk
.safeandsoundit.co.uk
# MX Backup end

/var/qmail/control/smtproutes - this is empty. Only applies is you have a
Smarthost enabled which I do not.

However, I can see the mail come in, but it looks like it gets declined.

I have a feeling it is something to do with how the goodrcptto plugin is
called.

In an existing SME we seem to have:

/etc/e-smith/templates/var/service/qpsmtpd/config/peers/0

38check_goodrcptto -> ../../plugins/38check_goodrcptto

{
return "" unless $bounce_unknown_user;

"check_goodrcptto extn -";
}

So in /var/service/qpsmtpd/config/peers/0 and ./local we get 

check_goodrcptto extn -


Any suggestions on where this is wrong and how to fix it?

Note I can't get any bug mails currently :-(

-- 
You are receiving this mail because:
You are the QA Contact for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 10182] Compatibilty with SME 9 and/or 10

2017-07-01 Thread bugzilla-daemon
https://bugs.contribs.org/show_bug.cgi?id=10182

--- Comment #2 from Jean-Philippe Pialasse  ---
Please see https://forums.contribs.org/index.php?topic=53188.new#new

-- 
You are receiving this mail because:
You are the QA Contact for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 10182] Compatibilty with SME 9 and/or 10

2017-03-25 Thread bugzilla-daemon
https://bugs.contribs.org/show_bug.cgi?id=10182

Jean-Philippe Pialasse  changed:

   What|Removed |Added

 CC||te...@pialasse.com

--- Comment #1 from Jean-Philippe Pialasse  ---
Hi Graeme,

hopping Pascal will step in to give you an answer, I will try to gather some
information.

which version and which how to are you using on SME8?

is it : https://www.schirrms.net/sme/MXBackup.php?phpLang=en



https://www.schirrms.net/files/smeserver-mxbackup-utf8-0.1.0-03.src.rpm
https://www.schirrms.net/files/smeserver-mxbackup-0.1.0-03.noarch.rpm
https://www.schirrms.net/files/smeserver-mxbackup-0.1.0-03.src.rpm


I would say it should work as is, if ti worked on sme8, but you should try and
report. if needed I could import it in the buildsystem and work on translation
and bug fis with your help and Pascal if he is available.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 10182] Compatibilty with SME 9 and/or 10

2017-03-25 Thread bugzilla-daemon
https://bugs.contribs.org/show_bug.cgi?id=10182

Bug ID: 10182
   Summary: Compatibilty with SME 9 and/or 10
Classification: Contribs
   Product: SME Contribs
   Version: Futur
  Hardware: ---
OS: ---
Status: CONFIRMED
  Severity: normal
  Priority: P3
 Component: smeserver-mxbackup
  Assignee: schir...@schirrms.net
  Reporter: gra...@gfitc.com.au
QA Contact: contribteam@lists.contribs.org
  Target Milestone: ---

Using this contrib on SME8.2 currently & works well.

Given the upgrade to the latest qpsmtpd will introduce some significant changes
to the core behaviour & operation, maily due to changing extension names & some
extensions being deprecated, can anyone inform me if this contrib is likely
usable in the newer SME versions.

If not what would need to be changed?

Cheers

-- 
You are receiving this mail because:
You are the QA Contact for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/