Browse Source
Backport of various fixes from trunk to the 2.3 branch
Backport of various fixes from trunk to the 2.3 branch
- list-virtual: fix displaying of 'modified' column for aliases when using postgres - replaced deprecated split() with preg_split() or explode() - functions.inc.php: better error messages when database functions are missing - create domain: fixed typo in variable name that broke the default value for default aliases - create domain: backup MX checkbox is now XHTML compliant - vacation.pl logged literal $variable instead of the variable content at two places - POSTFIX_CONF.txt: fixed filename for quota map - config.inc.php: removed double $CONF['database_prefix'] - config.inc.php: fixed comments about domain_post* script parameters - CHANGELOG.TXT: add new section for 2.3.3, include all the above git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@893 a1433add-5e2c-0410-b055-b7f2511e0802postfixadmin-2.3
81 changed files with 2773 additions and 215 deletions
-
8ADDITIONS/cyrus/Changelog
-
7ADDITIONS/cyrus/README-ES.txt
-
7ADDITIONS/cyrus/README.txt
-
36ADDITIONS/cyrus/cyrus-mailbox-postcreation.pl
-
36ADDITIONS/cyrus/cyrus-mailbox-postdelete.pl
-
33ADDITIONS/cyrus/cyrus-mailbox-postedit.pl
-
31ADDITIONS/cyrus/cyrus.conf
-
BINADDITIONS/postfixadmin-0.3-1.4.tar.gz
-
39ADDITIONS/squirrelmail-plugin/INSTALL
-
40ADDITIONS/squirrelmail-plugin/LICENSE.txt
-
70ADDITIONS/squirrelmail-plugin/README
-
39ADDITIONS/squirrelmail-plugin/common.php
-
22ADDITIONS/squirrelmail-plugin/config.php.sample
-
20ADDITIONS/squirrelmail-plugin/debian/README.Debian
-
27ADDITIONS/squirrelmail-plugin/debian/changelog
-
1ADDITIONS/squirrelmail-plugin/debian/conffiles
-
19ADDITIONS/squirrelmail-plugin/debian/control
-
11ADDITIONS/squirrelmail-plugin/debian/copyright
-
4ADDITIONS/squirrelmail-plugin/debian/docs
-
1ADDITIONS/squirrelmail-plugin/debian/files
-
3ADDITIONS/squirrelmail-plugin/debian/postfixadmin-squirrelmail.dirs
-
5ADDITIONS/squirrelmail-plugin/debian/postinst
-
56ADDITIONS/squirrelmail-plugin/debian/rules
-
102ADDITIONS/squirrelmail-plugin/functions.inc.php
-
27ADDITIONS/squirrelmail-plugin/index.php
-
6ADDITIONS/squirrelmail-plugin/locale/build.sh
-
BINADDITIONS/squirrelmail-plugin/locale/cs_CZ/LC_MESSAGES/postfixadmin.mo
-
132ADDITIONS/squirrelmail-plugin/locale/cs_CZ/LC_MESSAGES/postfixadmin.po
-
BINADDITIONS/squirrelmail-plugin/locale/da_DK/LC_MESSAGES/postfixadmin.mo
-
127ADDITIONS/squirrelmail-plugin/locale/da_DK/LC_MESSAGES/postfixadmin.po
-
BINADDITIONS/squirrelmail-plugin/locale/de_DE/LC_MESSAGES/postfixadmin.mo
-
127ADDITIONS/squirrelmail-plugin/locale/de_DE/LC_MESSAGES/postfixadmin.po
-
BINADDITIONS/squirrelmail-plugin/locale/hu_HU/LC_MESSAGES/postfixadmin.mo
-
135ADDITIONS/squirrelmail-plugin/locale/hu_HU/LC_MESSAGES/postfixadmin.po
-
129ADDITIONS/squirrelmail-plugin/locale/it_IT/LC_MESSAGES/postfixadmin.po
-
BINADDITIONS/squirrelmail-plugin/locale/nl_NL/LC_MESSAGES/postfixadmin.mo
-
131ADDITIONS/squirrelmail-plugin/locale/nl_NL/LC_MESSAGES/postfixadmin.po
-
BINADDITIONS/squirrelmail-plugin/locale/pl_PL/LC_MESSAGES/postfixadmin.mo
-
132ADDITIONS/squirrelmail-plugin/locale/pl_PL/LC_MESSAGES/postfixadmin.po
-
BINADDITIONS/squirrelmail-plugin/locale/pt_BR/LC_MESSAGES/postfixadmin.mo
-
127ADDITIONS/squirrelmail-plugin/locale/pt_BR/LC_MESSAGES/postfixadmin.po
-
127ADDITIONS/squirrelmail-plugin/po/postfixadmin.po
-
128ADDITIONS/squirrelmail-plugin/postfixadmin_changepass.php
-
161ADDITIONS/squirrelmail-plugin/postfixadmin_forward.php
-
157ADDITIONS/squirrelmail-plugin/postfixadmin_vacation.php
-
62ADDITIONS/squirrelmail-plugin/setup.php
-
2ADDITIONS/squirrelmail-plugin/version
-
71CHANGELOG.TXT
-
7DOCUMENTS/DOVECOT.txt
-
2DOCUMENTS/POSTFIX_CONF.txt
-
12INSTALL.TXT
-
4VIRTUAL_VACATION/vacation.pl
-
35config.inc.php
-
2create-domain.php
-
6create-mailbox.php
-
2css/default.css
-
27debian/README.source
-
24debian/changelog
-
5debian/control
-
13debian/patches/20100221_db-credentials
-
2debian/patches/series
-
3debian/postfixadmin.docs
-
16debian/postfixadmin.examples
-
2debian/postfixadmin.install
-
2debian/watch
-
9delete.php
-
6edit-alias.php
-
37functions.inc.php
-
12languages/nl.lang
-
105languages/pl.lang
-
34list-domain.php
-
143list-virtual.php
-
2login.php
-
2setup.php
-
2templates/admin_create-domain.php
-
51templates/list-virtual.php
-
2templates/login.php
-
4upgrade.php
-
7users/edit-alias.php
-
7users/password.php
-
3viewlog.php
@ -0,0 +1,8 @@ |
|||
|
|||
Version 0.1 -- 26/10/2009 |
|||
--------------------------- |
|||
|
|||
* Public Release. |
|||
* Postcreation, Postdeletion and Postedit hooks. |
|||
|
|||
|
|||
@ -0,0 +1,7 @@ |
|||
|
|||
Configuración |
|||
------------- |
|||
|
|||
- Edita el fichero cyrus.conf y modifica las variables $cyrus_*. El usuario debe tener permisos sobre todas las cuentas. |
|||
- Edita los ficheros cyrus-*.pl y cambia la ruta de cyrus.conf (linea require '/path/to/cyrus.conf';) |
|||
|
|||
@ -0,0 +1,7 @@ |
|||
|
|||
Configuration |
|||
------------- |
|||
|
|||
- Edit cyrus.conf and set $cyrus_* variables correctly. User must have permission over all accounts. |
|||
- Edit cyrus-*.pl and change path to cyrus.conf (require '/path/to/cyrus.conf'; line) |
|||
|
|||
@ -0,0 +1,36 @@ |
|||
#!/usr/bin/perl |
|||
|
|||
# Cyrus Mailbox creation |
|||
# |
|||
# Iñaki Rodriguez (irodriguez@virtualminds.es / irodriguez@ackstorm.es) |
|||
# |
|||
# LICENSE |
|||
# This source file is subject to the GPL license that is bundled with |
|||
# this package in the file LICENSE.TXT. |
|||
# |
|||
# (26/10/2009) |
|||
|
|||
use Cyrus::IMAP::Admin; |
|||
require '/etc/mail/postfixadmin/cyrus.conf'; |
|||
use strict; |
|||
use vars qw($cyrus_user $cyrus_password $cyrus_host); |
|||
|
|||
my %opts; |
|||
|
|||
my $mailbox = mailbox_name($ARGV[0]); |
|||
|
|||
my $client = Cyrus::IMAP::Admin->new($cyrus_host); |
|||
die_on_error($client); |
|||
|
|||
$opts{-user} = $cyrus_user; |
|||
$opts{-password} = $cyrus_password; |
|||
|
|||
$client->authenticate(%opts); |
|||
die_on_error($client); |
|||
|
|||
$client->create($mailbox); |
|||
die_on_error($client); |
|||
|
|||
$client->setquota($mailbox,'STORAGE',scalar $ARGV[3]) if ($ARGV[3] > 0); |
|||
die_on_error($client); |
|||
|
|||
@ -0,0 +1,36 @@ |
|||
#!/usr/bin/perl |
|||
|
|||
# Cyrus Mailbox deletion |
|||
# |
|||
# Iñaki Rodriguez (irodriguez@virtualminds.es / irodriguez@ackstorm.es) |
|||
# |
|||
# LICENSE |
|||
# This source file is subject to the GPL license that is bundled with |
|||
# this package in the file LICENSE.TXT. |
|||
# |
|||
# (26/10/2009) |
|||
|
|||
use Cyrus::IMAP::Admin; |
|||
require '/etc/mail/postfixadmin/cyrus.conf'; |
|||
use strict; |
|||
use vars qw($cyrus_user $cyrus_password $cyrus_host); |
|||
|
|||
my %opts; |
|||
|
|||
my $mailbox = mailbox_name($ARGV[0]); |
|||
|
|||
my $client = Cyrus::IMAP::Admin->new($cyrus_host); |
|||
die_on_error($client); |
|||
|
|||
$opts{-user} = $cyrus_user; |
|||
$opts{-password} = $cyrus_password; |
|||
|
|||
$client->authenticate(%opts); |
|||
die_on_error($client); |
|||
|
|||
$client->setacl($mailbox,$cyrus_user => 'all'); |
|||
die_on_error($client); |
|||
|
|||
$client->deletemailbox($mailbox); |
|||
die_on_error($client); |
|||
|
|||
@ -0,0 +1,33 @@ |
|||
#!/usr/bin/perl |
|||
|
|||
# Cyrus Mailbox edition |
|||
# |
|||
# Iñaki Rodriguez (irodriguez@virtualminds.es / irodriguez@ackstorm.es) |
|||
# |
|||
# LICENSE |
|||
# This source file is subject to the GPL license that is bundled with |
|||
# this package in the file LICENSE.TXT. |
|||
# |
|||
# (26/10/2009) |
|||
|
|||
use Cyrus::IMAP::Admin; |
|||
require '/etc/mail/postfixadmin/cyrus.conf'; |
|||
use strict; |
|||
use vars qw($cyrus_user $cyrus_password $cyrus_host); |
|||
|
|||
my %opts; |
|||
|
|||
my $mailbox = mailbox_name($ARGV[0]); |
|||
|
|||
my $client = Cyrus::IMAP::Admin->new($cyrus_host); |
|||
die_on_error($client); |
|||
|
|||
$opts{-user} = $cyrus_user; |
|||
$opts{-password} = $cyrus_password; |
|||
|
|||
$client->authenticate(%opts); |
|||
die_on_error($client); |
|||
|
|||
$client->setquota($mailbox,'STORAGE',scalar $ARGV[3]) if ($ARGV[3] > 0); |
|||
die_on_error($client); |
|||
|
|||
@ -0,0 +1,31 @@ |
|||
#!/usr/bin/perl |
|||
|
|||
# Config |
|||
|
|||
$cyrus_user = 'cyrus'; |
|||
$cyrus_password = 'cyruspass'; |
|||
$cyrus_host = 'localhost'; |
|||
|
|||
# unixhierarchysep => 1 (yes) / 0 (no) |
|||
$unixhierarchysep = 1; |
|||
|
|||
# Common routines |
|||
|
|||
sub mailbox_name { |
|||
my $mailbox = shift; |
|||
|
|||
if($unixhierarchysep) { |
|||
$mailbox = 'user/'.$ARGV[0]; |
|||
} else { |
|||
$mailbox = 'user.'.$ARGV[0]; |
|||
} |
|||
|
|||
return $mailbox; |
|||
} |
|||
|
|||
sub die_on_error { |
|||
my $cyradm = shift; |
|||
if($cyradm->error) { die $cyradm->error; } |
|||
} |
|||
1; |
|||
|
|||
@ -0,0 +1,39 @@ |
|||
Installing the postfixadmin Plugin |
|||
====================================== |
|||
|
|||
Requirements: |
|||
============= |
|||
|
|||
- PHP 5.2.x with php5-xmlrpc installed (if available; it should be available by default anyway) |
|||
- http access to a local/remote postfixadmin interface |
|||
- Zend Framework - download from http://framework.zend.com |
|||
- the Zend directory needs to be in PHP's include_path, or in the same directory |
|||
as the plugin. Suggested version 1.10; older versions should work. |
|||
|
|||
Installation : |
|||
============== |
|||
|
|||
- Check out this code (svn co http://squirrelmail-postfixadmin.palepurple.co.uk/svn/trunk postfixadmin) |
|||
into the Squirrelmail plugins directory. |
|||
|
|||
- Edit config.php and specify the remote URL for the Postfixadmin XmlRpc service. There isn't much more to change. |
|||
|
|||
- Edit the remote Postfixadmin's XmlRpc service config file and ensure 'xmlrpc_enable' is set to boolean true. |
|||
|
|||
- Enable the plugin through 'squirrelmail-configure' or 'config/conf.pl'. |
|||
Choose option 8 and move the plugin from the "Available Plugins" |
|||
category to the "Installed Plugins" category. Save and exit. |
|||
|
|||
|
|||
Security : |
|||
========== |
|||
|
|||
- The XmlRpc client needs to get the user's mailbox password before it will be able to connect to the |
|||
XmlRpc server (postfixadmin). The plugin prompts the user for their mailbox password, and caches it in their session |
|||
($_SESSION['password']). This password is then sent once on every page load to the remote XmlRpc server. |
|||
|
|||
- You should consider doing any of the following : |
|||
|
|||
- Using https if the server and client are on seperate servers. This will probably require a signed certificate etc, and may require changes to the Zend_XmlRpc_Client's HttpClient. |
|||
- Using something like stunnel to encrypt traffic between server(s). |
|||
|
|||
@ -0,0 +1,40 @@ |
|||
|
|||
2007/03/29 : |
|||
Before I (David Goodwin) customised this plugin, it contained the following within all |
|||
files as a header. |
|||
|
|||
/**************************************************************************************** |
|||
|
|||
Author ......... Florian Kimmerl |
|||
Contact ........ info@spacekoeln.de |
|||
Home Site ...... http://www.spacekoeln.de/ |
|||
Program ........ postfixadmin |
|||
Purpose ........ Allows you to change your postfixadmin settings within squirrelmail |
|||
|
|||
************************************************************************************* |
|||
|
|||
The Original Code is Postfix Admin. |
|||
The Initial Developer of the Original Code is Mischa Peters . |
|||
Portions created by Mischa Peters are Copyright (c) 2002, 2003, 2004. |
|||
All Rights Reserved. |
|||
Contributor(s): |
|||
This project includes work by Mischa Peters and others that is: |
|||
Copyright (c) 2002,2003,2004 Mischa Peters |
|||
All rights reserved. |
|||
|
|||
****************************************************************************************/ |
|||
|
|||
|
|||
Contacting the author provided no success, so I took over maintainership. |
|||
|
|||
Please note: |
|||
|
|||
1) Changes made by myself (David Goodwin) will be licensed under the GPL |
|||
2) PostfixAdmin has itself been relicensed under the GPL; however this took place _after_ |
|||
this plugin was written. |
|||
3) Squirrelmail itself is released under http://squirrelmail.org/wiki/SquirrelMailGPL (GPL) |
|||
|
|||
|
|||
The GNU public license can be found online at : |
|||
|
|||
http://www.gnu.org/licenses/gpl.txt |
|||
@ -0,0 +1,70 @@ |
|||
Squirrelmail Plugin Postfixadmin |
|||
******************************** |
|||
|
|||
The Postfixadmin SquirrelMail plugin let users change their virtual alias, |
|||
vacation status/message and password if you are using the great postfixadmin |
|||
tool from http://high5.net/postfixadmin |
|||
|
|||
Version 0.4.3 2007/08/14 |
|||
|
|||
Postfixadmin - Postfixadmin+MySQL/PgSQL plugin for Squirrelmail |
|||
|
|||
|
|||
Author: Florian Kimmerl <info@spacekoeln.de> |
|||
Author: Sam Brookes <sam at pale purple.co.uk> |
|||
- Initial conversion to MDB2 |
|||
- Fix SQL Injections etc |
|||
Author: David Goodwin <david at pale purple.co.uk> |
|||
- Subsequent tidyup + testing etc |
|||
Author: Krzysztof 'Mad Max' Laska - <madmax at riders.pl> |
|||
- Polish Translation. |
|||
|
|||
|
|||
|
|||
The Initial Developer of the Original postfixadmin Code is Mischa Peters. |
|||
Portions created by Mischa Peters are Copyright (c) 2002, 2003, 2004. |
|||
All Rights Reserved. |
|||
|
|||
REQUIREMENTS |
|||
|
|||
o SquirrelMail 1.4x |
|||
|
|||
o A working Mail-System "Virtual Domains and Users with postfix+Courier-IMAP+MySQL" (or PostgreSQL) See http://high5.net/howto/ |
|||
|
|||
o POSTFIXADMIN version 2.2.0 or higher. See http://sf.net/projects/postfixadmin |
|||
|
|||
o This plugin only uses the postfixadmin database |
|||
|
|||
o Pear MDB2 database abstraction layer - see http://pear.php.net |
|||
|
|||
o PHP installation with register globals TURNED OFF (huraren on IRC reports that the MDB2 driver isn't happy with it turned on) |
|||
|
|||
INSTALLATION |
|||
|
|||
See the included file INSTALL |
|||
|
|||
BUGS |
|||
|
|||
o Probably vulnerable to cross site scripting, certainly when setting the vacation message. |
|||
|
|||
o There may be some remaining SQL injection holes. |
|||
|
|||
TODO |
|||
|
|||
-Code Cleanup |
|||
-Tranlation |
|||
|
|||
|
|||
TRANSLATIONS |
|||
|
|||
Translations are welcome! Send the *.po-File to: david@NO.codepoets.SPAM.co.uk |
|||
|
|||
|
|||
ACKNOWLEDGMENTS |
|||
|
|||
Thanks to the SquirrelMail team for building such a great app and |
|||
for all the work they do to keep it running. |
|||
|
|||
Thanks to high5.net for writing the great Postfixadmin tool |
|||
|
|||
|
|||
@ -0,0 +1,39 @@ |
|||
<?php |
|||
// vim:ts=4:sw=4:et
|
|||
ini_set('include_path', get_include_path() . ':' . dirname(__FILE__)); |
|||
chdir(".."); |
|||
|
|||
|
|||
if (!defined('SM_PATH')) |
|||
{ |
|||
define('SM_PATH','../'); |
|||
} |
|||
include_once(SM_PATH . 'plugins/postfixadmin/config.php'); |
|||
include_once(SM_PATH . 'plugins/postfixadmin/functions.inc.php'); |
|||
include_if_exists(SM_PATH . 'include/validate.php'); |
|||
if (file_exists(SM_PATH . 'include/validate.php')) |
|||
{ |
|||
include_once(SM_PATH . 'include/validate.php'); |
|||
} |
|||
else { |
|||
include_if_exists(SM_PATH . 'src/validate.php'); |
|||
} |
|||
include_once(SM_PATH . 'functions/page_header.php'); |
|||
include_once(SM_PATH . 'functions/display_messages.php'); |
|||
include_once(SM_PATH . 'functions/imap.php'); |
|||
include_if_exists(SM_PATH . 'functions/array.php'); |
|||
if (file_exists(SM_PATH . 'src/load_prefs.php')) |
|||
{ |
|||
include_once(SM_PATH . 'src/load_prefs.php'); |
|||
} |
|||
else { |
|||
include_if_exists(SM_PATH . 'include/load_prefs.php'); |
|||
} |
|||
// overwrite squirrelmail's content type to utf8...
|
|||
header("Content-Type: text/html; charset=utf8"); |
|||
|
|||
|
|||
//global $VACCONFMESSAGE;
|
|||
bindtextdomain('postfixadmin', SM_PATH . 'plugins/postfixadmin/locale'); |
|||
textdomain('postfixadmin'); |
|||
|
|||
@ -0,0 +1,22 @@ |
|||
<?php |
|||
|
|||
$CONF = array(); |
|||
$CONF['xmlrpc_url'] = 'http://postfixadmin.local/postfixadmin/xmlrpc.php'; |
|||
|
|||
// Virtual Vacation |
|||
// If you use virtual vacation for you mailbox users set this to 'true'. |
|||
// NOTE: Make sure that you install the vacation module!! |
|||
|
|||
//$AllowVacation = true; // true or false |
|||
global $AllowVacation; |
|||
$AllowVacation = true; |
|||
|
|||
// Change Password |
|||
// Enables user to change the POP3/IMAP Password. |
|||
//$AllowChangePass = true; // true or false |
|||
global $AllowChangePass; |
|||
$AllowChangePass = true; |
|||
|
|||
// Minimum password length - set to Zero to not care, otherwise the number of |
|||
// characters a password must be longer than. |
|||
$CONF['min_password_length'] = 5; |
|||
@ -0,0 +1,20 @@ |
|||
Squirrelmail PostfixAdmin Plugin for Debian |
|||
=========================================== |
|||
|
|||
After installing the package, you will need to : |
|||
|
|||
1) Edit the config.inc.php file to point to the PostfixAdmin server. |
|||
|
|||
2) Ensure the xmlrpc interface is available and enabled on the Postfixadmin server |
|||
|
|||
3) Run the squirrelmail-configure script. |
|||
|
|||
Where to get help |
|||
================= |
|||
|
|||
See http://squirrelmail-postfixadmin.palepurple.co.uk |
|||
|
|||
Try also : david [at] pale purple dot co dot uk |
|||
|
|||
Or #postfixadmin on irc.freenode.net might be a good bet. |
|||
|
|||
@ -0,0 +1,27 @@ |
|||
squirrelmail-postfixadmin (2.3.0) stable; urgency=low |
|||
|
|||
* Using XMLRPC backend (no SQL here) |
|||
|
|||
-- David Goodwin <david.goodwin@palepurple.co.uk> Mon, 01 Feb 2010 09:56:00 +0000 |
|||
|
|||
squirrelmail-postfixadmin (2.2.0) stable; urgency=low |
|||
|
|||
* Changed DB backend to use prepared statements |
|||
* Changed vacation handling to match that of Postfixadmin (vacation.active |
|||
etc) |
|||
* Changed vacation page to support UTF8 |
|||
|
|||
-- David Goodwin <david.goodwin@palepurple.co.uk> Wed, 20 Aug 2008 15:25:00 +0000 |
|||
|
|||
squirrelmail-postfixadmin (2.1.1-1) stable; urgency=low |
|||
|
|||
* Add NL language support |
|||
* Better db error logging (e.g. if wrong mdb2 driver specified etc) |
|||
|
|||
-- David Goodwin <david.goodwin@palepurple.co.uk> Wed, 12 Dec 2007 16:00:00 +0000 |
|||
|
|||
squirrelmail-postfixadmin (2.1.0-1) stable; urgency=low |
|||
|
|||
* Initial release. |
|||
|
|||
-- David Goodwin <david.goodwin@palepurple.co.uk> Thu, 8 Nov 2007 20:00:00 +0000 |
|||
@ -0,0 +1 @@ |
|||
/etc/squirrelmail/plugins/postfixadmin-config.php |
|||
@ -0,0 +1,19 @@ |
|||
Source: squirrelmail-postfixadmin |
|||
Section: mail |
|||
Priority: optional |
|||
Maintainer: David Goodwin <david.goodwin@palepurple.co.uk> |
|||
Standards-Version: 3.6.1 |
|||
|
|||
Package: squirrelmail-postfixadmin |
|||
Architecture: all |
|||
Depends: squirrelmail, php-pear |
|||
Suggests: postfixadmin |
|||
Description: Plugin for Squirrelmail to integrate with Postfixadmin |
|||
Postfixadmin is a web based interface for managing mail domains |
|||
and users. This package integrates Squirrelmail with it. |
|||
Users can change their password, forwarding and vacation settings |
|||
from within Squirrelmail when this package is installed, and |
|||
enabled through the ./squirrelmail-configure command. |
|||
. |
|||
For further information see |
|||
http://squirrelmail-postfixadmin.palepurple.co.uk |
|||
@ -0,0 +1,11 @@ |
|||
This package was debianized by David Goodwin <david@palepurple.co.uk> |
|||
2007/11/08 |
|||
|
|||
It was downloaded from: http://squirremail-postfixadmin.palepurple.co.uk |
|||
|
|||
Upstream Author(s): n/a |
|||
|
|||
Copyright: |
|||
Copyright (C) 2007+ by David Goodwin <david@palepurple.co.uk> |
|||
|
|||
License: GPL v2+ |
|||
@ -0,0 +1,4 @@ |
|||
LICENSE.txt |
|||
README |
|||
INSTALL |
|||
debian/README.Debian |
|||
@ -0,0 +1 @@ |
|||
squirrelmail-postfixadmin_2.2.0_all.deb mail optional |
|||
@ -0,0 +1,3 @@ |
|||
usr/share/squirrelmail/plugins/postfixadmin |
|||
usr/share/doc/squirrelmail-postfixadmin |
|||
etc/squirrelmail/plugins |
|||
@ -0,0 +1,5 @@ |
|||
#!/bin/sh |
|||
|
|||
echo "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" |
|||
echo "WARNING: You need to read /usr/share/doc/squirrelmail-postfixadmin/README.Debian!" |
|||
echo "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" |
|||
@ -0,0 +1,56 @@ |
|||
#!/usr/bin/make -f |
|||
# debian/rules makefile for squirrelmail |
|||
|
|||
# Uncomment this to turn on verbose mode. |
|||
#export DH_VERBOSE=1 |
|||
|
|||
build: build-stamp |
|||
build-stamp: |
|||
dh_testdir |
|||
|
|||
clean: |
|||
dh_testdir |
|||
dh_testroot |
|||
dh_clean |
|||
|
|||
install: build |
|||
$(checkdir) |
|||
dh_testdir |
|||
dh_testroot |
|||
dh_clean -k |
|||
dh_installdirs |
|||
dh_install |
|||
mkdir -p debian/tmp/usr/share/squirrelmail/plugins/postfixadmin |
|||
cp -a *.php version debian/tmp/usr/share/squirrelmail/plugins/postfixadmin |
|||
cp -a locale debian/tmp/usr/share/squirrelmail/plugins/postfixadmin |
|||
cp -a po debian/tmp/usr/share/squirrelmail/plugins/postfixadmin |
|||
mkdir -p debian/tmp/etc/squirrelmail/plugins/ |
|||
cp -a *.sample debian/tmp/etc/squirrelmail/plugins/postfixadmin-config.php |
|||
mkdir -p debian/tmp/DEBIAN |
|||
cp debian/postinst debian/tmp/DEBIAN/postinst |
|||
chmod 555 debian/tmp/DEBIAN/postinst |
|||
ln -s /etc/squirrelmail/plugins/postfixadmin-config.php debian/tmp/usr/share/squirrelmail/plugins/postfixadmin/config.php |
|||
find debian/tmp -name .svn | xargs -r rm -r |
|||
|
|||
# Build architecture-independent files here. |
|||
binary-indep: build install |
|||
dh_testdir |
|||
dh_testroot |
|||
dh_installdebconf |
|||
dh_installdocs -X.svn |
|||
dh_installexamples |
|||
dh_installman |
|||
dh_installcron |
|||
dh_link |
|||
dh_compress |
|||
dh_fixperms -X/var |
|||
dh_installdeb |
|||
dh_gencontrol |
|||
dh_md5sums |
|||
dh_builddeb |
|||
|
|||
# Build architecture-dependent files here. |
|||
binary-arch: |
|||
|
|||
binary: binary-indep binary-arch |
|||
.PHONY: build clean binary-indep binary-arch binary install |
|||
@ -0,0 +1,102 @@ |
|||
<?php |
|||
/** |
|||
* Postfixadmin (http://postfixadmin.sf.net) integration with Squirrelmail. |
|||
* See http://squirrelmail-postfixadmin.palepurple.co.uk |
|||
* @author David Goodwin and many others |
|||
*/ |
|||
|
|||
|
|||
function do_header() { |
|||
global $color; |
|||
displayPageHeader($color, 'None'); |
|||
} |
|||
|
|||
function do_footer() { |
|||
echo "</body></html>"; |
|||
} |
|||
|
|||
function _display_password_form() { |
|||
bindtextdomain('postfixadmin', SM_PATH . 'plugins/postfixadmin/locale'); |
|||
textdomain('postfixadmin'); |
|||
do_header('Postfixadmin Squirrelmail - Login'); |
|||
echo _('The PostfixAdmin plugin needs your current mailbox password'); |
|||
echo "<form action='' method='post'>"; |
|||
echo _('Password for'); |
|||
echo " " . $_SESSION['username'] . " :"; |
|||
echo "<input type='password' name='password' value=''>"; |
|||
echo "<input type='submit' value='" . _('Submit') . "'></form>"; |
|||
do_footer(); |
|||
} |
|||
|
|||
/** |
|||
* This returns a Zend_XmlRpc_Client instance - unless we can't log you in... |
|||
*/ |
|||
function get_xmlrpc() { |
|||
global $CONF; |
|||
require_once('Zend/XmlRpc/Client.php'); |
|||
$client = new Zend_XmlRpc_Client($CONF['xmlrpc_url']); |
|||
$http_client = $client->getHttpClient(); |
|||
$http_client->setCookieJar(); |
|||
|
|||
$login_object = $client->getProxy('login'); |
|||
|
|||
if(empty($_SESSION['password'])) { |
|||
if(empty($_POST['password'])) { |
|||
_display_password_form(); |
|||
exit(0); |
|||
} |
|||
else { |
|||
try { |
|||
$success = $login_object->login($_SESSION['username'], $_POST['password']); |
|||
} |
|||
catch(Exception $e) { |
|||
//var_dump($client->getHttpClient()->getLastResponse()->getBody());
|
|||
error_log("Failed to login to xmlrpc instance - " . $e->getMessage); |
|||
die('Failed to login to xmlrpc instance'); |
|||
} |
|||
if($success) { |
|||
$_SESSION['password'] = $_POST['password']; |
|||
// reload the current page as a GET request.
|
|||
header("Location: {$_SERVER['REQUEST_URI']}"); |
|||
exit(0); |
|||
} |
|||
else { |
|||
_display_password_form(); |
|||
exit(0); |
|||
} |
|||
} |
|||
} |
|||
else { |
|||
$success = $login_object->login($_SESSION['username'], $_SESSION['password']); |
|||
} |
|||
|
|||
if(!$success) { |
|||
unset($_SESSION['password']); |
|||
die("Invalid details cached... refresh this page and re-enter your mailbox password"); |
|||
} |
|||
return $client; |
|||
} |
|||
|
|||
function include_if_exists($filename) { |
|||
if(file_exists($filename)) { |
|||
include_once($filename); |
|||
} |
|||
return; |
|||
} |
|||
global $optmode; |
|||
$optmode = 'display'; |
|||
|
|||
//
|
|||
// check_email
|
|||
// Action: Checks if email is valid and returns TRUE if this is the case.
|
|||
// Call: check_email (string email)
|
|||
//
|
|||
function check_email ($email) { |
|||
$return = filter_var('validate_email', $emai); |
|||
if($return === false) { |
|||
return false; |
|||
} |
|||
return true; |
|||
} |
|||
|
|||
|
|||
@ -0,0 +1,27 @@ |
|||
<?php |
|||
|
|||
/**************************************************************************************** |
|||
|
|||
Author ......... Florian Kimmerl |
|||
Contact ........ info@spacekoeln.de |
|||
Home Site ...... http://www.spacekoeln.de/ |
|||
Program ........ postfixadmin |
|||
Version ........ 0.3-1.4 |
|||
Purpose ........ Allows you to change your postfixadmin settings within squirrelmail |
|||
|
|||
/** |
|||
* index.php |
|||
* |
|||
* Copyright (c) 1999-2003 The SquirrelMail Project Team |
|||
* Licensed under the GNU GPL. For full terms see the file COPYING. |
|||
* |
|||
* This file simply takes any attempt to view source files and sends those |
|||
* people to the login screen. At this point no attempt is made to see if |
|||
* the person is logged or not. |
|||
* |
|||
* |
|||
****************************************************************************************/ |
|||
|
|||
header("Location: ../../index.php"); |
|||
|
|||
?>
|
|||
@ -0,0 +1,6 @@ |
|||
#!/bin/bash |
|||
|
|||
for f in $(find . -name postfixadmin.po) |
|||
do |
|||
msgfmt -o $(dirname $f)/postfixadmin.mo $f |
|||
done |
|||
@ -0,0 +1,132 @@ |
|||
# SOME DESCRIPTIVE TITLE. |
|||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER |
|||
# This file is distributed under the same license as the PACKAGE package. |
|||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
|||
# |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: PACKAGE VERSION\n" |
|||
"POT-Creation-Date: 2004-01-29 17:35+0100\n" |
|||
"PO-Revision-Date: 2007-07-20 20:46+0100\n" |
|||
"Last-Translator: Michael Heca <michael.heca@gmail.com>\n" |
|||
"Language-Team: LANGUAGE <LL@li.org>\n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=iso-8859-2\n" |
|||
"Content-Transfer-Encoding: 8bit\n" |
|||
|
|||
#: setup.php |
|||
msgid "Forwarding" |
|||
msgstr "Pøesmìrování" |
|||
|
|||
msgid "Here you can create and edit E-Mail forwards." |
|||
msgstr "Zde mù¾ete vytvoøit a nastavit pøesmìrování" |
|||
|
|||
msgid "Set an OUT OF OFFICE message or auto responder for your mail." |
|||
msgstr "Zde mù¾ete nastavit automatickou odpovìd, pokud nebudete k zasti¾ení." |
|||
|
|||
msgid "Change your mailbox password." |
|||
msgstr "Zmìnít heslo k Va¹emu e-mailovému úètu" |
|||
|
|||
#: postfixadmin_changepass.php |
|||
msgid "Alias" |
|||
msgstr "Úèet" |
|||
|
|||
msgid "Change Password" |
|||
msgstr "Zmìnit heslo" |
|||
|
|||
msgid "Change your login password" |
|||
msgstr "Zmìnít heslo k Va¹emu e-mailovému úètu" |
|||
|
|||
#: postfixadmin_forward.php |
|||
msgid "Edit Alias" |
|||
msgstr "Editace adresy pro pøesmìrování" |
|||
|
|||
msgid "Edit an alias* for your domain.<br />One entry per line." |
|||
msgstr "Editace pøesmìrování pro Vá¹ úèet. <br/> Ka¾dá adresa na novém øádku." |
|||
|
|||
msgid "The email address that you have entered is not valid:" |
|||
msgstr "Zadaná e-mailová adresa je chybná:" |
|||
|
|||
msgid "Unable to locate alias!" |
|||
msgstr "Neni mo¾né nalézt úèet!" |
|||
|
|||
msgid "Unable to modify the alias!" |
|||
msgstr "Není mo¾né zmìnit úèet!" |
|||
|
|||
msgid "*Additional forward-aliase always recieve messages BBC!" |
|||
msgstr "Dal¹í aliasy dostanou e-mail jako BBC!" |
|||
|
|||
msgid "Alias successfully changend!" |
|||
msgstr "Pøesmìrování bylo zmìnìno!" |
|||
|
|||
msgid "To remove an alias, simply delete it's line from the text box." |
|||
msgstr "Pro odstranení pøesmìrování sma¾te v¹echny øádky v textovém boxu." |
|||
|
|||
#: postfixadmin_vacation.php |
|||
msgid "Auto Response" |
|||
msgstr "Automatická odpovìï" |
|||
|
|||
msgid "Going Away" |
|||
msgstr "Jsem mimo" |
|||
|
|||
msgid "Coming Back" |
|||
msgstr "Jsem zpìt" |
|||
|
|||
msgid "Options" |
|||
msgstr "Nastavení" |
|||
|
|||
msgid "Out of Office" |
|||
msgstr "Mimo kanceláø" |
|||
|
|||
msgid "Subject" |
|||
msgstr "Pøedmìt" |
|||
|
|||
msgid "Body" |
|||
msgstr "Tìlo mailu" |
|||
|
|||
msgid "Your auto response has been removed!" |
|||
msgstr "Va¹e automatická odpovìï byla odstranìna!" |
|||
|
|||
msgid "Your auto response has been set!" |
|||
msgstr "Va¹e automatická odpovìï byla nastavena!" |
|||
|
|||
msgid "You already have an auto response configured!" |
|||
msgstr "U¾ máte nastavenu automatickou odpovìï!" |
|||
|
|||
#: postfixadmin_changepass.php:81 |
|||
#: postfixadmin_changepass.php:87 |
|||
msgid "The passwords that you supplied don't match!<br />Or are empty!" |
|||
msgstr "Zadaná hesla nejsou stejná a nebo jsou prázdná!" |
|||
|
|||
#: postfixadmin_forward.php:70 |
|||
#: postfixadmin_forward.php:152 |
|||
msgid "To" |
|||
msgstr "Komu" |
|||
|
|||
#: postfixadmin_changepass.php:101 |
|||
msgid "Unable to change your password!" |
|||
msgstr "Není mo¾né zmìnit heslo!" |
|||
|
|||
#: postfixadmin_changepass.php:75 |
|||
msgid "You didn't supply your current password!" |
|||
msgstr "Stávající heslo neodpovídá!" |
|||
|
|||
#: postfixadmin_changepass.php:96 |
|||
msgid "Your password has been changed!" |
|||
msgstr "Va¹e heslo bylo zmìnìno!" |
|||
|
|||
msgid "Password current" |
|||
msgstr "Stávající heslo" |
|||
|
|||
msgid "Password new" |
|||
msgstr "Nové heslo" |
|||
|
|||
msgid "Password new again" |
|||
msgstr "Nové heslo znovu" |
|||
|
|||
msgid "Please sign out and log back again with your new password!" |
|||
msgstr "Prosím odhla¹te se a pøihla¹te se s novým heslem!" |
|||
|
|||
msgid "I will be away from <date> until <date>. For urgent matters you can contact <contact person>." |
|||
msgstr "Nebudy k zasti¾ení od <date> do <date>. Pro naléhané po¾adavky prosím kontaktujte <contact person>." |
|||
|
|||
@ -0,0 +1,127 @@ |
|||
# Danish translation for Squirrelmail Plugin Postfixadmin. |
|||
# Copyright (C) 2004 Florian Kimmerl, 2007 David Goodwin |
|||
# This file is distributed under the same license as the Squirrelmail Plugin Postfixadmin package. |
|||
# Jesper R. Meyer <jrm@upthere.dk>, 2007. |
|||
# |
|||
#, fuzzy |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: 0.4.3\n" |
|||
"POT-Creation-Date: 2004-01-29 17:35+0100\n" |
|||
"PO-Revision-Date: 2007-11-09 16:07+0100\n" |
|||
"Last-Translator: JESPER MEYER <jrm@upthere.dk>\n" |
|||
"Language-Team: DANISH <LL@li.org>\n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=UTF-8\n" |
|||
"Content-Transfer-Encoding: 8bit\n" |
|||
|
|||
#: setup.php |
|||
msgid "Forwarding" |
|||
msgstr "Videresending" |
|||
|
|||
msgid "Here you can create and edit E-Mail forwards." |
|||
msgstr "Her kan du oprette og ændre email-videresendinger." |
|||
|
|||
msgid "Set an OUT OF OFFICE message or auto responder for your mail." |
|||
msgstr "Tilføj en 'ikke tilstede' besked eller et autosvar til din emailadresse." |
|||
|
|||
msgid "Change your mailbox password." |
|||
msgstr "Ændre adgangskoden til din postboks" |
|||
|
|||
#: postfixadmin_changepass.php |
|||
msgid "Alias" |
|||
msgstr "Alias" |
|||
|
|||
msgid "Change Password" |
|||
msgstr "Ændre adgangskode" |
|||
|
|||
msgid "Change your login password" |
|||
msgstr "Ændre din login-adgangskode" |
|||
|
|||
#: postfixadmin_forward.php |
|||
msgid "Edit Alias" |
|||
msgstr "Rediger alias" |
|||
|
|||
msgid "Edit an alias* for your domain.<br />One entry per line." |
|||
msgstr "Rediger et alias* for dit domæne.<br />En modtager pr. linje." |
|||
|
|||
msgid "The email address that you have entered is not valid:" |
|||
msgstr "Emailadressen du angav er ugyldig" |
|||
|
|||
msgid "Unable to locate alias!" |
|||
msgstr "Aliaset eksistere ikke!" |
|||
|
|||
msgid "Unable to modify the alias!" |
|||
msgstr "Kunne ikke ændre aliaset!" |
|||
|
|||
msgid "*Additional forward-aliase always recieve messages BBC!" |
|||
msgstr "*Eksta vidersendingsalias modtager altid meddelelser BCC!" |
|||
|
|||
msgid "Alias successfully changend!" |
|||
msgstr "Alias ændret!" |
|||
|
|||
#: postfixadmin_vacation.php |
|||
msgid "Auto Response" |
|||
msgstr "Autosvar" |
|||
|
|||
msgid "Going Away" |
|||
msgstr "Tager afsted" |
|||
|
|||
msgid "Coming Back" |
|||
msgstr "Kommer tilbage" |
|||
|
|||
msgid "Options" |
|||
msgstr "Indstillinger" |
|||
|
|||
msgid "Out of Office" |
|||
msgstr "Ikke tilstede" |
|||
|
|||
msgid "Subject" |
|||
msgstr "Emne" |
|||
|
|||
msgid "Body" |
|||
msgstr "Meddelelse" |
|||
|
|||
msgid "Your auto response has been removed!" |
|||
msgstr "Autosvar er fjernet!" |
|||
|
|||
msgid "Your auto response has been set!" |
|||
msgstr "Autosvar er aktiveret!" |
|||
|
|||
msgid "You already have an auto response configured!" |
|||
msgstr "Du har allerede et autosvar indstillet!" |
|||
|
|||
#: postfixadmin_changepass.php:81 postfixadmin_changepass.php:87 |
|||
msgid "The passwords that you supplied don't match!<br />Or are empty!" |
|||
msgstr "Adgangskoderne er ikke ens!<br />Eller er tomme!" |
|||
|
|||
#: postfixadmin_forward.php:70 postfixadmin_forward.php:152 |
|||
msgid "To" |
|||
msgstr "Til" |
|||
|
|||
#: postfixadmin_changepass.php:101 |
|||
msgid "Unable to change your password!" |
|||
msgstr "Kan ikke ændre adgangskoden!" |
|||
|
|||
#: postfixadmin_changepass.php:75 |
|||
msgid "You didn't supply your current password!" |
|||
msgstr "Du glemte at skrive din nuværende adgangskode!" |
|||
|
|||
#: postfixadmin_changepass.php:96 |
|||
msgid "Your password has been changed!" |
|||
msgstr "Din adgangskode er ændret!" |
|||
|
|||
msgid "Password current" |
|||
msgstr "Nuværende adgangskode" |
|||
|
|||
msgid "Password new" |
|||
msgstr "Ny adgangskode" |
|||
|
|||
msgid "Password new again" |
|||
msgstr "Ny adgangskode (igen)" |
|||
|
|||
msgid "Please sign out and log back again with your new password!" |
|||
msgstr "Log af og log ind igen med din nye adgangskode!" |
|||
|
|||
msgid "I will be away from <date> until <date>. For urgent matters you can contact <contact person>." |
|||
msgstr "Jeg er ikke tilstede i perioden <dato> til <dato>. I nødstilfælde kan <kontaktperson> kontaktes." |
|||
@ -0,0 +1,127 @@ |
|||
# postfixadmin - Plugin for Squirrelmail. |
|||
# Copyright (C) 2004 FLORIAN KIMMERL |
|||
# This file is distributed under the same license as the PACKAGE package. |
|||
# Florian Kimmerl <info@spacekoeln.de>, 2004. |
|||
# |
|||
#, fuzzy |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: 0.3-1.4\n" |
|||
"POT-Creation-Date: 2004-01-28 16:32+0100\n" |
|||
"PO-Revision-Date: 2004-01-28 16:32+0100\n" |
|||
"Last-Translator: FLORIAN KIMMERL <info@spacekoeln.de>\n" |
|||
"Language-Team: GERMAN <LL@li.org>\n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=ISO-8859-1\n" |
|||
"Content-Transfer-Encoding: 8bit\n" |
|||
|
|||
#: setup.php |
|||
msgid "Forwarding" |
|||
msgstr "Weiterleitungen" |
|||
|
|||
msgid "Here you can create and edit E-Mail forwards." |
|||
msgstr "Hier können Sie E-Mail-Weiterleitungen erstellen und bearbeiten." |
|||
|
|||
msgid "Set an OUT OF OFFICE message or auto responder for your mail." |
|||
msgstr "Hier können Sie den Abwesenheits-Assistenten konfigurieren." |
|||
|
|||
msgid "Change your mailbox password." |
|||
msgstr "Hier können Sie Passwort ändern. Nach der Änderung müssen Sie sich neu anmelden!" |
|||
|
|||
#: postfixadmin_changepass.php |
|||
msgid "Alias" |
|||
msgstr "E-Mail" |
|||
|
|||
msgid "Change Password" |
|||
msgstr "Passwort ändern" |
|||
|
|||
msgid "Change your login password" |
|||
msgstr "Ändern Sie Ihr Zugangspasswort für POP3/IMAP" |
|||
|
|||
#: postfixadmin_forward.php |
|||
msgid "Edit Alias" |
|||
msgstr "E-Mail Weiterleitungen bearbeiten" |
|||
|
|||
msgid "Edit an alias* for your domain.<br />One entry per line." |
|||
msgstr "Bearbeiten Sie hier Ihre E-Mail Weiterleitungen*.<br />Ein Eintrag pro Zeile." |
|||
|
|||
msgid "The email address that you have entered is not valid:" |
|||
msgstr "Die angegebene E-Mail-Adresse ist ungültig:" |
|||
|
|||
msgid "Unable to locate alias!" |
|||
msgstr "Ihre Weiterleitungen können nicht angefordert werden! Versuchen Sie es später erneut." |
|||
|
|||
msgid "Unable to modify the alias!" |
|||
msgstr "Ihre Weiterleitungen können nicht modifiziert werden! Versuchen Sie es später erneut." |
|||
|
|||
msgid "*Additional forward-aliase always recieve messages BBC!" |
|||
msgstr "*Zusätzliche Weiterleitungen erhalten alle Nachrichten als Kopie (BCC)!" |
|||
|
|||
msgid "Alias successfully changend!" |
|||
msgstr "Weiterleitungen wurden erfolgreich geändert!" |
|||
|
|||
#: postfixadmin_vacation.php |
|||
msgid "Auto Response" |
|||
msgstr "Abwesenheits-Assistent" |
|||
|
|||
msgid "Going Away" |
|||
msgstr "Ich bin weg" |
|||
|
|||
msgid "Coming Back" |
|||
msgstr "Ich bin zurück" |
|||
|
|||
msgid "Options" |
|||
msgstr "Optionen" |
|||
|
|||
msgid "Out of Office" |
|||
msgstr "" |
|||
|
|||
msgid "Subject" |
|||
msgstr "Betreff" |
|||
|
|||
msgid "Body" |
|||
msgstr "Nachrichtentext" |
|||
|
|||
msgid "Your auto response has been removed!" |
|||
msgstr "Iher Abwesenheits-Nachricht wurde deaktiviert!" |
|||
|
|||
msgid "Your auto response has been set!" |
|||
msgstr "Ihre Abwesenheits-Nachricht wurde aktiviert!" |
|||
|
|||
msgid "You already have an auto response configured!" |
|||
msgstr "Ihre Abwesenheits-Nachricht ist bereits aktiviert!" |
|||
|
|||
msgid "back" |
|||
msgstr "zurück" |
|||
|
|||
#: postfixadmin_changepass.php:81 postfixadmin_changepass.php:87 |
|||
msgid "The passwords that you supplied don't match!<br />Or are empty!" |
|||
msgstr "Die beiden neuen Passwörter stimmen nicht überein!<br />Oder die Felder wurden nicht ausgefüllt!" |
|||
|
|||
#: postfixadmin_forward.php:70 postfixadmin_forward.php:152 |
|||
msgid "To" |
|||
msgstr "An" |
|||
|
|||
#: postfixadmin_changepass.php:101 |
|||
msgid "Unable to change your password!" |
|||
msgstr "Ihr Passwort kann nicht geändert werden!" |
|||
|
|||
#: postfixadmin_changepass.php:75 |
|||
msgid "You didn't supply your current password!" |
|||
msgstr "Ihr aktuelles Passwort wurde nicht angegeben oder ist falsch!" |
|||
|
|||
#: postfixadmin_changepass.php:96 |
|||
msgid "Your password has been changed!" |
|||
msgstr "Ihr Passwort wurde ergolgreich geändert!" |
|||
|
|||
msgid "Password current" |
|||
msgstr "Passwort aktuell" |
|||
|
|||
msgid "Password new" |
|||
msgstr "Passwort neu" |
|||
|
|||
msgid "Password new again" |
|||
msgstr "Passwort neu nochmal" |
|||
|
|||
msgid "Please sign out and log back again with your new password!" |
|||
msgstr "Bitte melden Sie sich hier ab und loggen sich mit Ihrem neuen Passwort erneut ein! " |
|||
@ -0,0 +1,135 @@ |
|||
# postfixadmin - Plugin for Squirrelmail. |
|||
# Copyright (C) 2004 FLORIAN KIMMERL |
|||
# This file is distributed under the same license as the PACKAGE package. |
|||
# Florian Kimmerl <info@spacekoeln.de>, 2004. |
|||
# |
|||
#, fuzzy |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: 0.3-1.4\n" |
|||
"POT-Creation-Date: 2004-01-28 16:32+0100\n" |
|||
"PO-Revision-Date: 2004-01-28 16:32+0100\n" |
|||
"Last-Translator: FLORIAN KIMMERL <info@spacekoeln.de>\n" |
|||
"Language-Team: HUNGARIAN <LL@li.org>\n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=ISO-8859-2\n" |
|||
"Content-Transfer-Encoding: 8bit\n" |
|||
|
|||
#: setup.php |
|||
msgid "Forwarding" |
|||
msgstr "Levéltovábbítás" |
|||
|
|||
msgid "Here you can create and edit E-Mail forwards." |
|||
msgstr "Itt tudod létrehozni és szerkeszteni az E-mail továbbításokat." |
|||
|
|||
msgid "Set an OUT OF OFFICE message or auto responder for your mail." |
|||
msgstr "Itt lehet beállítani az automatikus válasz levél szövegét, ha az ember távol van." |
|||
|
|||
msgid "Change your mailbox password." |
|||
msgstr "Itt tudod megváltoztatni a belépéshez szükséges jelszót." |
|||
|
|||
#: postfixadmin_changepass.php |
|||
msgid "Alias" |
|||
msgstr "E-mail" |
|||
|
|||
msgid "Change Password" |
|||
msgstr "Jelszó megváltoztatása" |
|||
|
|||
msgid "Change your login password" |
|||
msgstr "Bejelentkezési jelszó megváltoztatása" |
|||
|
|||
#: postfixadmin_forward.php |
|||
msgid "Edit Forward" |
|||
msgstr "Levéltovábbítás szerkesztése" |
|||
|
|||
msgid "Edit Alias" |
|||
msgstr "Levéltovábbítás szerkesztése" |
|||
|
|||
msgid "The email address that you have entered is not valid:" |
|||
msgstr "Az E-mail cím amit beírtál hibás:" |
|||
|
|||
msgid "Unable to locate alias!" |
|||
msgstr "Hiba az e-mail címmel." |
|||
|
|||
msgid "Unable to modify the alias!" |
|||
msgstr "A módosítás sikertelen!" |
|||
|
|||
msgid "Alias successfully changed!" |
|||
msgstr "A módosítás sikeres!" |
|||
|
|||
#: postfixadmin_vacation.php |
|||
msgid "Auto Response" |
|||
msgstr "Automatikus válasz" |
|||
|
|||
msgid "Going Away" |
|||
msgstr "Házonkívül vagyok" |
|||
|
|||
msgid "Coming Back" |
|||
msgstr "Visszajöttem" |
|||
|
|||
msgid "Options" |
|||
msgstr "Opciók" |
|||
|
|||
msgid "Out of Office" |
|||
msgstr "Házonkívül" |
|||
|
|||
msgid "Subject" |
|||
msgstr "Tárgy" |
|||
|
|||
msgid "Body" |
|||
msgstr "Levéltörzs" |
|||
|
|||
msgid "Your auto response has been removed!" |
|||
msgstr "Az automatikus válasz törölve lett!" |
|||
|
|||
msgid "Your auto response has been set!" |
|||
msgstr "Az automatikus válasz be lett állítva!" |
|||
|
|||
msgid "You already have an auto response configured!" |
|||
msgstr "Már létezik egy automatikus válasz!" |
|||
|
|||
#: postfixadmin_changepass.php:81 postfixadmin_changepass.php:87 |
|||
msgid "The passwords that you supplied don't match!<br />Or are empty!" |
|||
msgstr "A jelszavak nem egyeznek!<br />Vagy üresen hagytad a mezõket!" |
|||
|
|||
#: postfixadmin_changepass.php:101 |
|||
msgid "Unable to change your password!" |
|||
msgstr "A jelszó megváltoztatása sikertelen!" |
|||
|
|||
#: postfixadmin_changepass.php:75 |
|||
msgid "You didn't supply your current password!" |
|||
msgstr "Az aktuális jelszó nem megfelelõ!" |
|||
|
|||
#: postfixadmin_changepass.php:96 |
|||
msgid "Your password has been changed!" |
|||
msgstr "A jelszó változtatása sikeres volt!" |
|||
|
|||
msgid "Password current" |
|||
msgstr "Aktuális jelszó" |
|||
|
|||
msgid "Password new" |
|||
msgstr "Új jelszó" |
|||
|
|||
msgid "Password new again" |
|||
msgstr "Új jelszó mégegyszer" |
|||
|
|||
msgid "Please sign out and log back again with your new password!" |
|||
msgstr "Kérjük, jelentkezzen ki, majd újra be az új jelszavával!" |
|||
|
|||
msgid "I will be away from <date> until <date>. For urgent matters you can contact <contact person>." |
|||
msgstr "Házonkívül leszek <date> és <date> között. Sürgõs esetben értesítendõ: <contact person>." |
|||
|
|||
msgid "One copy always goes to" |
|||
msgstr "Egy másolat mindig ide" |
|||
|
|||
msgid "Another copy also goes to" |
|||
msgstr "További másolatok ide" |
|||
|
|||
msgid "Enter an email address (or addresses) where you would like an additional copy of messages addressed to you sent.<br> Enter only one address per line." |
|||
msgstr "Sorolja fel azokat az e-mail címeket, amelyekre az Önhöz érkezõ leveleket továbbítani szeretné.<br>Soronként csak egy címet adjon meg!" |
|||
|
|||
msgid "A copy of each message will go to both your mailbox and the forwarded address(es)." |
|||
msgstr "Minden Önnek címzett levél meg fog érkezni a saját postafiókjába és a továbbított e-mail címekre is." |
|||
|
|||
msgid "To remove a Forward, simply delete its line from the text box." |
|||
msgstr "Ahhoz, hogy töröljön egy továbbítást, ki kell törölnie az adott sort a felsorolásból." |
|||
@ -0,0 +1,129 @@ |
|||
# SOME DESCRIPTIVE TITLE. |
|||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER |
|||
# This file is distributed under the same license as the PACKAGE package. |
|||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
|||
# |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: PACKAGE VERSION\n" |
|||
"POT-Creation-Date: 2004-01-29 17:35+0100\n" |
|||
"PO-Revision-Date: 2010-02-19 11:30+0100\n" |
|||
"Last-Translator: valentina <ruggiolona@tiscali.it>\n" |
|||
"Language-Team: LANGUAGE <LL@li.org>\n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=utf-8\n" |
|||
"Content-Transfer-Encoding: 8bit\n" |
|||
|
|||
#: setup.php |
|||
msgid "Forwarding" |
|||
msgstr "Inoltro E-MAIL" |
|||
|
|||
msgid "Here you can create and edit E-Mail forwards." |
|||
msgstr "Qui puoi creare e modificare l'inoltro dell' E-MAIL." |
|||
|
|||
msgid "Set an OUT OF OFFICE message or auto responder for your mail." |
|||
msgstr "Imposta un messaggio OUT OF OFFICE / ASSENTE o un risponditore automatico per la tua mail." |
|||
|
|||
msgid "Change your mailbox password." |
|||
msgstr "Modifica la tua password di accesso alla mail" |
|||
|
|||
#: postfixadmin_changepass.php |
|||
msgid "Alias" |
|||
msgstr "Alias" |
|||
|
|||
msgid "Change Password" |
|||
msgstr "Modifica password" |
|||
|
|||
msgid "Change your login password" |
|||
msgstr "Modifica la tua password di accesso" |
|||
|
|||
#: postfixadmin_forward.php |
|||
msgid "Edit Alias" |
|||
msgstr "Modifica Alias" |
|||
|
|||
msgid "Edit an alias* for your domain.<br />One entry per line." |
|||
msgstr "Modifica un Alias per il tuo dominio.<br />Un record per linea." |
|||
|
|||
msgid "The email address that you have entered is not valid:" |
|||
msgstr "L'indirizzo email che hai inserito non è corretto:" |
|||
|
|||
msgid "Unable to locate alias!" |
|||
msgstr "Impossibile trovare l'alias!" |
|||
|
|||
msgid "Unable to modify the alias!" |
|||
msgstr "Impossibile modificare l'alias!" |
|||
|
|||
msgid "*Additional forward-aliase always recieve messages BBC!" |
|||
msgstr "* L'inoltro ad un alias aggiuntivo comporta l'invio del messaggio in BCC!" |
|||
|
|||
msgid "Alias successfully changend!" |
|||
msgstr "Alias modificato correttamente!" |
|||
|
|||
#: postfixadmin_vacation.php |
|||
msgid "Auto Response" |
|||
msgstr "Risponditore automatico" |
|||
|
|||
msgid "Going Away" |
|||
msgstr "Going Away" |
|||
|
|||
msgid "Coming Back" |
|||
msgstr "Coming Back" |
|||
|
|||
msgid "Options" |
|||
msgstr "Opzioni" |
|||
|
|||
msgid "Out of Office" |
|||
msgstr "Out of Office/Assente" |
|||
|
|||
msgid "Subject" |
|||
msgstr "Oggetto" |
|||
|
|||
msgid "Body" |
|||
msgstr "Messaggio" |
|||
|
|||
msgid "Your auto response has been removed!" |
|||
msgstr "Il risponditore automatico è stato disattivato!" |
|||
|
|||
msgid "Your auto response has been set!" |
|||
msgstr "Il risponditore automatico è stato configurato!" |
|||
|
|||
msgid "You already have an auto response configured!" |
|||
msgstr "Hai gia configurato il risponditore automatico !" |
|||
|
|||
#: postfixadmin_changepass.php:81 |
|||
#: postfixadmin_changepass.php:87 |
|||
msgid "The passwords that you supplied don't match!<br />Or are empty!" |
|||
msgstr "Le password inserite non coincidono!<br />O i campi sono vuoti!" |
|||
|
|||
#: postfixadmin_forward.php:70 |
|||
#: postfixadmin_forward.php:152 |
|||
msgid "To" |
|||
msgstr "A" |
|||
|
|||
#: postfixadmin_changepass.php:101 |
|||
msgid "Unable to change your password!" |
|||
msgstr "Impossibile modificare la password" |
|||
|
|||
#: postfixadmin_changepass.php:75 |
|||
msgid "You didn't supply your current password!" |
|||
msgstr "Non hai indicato la password attuale!" |
|||
|
|||
#: postfixadmin_changepass.php:96 |
|||
msgid "Your password has been changed!" |
|||
msgstr "La tua password è stata modificata!" |
|||
|
|||
msgid "Password current" |
|||
msgstr "Password attuale" |
|||
|
|||
msgid "Password new" |
|||
msgstr "Nuova password" |
|||
|
|||
msgid "Password new again" |
|||
msgstr "Insierisci nuovamente la nuova password" |
|||
|
|||
msgid "Please sign out and log back again with your new password!" |
|||
msgstr "Per favore fai log out e riaccedi alla tua mail con la nuova password!" |
|||
|
|||
msgid "I will be away from <date> until <date>. For urgent matters you can contact <contact person>." |
|||
msgstr "Mi dispiace sarò assente dal <date> al <date>. Per richieste urgenti vi prego di contattare <nome e indirizzo email>. I will be away from <date> until <date>. For urgent matters you can contact <contact person>." |
|||
|
|||
@ -0,0 +1,131 @@ |
|||
# SOME DESCRIPTIVE TITLE. |
|||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER |
|||
# This file is distributed under the same license as the PACKAGE package. |
|||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
|||
# |
|||
#, fuzzy |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: postfixadmin-squirrelmail 2.1.0\n" |
|||
"POT-Creation-Date: 2007-11-16 17:35+0100\n" |
|||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
|||
"Last-Translator: Johan <johan@double-l.nl>\n" |
|||
"Language-Team: LANGUAGE <LL@li.org>\n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=iso-8859-2\n" |
|||
"Content-Transfer-Encoding: 8bit\n" |
|||
|
|||
#: setup.php |
|||
msgid "Forwarding" |
|||
msgstr "Doorsturen" |
|||
|
|||
msgid "Here you can create and edit E-Mail forwards." |
|||
msgstr "Hier kunt u uw doorstuur adres bewerken" |
|||
|
|||
msgid "Set an OUT OF OFFICE message or auto responder for your mail." |
|||
msgstr "Configureer hier uw automatisch beantwoorden" |
|||
|
|||
msgid "Change your mailbox password." |
|||
msgstr "Verander uw wachtwoord" |
|||
|
|||
#: postfixadmin_changepass.php |
|||
msgid "Alias" |
|||
msgstr "Alias" |
|||
|
|||
msgid "Change Password" |
|||
msgstr "Verander wachtwoord" |
|||
|
|||
msgid "Change your login password" |
|||
msgstr "Verander uw login wachtwoord" |
|||
|
|||
#: postfixadmin_forward.php |
|||
msgid "Edit Forwards" |
|||
msgstr "Bewerk aliassen" |
|||
|
|||
msgid "Edit an alias* for your email address.<br />One entry per line." |
|||
msgstr "Bewerk uw alias(sen) voor uw emailadres.<br />1 alias per regel." |
|||
|
|||
msgid "The email address that you have entered is not valid:" |
|||
msgstr "Het ingevoerde adres is geen geldig adres" |
|||
|
|||
msgid "Unable to locate alias!" |
|||
msgstr "Niet in staat opgeven alias te vinden!" |
|||
|
|||
msgid "Unable to modify the alias!" |
|||
msgstr "Niet in staat de alias aan te passen" |
|||
|
|||
msgid "*Additional forward-aliases always receive messages BBC!" |
|||
msgstr "Aliassen ontvangen altijd per BCC! " |
|||
|
|||
msgid "To remove an alias, simply delete its line from the text box." |
|||
msgstr "Verwijder de regel om de alias(sen) te verwijderen." |
|||
|
|||
msgid "Alias successfully changed!" |
|||
msgstr "Alias succesvol aangepast" |
|||
|
|||
#: postfixadmin_vacation.php |
|||
msgid "Auto Response" |
|||
msgstr "Automatisch beantwoorden" |
|||
|
|||
msgid "Going Away" |
|||
msgstr "Ik ben weg, schakel Out of Office IN" |
|||
|
|||
msgid "Coming Back" |
|||
msgstr "Ik ben terug, schakel Out of Office UIT" |
|||
|
|||
msgid "Options" |
|||
msgstr "Opties" |
|||
|
|||
msgid "Out of Office" |
|||
msgstr "Out of office" |
|||
|
|||
msgid "Subject" |
|||
msgstr "Onderwerp" |
|||
|
|||
msgid "Body" |
|||
msgstr "Tekst" |
|||
|
|||
msgid "Your auto response has been removed!" |
|||
msgstr "Uw automatisch beantwoorden is verwijderd!" |
|||
|
|||
msgid "Your auto response has been set!" |
|||
msgstr "Uw automatisch beantwoorden is geactiveerd!" |
|||
|
|||
msgid "You already have an auto response configured!" |
|||
msgstr "Automatisch beantwoorden is al geconfigureerd!" |
|||
|
|||
#: postfixadmin_changepass.php:81 postfixadmin_changepass.php:87 |
|||
msgid "The passwords that you supplied don't match!<br />Or are empty!" |
|||
msgstr "De wachtwoorden komen niet overeen!<br />Of er is geen wachtwoord opgegeven!" |
|||
|
|||
#: postfixadmin_forward.php:70 postfixadmin_forward.php:152 |
|||
msgid "To" |
|||
msgstr "Aan" |
|||
|
|||
#: postfixadmin_changepass.php:101 |
|||
msgid "Unable to change your password!" |
|||
msgstr "Niet in staat uw wachtwoord te wijzigen!" |
|||
|
|||
#: postfixadmin_changepass.php:75 |
|||
msgid "You didn't supply your current password!" |
|||
msgstr "U moet uw huidige wachtwoord opgeven!" |
|||
|
|||
#: postfixadmin_changepass.php:96 |
|||
msgid "Your password has been changed!" |
|||
msgstr "Uw wachtwoord is gewijzigd!" |
|||
|
|||
msgid "Password current" |
|||
msgstr "Huidig wachtwoord" |
|||
|
|||
msgid "Password new" |
|||
msgstr "Nieuw wachtwoord" |
|||
|
|||
msgid "Password new again" |
|||
msgstr "Nieuw wachtwoord nogmaals" |
|||
|
|||
msgid "Please sign out and log back again with your new password!" |
|||
msgstr "Log uit en opnieuw in met het nieuwe wachtwoord" |
|||
|
|||
msgid "I will be away from <date> until <date>. For urgent matters you can contact <contact person>." |
|||
msgstr "Ik ben niet aanwezig van <datum> tot <datum>. Voor dringende zaken kunt u contact opnemen met <Contact persoon>." |
|||
|
|||
@ -0,0 +1,132 @@ |
|||
# SOME DESCRIPTIVE TITLE. |
|||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER |
|||
# This file is distributed under the same license as the PACKAGE package. |
|||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
|||
# |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: PACKAGE VERSION\n" |
|||
"POT-Creation-Date: 2004-01-29 17:35+0100\n" |
|||
"PO-Revision-Date: 2007-07-20 20:46+0100\n" |
|||
"Last-Translator: Krzysztof Laska <krzysiek@dip.pl>\n" |
|||
"Language-Team: LANGUAGE <LL@li.org>\n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=iso-8859-2\n" |
|||
"Content-Transfer-Encoding: 8bit\n" |
|||
|
|||
#: setup.php |
|||
msgid "Forwarding" |
|||
msgstr "Przekazywanie" |
|||
|
|||
msgid "Here you can create and edit E-Mail forwards." |
|||
msgstr "Tutaj mo¿esz ustawiæ i edytowaæ opcje przekazywania wiadomo¶ci" |
|||
|
|||
msgid "Set an OUT OF OFFICE message or auto responder for your mail." |
|||
msgstr "Ustaw wiadomo¶æ wysy³an± nadawcom podczas Twojej nieobecno¶ci (Vacation)" |
|||
|
|||
msgid "Change your mailbox password." |
|||
msgstr "Zmieñ has³o do swojego konta pocztowego" |
|||
|
|||
#: postfixadmin_changepass.php |
|||
msgid "Alias" |
|||
msgstr "Konto" |
|||
|
|||
msgid "Change Password" |
|||
msgstr "Zmieñ has³o" |
|||
|
|||
msgid "Change your login password" |
|||
msgstr "Zmieñ has³o do swojego konta pocztowego" |
|||
|
|||
#: postfixadmin_forward.php |
|||
msgid "Edit Alias" |
|||
msgstr "Edytuj adresy do przekazywania" |
|||
|
|||
msgid "Edit an alias* for your domain.<br />One entry per line." |
|||
msgstr "Edytuj forward* dla swojego konta. <br/> Ka¿dy adres w nowym wierszu." |
|||
|
|||
msgid "The email address that you have entered is not valid:" |
|||
msgstr "Adres e-mail jaki poda³e¶ jest niepoprawny:" |
|||
|
|||
msgid "Unable to locate alias!" |
|||
msgstr "Nie mo¿na zlokalizowaæ aliasu!" |
|||
|
|||
msgid "Unable to modify the alias!" |
|||
msgstr "Nie mo¿na zmodyfikowaæ aliasu!" |
|||
|
|||
msgid "*Additional forward-aliase always recieve messages BBC!" |
|||
msgstr "*Wszystkie dodatkowe adresy zawsze odbieraj± wiadomo¶ci przesy³ane jako BCC! Ca³a poczta jest przekazywana i nie jest przechowywana na koncie podstawowym!" |
|||
|
|||
msgid "Alias successfully changend!" |
|||
msgstr "Zmiana zachowana!" |
|||
|
|||
msgid "To remove an alias, simply delete it's line from the text box." |
|||
msgstr "¯eby wy³±czyæ forward na dane konto po prostu usuñ liniê z adresem na który nie chcesz ju¿ przekazywaæ poczty." |
|||
|
|||
#: postfixadmin_vacation.php |
|||
msgid "Auto Response" |
|||
msgstr "Autoodpowied¼" |
|||
|
|||
msgid "Going Away" |
|||
msgstr "W³±cz autoodpowied¼" |
|||
|
|||
msgid "Coming Back" |
|||
msgstr "Wy³±cz autoodpowied¼" |
|||
|
|||
msgid "Options" |
|||
msgstr "Opcje" |
|||
|
|||
msgid "Out of Office" |
|||
msgstr "Autoodpowied¼" |
|||
|
|||
msgid "Subject" |
|||
msgstr "Temat" |
|||
|
|||
msgid "Body" |
|||
msgstr "Tre¶æ" |
|||
|
|||
msgid "Your auto response has been removed!" |
|||
msgstr "Twoja autoodpowied¼ zosta³a wy³±czona!" |
|||
|
|||
msgid "Your auto response has been set!" |
|||
msgstr "Twoja autoodpowied¼ zosta³a w³±czona!" |
|||
|
|||
msgid "You already have an auto response configured!" |
|||
msgstr "Masz ju¿ skonfigurowan± autoodpowied¼!" |
|||
|
|||
#: postfixadmin_changepass.php:81 |
|||
#: postfixadmin_changepass.php:87 |
|||
msgid "The passwords that you supplied don't match!<br />Or are empty!" |
|||
msgstr "Has³a które poda³e¶ nie pasuj± lub s± puste!" |
|||
|
|||
#: postfixadmin_forward.php:70 |
|||
#: postfixadmin_forward.php:152 |
|||
msgid "To" |
|||
msgstr "Do" |
|||
|
|||
#: postfixadmin_changepass.php:101 |
|||
msgid "Unable to change your password!" |
|||
msgstr "Nie mo¿na zmieniæ has³a!" |
|||
|
|||
#: postfixadmin_changepass.php:75 |
|||
msgid "You didn't supply your current password!" |
|||
msgstr "Nie poda³e¶ aktualnego has³a!" |
|||
|
|||
#: postfixadmin_changepass.php:96 |
|||
msgid "Your password has been changed!" |
|||
msgstr "Twoje has³o zosta³o zmienione!" |
|||
|
|||
msgid "Password current" |
|||
msgstr "Bie¿±ce has³o" |
|||
|
|||
msgid "Password new" |
|||
msgstr "Nowe has³o" |
|||
|
|||
msgid "Password new again" |
|||
msgstr "Powtórz nowe has³o" |
|||
|
|||
msgid "Please sign out and log back again with your new password!" |
|||
msgstr "Wyloguj siê i zaloguj z nowym has³em!" |
|||
|
|||
msgid "I will be away from <date> until <date>. For urgent matters you can contact <contact person>." |
|||
msgstr "Nie bêdê odbieraæ poczty pomiêdzy <data> a <data>. W sprawach pilnych proszê kontaktowaæ siê z <osoba kontaktowa>" |
|||
|
|||
@ -0,0 +1,127 @@ |
|||
# SOME DESCRIPTIVE TITLE. |
|||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER |
|||
# This file is distributed under the same license as the PACKAGE package. |
|||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
|||
# |
|||
#, fuzzy |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: PACKAGE VERSION\n" |
|||
"POT-Creation-Date: 2004-01-29 17:35+0100\n" |
|||
"PO-Revision-Date: 2008-10-16 20:30+3\n" |
|||
"Last-Translator: Julio Covolato <julio@psi.com.br>\n" |
|||
"Language-Team: BRAZILIAN PORTUGUESE <LL@li.org>\n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=utf-8\n" |
|||
"Content-Transfer-Encoding: 8bit\n" |
|||
|
|||
#: setup.php |
|||
msgid "Forwarding" |
|||
msgstr "Encaminhar" |
|||
|
|||
msgid "Here you can create and edit E-Mail forwards." |
|||
msgstr "Aqui Você pode criar e editar alias." |
|||
|
|||
msgid "Set an OUT OF OFFICE message or auto responder for your mail." |
|||
msgstr "Configurar mensagem de férias para seu email." |
|||
|
|||
msgid "Change your mailbox password." |
|||
msgstr "Troque a senha de seu email." |
|||
|
|||
#: postfixadmin_changepass.php |
|||
msgid "Alias" |
|||
msgstr "" |
|||
|
|||
msgid "Change Password" |
|||
msgstr "Mudar Senha" |
|||
|
|||
msgid "Change your login password" |
|||
msgstr "Mude sua senha de login" |
|||
|
|||
#: postfixadmin_forward.php |
|||
msgid "Edit Alias" |
|||
msgstr "Editar Alias" |
|||
|
|||
msgid "Edit an alias* for your domain.<br />One entry per line." |
|||
msgstr "Editar um alias* para seu domínio.<br /> Uma entrada por linha." |
|||
|
|||
msgid "The email address that you have entered is not valid:" |
|||
msgstr "Este endereço de email informado não é válido:" |
|||
|
|||
msgid "Unable to locate alias!" |
|||
msgstr "Alias não encontrado!" |
|||
|
|||
msgid "Unable to modify the alias!" |
|||
msgstr "Impossível modificar o alias!" |
|||
|
|||
msgid "*Additional forward-aliase always recieve messages BBC!" |
|||
msgstr "*Alias adicionais sempre recebem mensagens em BCC" |
|||
|
|||
msgid "Alias successfully changend!" |
|||
msgstr "Alias alterado com sucesso!" |
|||
|
|||
#: postfixadmin_vacation.php |
|||
msgid "Auto Response" |
|||
msgstr "Auto resposta" |
|||
|
|||
msgid "Going Away" |
|||
msgstr "Ativar" |
|||
|
|||
msgid "Coming Back" |
|||
msgstr "Desativar" |
|||
|
|||
msgid "Options" |
|||
msgstr "Opções" |
|||
|
|||
msgid "Out of Office" |
|||
msgstr "Fora do escritório" |
|||
|
|||
msgid "Subject" |
|||
msgstr "Assunto" |
|||
|
|||
msgid "Body" |
|||
msgstr "Mensagem" |
|||
|
|||
msgid "Your auto response has been removed!" |
|||
msgstr "Sua auto resporta foi removida!" |
|||
|
|||
msgid "Your auto response has been set!" |
|||
msgstr "Sua auto resposta foi ativada!" |
|||
|
|||
msgid "You already have an auto response configured!" |
|||
msgstr "Você ainda tem uma auto resposta ativa" |
|||
|
|||
#: postfixadmin_changepass.php:81 postfixadmin_changepass.php:87 |
|||
msgid "The passwords that you supplied don't match!<br />Or are empty!" |
|||
msgstr "A senha digitada não confere!<br />Ou está vazia" |
|||
|
|||
#: postfixadmin_forward.php:70 postfixadmin_forward.php:152 |
|||
msgid "To" |
|||
msgstr "Para" |
|||
|
|||
#: postfixadmin_changepass.php:101 |
|||
msgid "Unable to change your password!" |
|||
msgstr "Impossível alterar a sua senha!" |
|||
|
|||
#: postfixadmin_changepass.php:75 |
|||
msgid "You didn't supply your current password!" |
|||
msgstr "Você não forneceu a sua senha atual!" |
|||
|
|||
#: postfixadmin_changepass.php:96 |
|||
msgid "Your password has been changed!" |
|||
msgstr "Sua senha foi alterada com sucesso!" |
|||
|
|||
msgid "Password current" |
|||
msgstr "senha atual" |
|||
|
|||
msgid "Password new" |
|||
msgstr "Nova senha" |
|||
|
|||
msgid "Password new again" |
|||
msgstr "Confirme a nova senha" |
|||
|
|||
msgid "Please sign out and log back again with your new password!" |
|||
msgstr "Por favor, saia e entre novamente no webmail com a nova senha" |
|||
|
|||
msgid "I will be away from <date> until <date>. For urgent matters you can contact <contact person>." |
|||
msgstr "Estarei fora do escritório entre os dias <data> e <data> do mês de <mês>.<br /> Qualquer mensagem urgente, favor enviar para o email <email>." |
|||
@ -0,0 +1,127 @@ |
|||
# SOME DESCRIPTIVE TITLE. |
|||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER |
|||
# This file is distributed under the same license as the PACKAGE package. |
|||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
|||
# |
|||
#, fuzzy |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: PACKAGE VERSION\n" |
|||
"POT-Creation-Date: 2004-01-29 17:35+0100\n" |
|||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
|||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
|||
"Language-Team: LANGUAGE <LL@li.org>\n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=CHARSET\n" |
|||
"Content-Transfer-Encoding: 8bit\n" |
|||
|
|||
#: setup.php |
|||
msgid "Forwarding" |
|||
msgstr "" |
|||
|
|||
msgid "Here you can create and edit E-Mail forwards." |
|||
msgstr "" |
|||
|
|||
msgid "Set an OUT OF OFFICE message or auto responder for your mail." |
|||
msgstr "" |
|||
|
|||
msgid "Change your mailbox password." |
|||
msgstr "" |
|||
|
|||
#: postfixadmin_changepass.php |
|||
msgid "Alias" |
|||
msgstr "" |
|||
|
|||
msgid "Change Password" |
|||
msgstr "" |
|||
|
|||
msgid "Change your login password" |
|||
msgstr "" |
|||
|
|||
#: postfixadmin_forward.php |
|||
msgid "Edit Alias" |
|||
msgstr "" |
|||
|
|||
msgid "Edit an alias* for your domain.<br />One entry per line." |
|||
msgstr "" |
|||
|
|||
msgid "The email address that you have entered is not valid:" |
|||
msgstr "" |
|||
|
|||
msgid "Unable to locate alias!" |
|||
msgstr "" |
|||
|
|||
msgid "Unable to modify the alias!" |
|||
msgstr "" |
|||
|
|||
msgid "*Additional forward-aliase always recieve messages BBC!" |
|||
msgstr "" |
|||
|
|||
msgid "Alias successfully changend!" |
|||
msgstr "" |
|||
|
|||
#: postfixadmin_vacation.php |
|||
msgid "Auto Response" |
|||
msgstr "" |
|||
|
|||
msgid "Going Away" |
|||
msgstr "" |
|||
|
|||
msgid "Coming Back" |
|||
msgstr "" |
|||
|
|||
msgid "Options" |
|||
msgstr "" |
|||
|
|||
msgid "Out of Office" |
|||
msgstr "" |
|||
|
|||
msgid "Subject" |
|||
msgstr "" |
|||
|
|||
msgid "Body" |
|||
msgstr "" |
|||
|
|||
msgid "Your auto response has been removed!" |
|||
msgstr "" |
|||
|
|||
msgid "Your auto response has been set!" |
|||
msgstr "" |
|||
|
|||
msgid "You already have an auto response configured!" |
|||
msgstr "" |
|||
|
|||
#: postfixadmin_changepass.php:81 postfixadmin_changepass.php:87 |
|||
msgid "The passwords that you supplied don't match!<br />Or are empty!" |
|||
msgstr "" |
|||
|
|||
#: postfixadmin_forward.php:70 postfixadmin_forward.php:152 |
|||
msgid "To" |
|||
msgstr "" |
|||
|
|||
#: postfixadmin_changepass.php:101 |
|||
msgid "Unable to change your password!" |
|||
msgstr "" |
|||
|
|||
#: postfixadmin_changepass.php:75 |
|||
msgid "You didn't supply your current password!" |
|||
msgstr "" |
|||
|
|||
#: postfixadmin_changepass.php:96 |
|||
msgid "Your password has been changed!" |
|||
msgstr "" |
|||
|
|||
msgid "Password current" |
|||
msgstr "" |
|||
|
|||
msgid "Password new" |
|||
msgstr "" |
|||
|
|||
msgid "Password new again" |
|||
msgstr "" |
|||
|
|||
msgid "Please sign out and log back again with your new password!" |
|||
msgstr "" |
|||
|
|||
msgid "I will be away from <date> until <date>. For urgent matters you can contact <contact person>." |
|||
msgstr "" |
|||
@ -0,0 +1,128 @@ |
|||
<?php |
|||
require_once(dirname(__FILE__) . '/common.php'); |
|||
|
|||
$xmlrpc = get_xmlrpc(); |
|||
$user = $xmlrpc->getProxy('user'); |
|||
|
|||
global $username; |
|||
|
|||
do_header(); |
|||
|
|||
$USERID_USERNAME = $username; |
|||
$tmp = preg_split ('/@/', $USERID_USERNAME); |
|||
$USERID_DOMAIN = $tmp[1]; |
|||
|
|||
|
|||
$stMessage = ''; |
|||
$tMessage = ''; |
|||
$pPassword_admin_text = ''; |
|||
$pPassword_password_current_text = ''; |
|||
$pPassword_password_text = ''; |
|||
$error = 0; |
|||
|
|||
if ($_SERVER['REQUEST_METHOD'] == "POST") |
|||
{ |
|||
//$pPassword_password_text = _("pPassword_password_text");
|
|||
$fPassword_current = $_POST['fPassword_current']; |
|||
$fPassword = $_POST['fPassword']; |
|||
$fPassword2 = $_POST['fPassword2']; |
|||
$username = $USERID_USERNAME; |
|||
|
|||
if(!$user->login($_SESSION['username'], $_POST['fPassword_current'])) { |
|||
$error = 1; |
|||
bindtextdomain('postfixadmin', SM_PATH . 'plugins/postfixadmin/locale'); |
|||
textdomain('postfixadmin'); |
|||
$pPassword_password_current_text = _("You didn't supply your current password!"); |
|||
bindtextdomain('squirrelmail', SM_PATH . 'locale'); |
|||
textdomain('squirrelmail'); |
|||
} |
|||
$min_length = 0; |
|||
if(isset($CONF['min_password_length'])) { |
|||
$min_length = $CONF['min_password_length']; |
|||
} |
|||
if (empty ($fPassword) or ($fPassword != $fPassword2) or ($min_length > 0 && strlen($fPassword) < $min_length)) { |
|||
$error = 1; |
|||
bindtextdomain('postfixadmin', SM_PATH . 'plugins/postfixadmin/locale'); |
|||
textdomain('postfixadmin'); |
|||
if(empty($fPassword)) { |
|||
$pPassword_password_text .= _("The passwords that you supplied are empty!"); |
|||
} |
|||
if($fPassword != $fPassword2) { |
|||
$pPassword_password_text .= _("The passwords that you supplied don't match!"); |
|||
} |
|||
if($min_length > 0 && strlen($fPassword) < $min_length) { |
|||
$pPassword_password_text .= _("The password you supplied is too short!"); |
|||
} |
|||
bindtextdomain('squirrelmail', SM_PATH . 'locale'); |
|||
textdomain('squirrelmail'); |
|||
} |
|||
|
|||
if ($error != 1) { |
|||
$success = $user->changePassword($fPassword_current, $fPassword); |
|||
|
|||
if ($success) { |
|||
bindtextdomain('postfixadmin', SM_PATH . 'plugins/postfixadmin/locale'); |
|||
textdomain('postfixadmin'); |
|||
$tMessage = _("Your password has been changed!"); |
|||
$stMessage = _("Please sign out and log back again with your new password!"); |
|||
bindtextdomain('squirrelmail', SM_PATH . 'locale'); |
|||
textdomain('squirrelmail'); |
|||
} |
|||
else { |
|||
bindtextdomain('postfixadmin', SM_PATH . 'plugins/postfixadmin/locale'); |
|||
textdomain('postfixadmin'); |
|||
$tMessage = _("Unable to change your password!"); |
|||
bindtextdomain('squirrelmail', SM_PATH . 'locale'); |
|||
textdomain('squirrelmail'); |
|||
} |
|||
} |
|||
} |
|||
bindtextdomain('postfixadmin', SM_PATH . 'plugins/postfixadmin/locale'); |
|||
textdomain('postfixadmin'); |
|||
echo "<table bgcolor=\"$color[0]\" align=\"center\" width=\"95%\" cellpadding=\"1\" cellspacing=\"0\" border=\"0\">
|
|||
<tr> |
|||
<td align=\"center\"><b>". _("Options") ." - ". _("Change Password")." </b>
|
|||
<table align=\"center\" width=\"100%\" cellpadding=\"5\" cellspacing=\"0\" border=\"0\">
|
|||
<tr><td bgcolor=\"$color[4]\" align=\"center\"><br>
|
|||
<table align=\"center\" width=\"95%\" cellpadding=\"4\" cellspacing=\"0\" border=\"0\"><tr>
|
|||
<td bgcolor=\"$color[3]\" align=\"center\"><b>" ._("Change your login password") ."\n
|
|||
</b></td> |
|||
</tr> |
|||
<tr> |
|||
<td bgcolor=\"$color[0]\" align=\"center\"><form name=\"mailbox\" method=\"post\">
|
|||
<b>$tMessage<b><font color=red><br> |
|||
<a href=\"../../src/signout.php\" target=\"_top\">$stMessage</a>
|
|||
".$pPassword_admin_text."\n |
|||
".$pPassword_password_current_text."\n |
|||
".$pPassword_password_text."\n |
|||
</b><table width=\"95%\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\">
|
|||
<tr> |
|||
<td width=\"37%\"><b>". _("Alias") . ":\n</td>
|
|||
<td width=\"63%\">{$_SESSION['username']}</td>
|
|||
</tr> |
|||
<tr> |
|||
<td><b>". _("Password current"). ":\n</td> |
|||
<td><input type=\"password\" name=\"fPassword_current\" size=\"30\" /></td>
|
|||
</tr> |
|||
<tr> |
|||
<td><b>". _("Password new"). ":\n</td> |
|||
<td><input type=\"password\" name=\"fPassword\" size=\"30\" /></td>
|
|||
</tr> |
|||
<tr> |
|||
<td><b>". _("Password new again"). ":\n</td> |
|||
<td><input type=\"password\" name=\"fPassword2\" size=\"30\" /></td>
|
|||
</tr> |
|||
<tr> |
|||
<td> </td> |
|||
<td><input type=\"submit\" name=\"submit\" value=\"" ._("Change Password") . "\" /></td>
|
|||
<td> </td> |
|||
</tr> |
|||
</table> |
|||
<TT></TT></FORM></td> |
|||
</tr><tr><td bgcolor=\"$color[4]\" align=\"left\"> </td>
|
|||
</tr></table><BR> |
|||
</td> |
|||
</tr></table></td></tr></table>";
|
|||
bindtextdomain('squirrelmail', SM_PATH . 'locale'); |
|||
textdomain('squirrelmail'); |
|||
?>
|
|||
@ -0,0 +1,161 @@ |
|||
<?php |
|||
|
|||
require_once(dirname(__FILE__) . '/common.php'); |
|||
|
|||
|
|||
|
|||
$USERID_USERNAME = $username; |
|||
$tmp = preg_split ('/@/', $USERID_USERNAME); |
|||
$USERID_LOCALPART = $tmp[0]; |
|||
$USERID_DOMAIN = $tmp[1]; |
|||
|
|||
$xmlrpc = get_xmlrpc(); |
|||
$alias = $xmlrpc->getProxy('alias'); |
|||
do_header(); |
|||
// Normal page request (GET)
|
|||
if ($_SERVER['REQUEST_METHOD'] == "GET") |
|||
{ |
|||
$row = $alias->get(); |
|||
if($row === false) { |
|||
bindtextdomain('postfixadmin', SM_PATH . 'plugins/postfixadmin/locale'); |
|||
textdomain('postfixadmin'); |
|||
$tMessage = _("Unable to locate alias!"); |
|||
bindtextdomain('squirrelmail', SM_PATH . 'locale'); |
|||
textdomain('squirrelmail'); |
|||
exit(0); |
|||
} |
|||
} |
|||
|
|||
if ($_SERVER['REQUEST_METHOD'] == "POST") |
|||
{ |
|||
$pEdit_alias_goto = _("To"); |
|||
|
|||
$fGoto = $_POST['fGoto']; |
|||
|
|||
// reform string into a list...
|
|||
$goto = preg_replace ('/\r\n/', ',', $fGoto); |
|||
$goto = preg_replace ('/[\s]+/i', '', $goto); |
|||
$goto = preg_replace ('/\,*$/', '', $goto); |
|||
$array = preg_split ('/,/', $goto); |
|||
|
|||
$error = 0; |
|||
// check that we have valid addresses in the list
|
|||
foreach($array as $email_address) |
|||
{ |
|||
if (empty($email_address)) |
|||
{ |
|||
continue; |
|||
} |
|||
if (!check_email($email_address)) |
|||
{ |
|||
$error = 1; |
|||
$tGoto = $goto; |
|||
bindtextdomain('postfixadmin', SM_PATH . 'plugins/postfixadmin/locale'); |
|||
textdomain('postfixadmin'); |
|||
$tMessage = _("The email address that you have entered is not valid:") . " $email_address</font>"; |
|||
bindtextdomain('squirrelmail', SM_PATH . 'locale'); |
|||
textdomain('squirrelmail'); |
|||
} |
|||
} |
|||
if ($error != 1) { |
|||
$flag = 'forward_and_store'; // goto = $USERID_USERNAME;
|
|||
|
|||
$success = $alias->update($array, $flag); |
|||
if(!$success) { |
|||
bindtextdomain('postfixadmin', SM_PATH . 'plugins/postfixadmin/locale'); |
|||
textdomain('postfixadmin'); |
|||
$tMessage = _("Unable to modify the alias!"); |
|||
bindtextdomain('squirrelmail', SM_PATH . 'locale'); |
|||
textdomain('squirrelmail'); |
|||
} |
|||
else { |
|||
|
|||
bindtextdomain('postfixadmin', SM_PATH . 'plugins/postfixadmin/locale'); |
|||
textdomain('postfixadmin'); |
|||
echo "<p align=center><b>". _("Alias successfully changed!"). "\n</b></p>"; |
|||
bindtextdomain('squirrelmail', SM_PATH . 'locale'); |
|||
textdomain('squirrelmail'); |
|||
echo "<p align=center><a href=\"javascript:history.go(-1)\">". _("Click here to go back") ."</a></p>"; |
|||
exit; |
|||
} |
|||
} |
|||
} |
|||
bindtextdomain('postfixadmin', SM_PATH . 'plugins/postfixadmin/locale'); |
|||
textdomain('postfixadmin'); |
|||
echo "<table bgcolor=\"$color[0]\" align=\"center\" width=\"95%\" cellpadding=\"1\" cellspacing=\"0\" border=\"0\">
|
|||
<tr> |
|||
<td align=\"center\" bgcolor=\"$color[0]\" colspan=\"2\">
|
|||
<b>". _("Options") ." - ". _("Edit Alias"). " </b> |
|||
<table align=\"center\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">
|
|||
<tr> |
|||
<td bgcolor=\"$color[4]\" align=\"center\">
|
|||
<table align=\"center\" width=\"100%\">
|
|||
<tr> |
|||
<td align=\"left\">". _("Edit an alias* for your email address.<br />One entry per line."). " </td>
|
|||
</tr> |
|||
<tr> |
|||
<td align=\"left\">". _("*Additional forward-aliases always receive messages BCC!"). "\n
|
|||
</tr> |
|||
<tr> |
|||
<td align=\"left\">" . _("To remove an alias, simply delete its line from the text box.") . "</td>
|
|||
</tr> |
|||
</table> |
|||
<table align=\"center\" width\"95%\" cellpadding=\"5\" cellspacing=\"1\">
|
|||
<form name=\"mailbox\" method=\"post\">
|
|||
<tr> |
|||
<td bgcolor=\"$color[3]\" align=\"center\"><b>". _("Edit Forwards"). "</b>
|
|||
</td> |
|||
</tr> |
|||
<tr> |
|||
<td bgcolor=\"$color[5]\" align=\"center\">$tMessage
|
|||
<table cellpadding=\"5\" cellspacing=\"1\">
|
|||
<tr> |
|||
<th align=\"left\">". _("Alias"). ":\n
|
|||
</th> |
|||
<td align=\"left\">" . $_SESSION['username'] . "</td>
|
|||
</tr> |
|||
<tr> |
|||
<th> </th> |
|||
<td> </td> |
|||
</tr> |
|||
<tr> |
|||
<th align=\"left\" valign=\"top\">". _("To"). ":\n</th>
|
|||
<td> |
|||
<textarea rows=\"8\" cols=\"50\" name=\"fGoto\">"; |
|||
bindtextdomain('squirrelmail', SM_PATH . 'locale'); |
|||
textdomain('squirrelmail'); |
|||
$aliases = $alias->get(); |
|||
foreach($aliases as $address) { |
|||
if ($address == "" || $address == NULL) { continue; } |
|||
print "$address\n"; |
|||
} |
|||
bindtextdomain('postfixadmin', SM_PATH . 'plugins/postfixadmin/locale'); |
|||
textdomain('postfixadmin'); |
|||
echo "
|
|||
</textarea> |
|||
</td> |
|||
</tr> |
|||
<tr> |
|||
<th> </th> |
|||
<td> </td> |
|||
</tr> |
|||
<tr> |
|||
<th> </th> |
|||
<td align=\"left\"colspan=\"2\">
|
|||
<input type=\"submit\" name=\"submit\" value=\"" . _("Edit Alias") . "\">
|
|||
</td> |
|||
</tr> |
|||
</table> |
|||
</td> |
|||
</tr> |
|||
</table> |
|||
</form> |
|||
</td> |
|||
</tr> |
|||
</table> |
|||
</td></tr> |
|||
</table> |
|||
";
|
|||
bindtextdomain('squirrelmail', SM_PATH . 'locale'); |
|||
textdomain('squirrelmail'); |
|||
?>
|
|||
@ -0,0 +1,157 @@ |
|||
<?php |
|||
|
|||
require_once(dirname(__FILE__) . '/common.php'); |
|||
|
|||
$xmlrpc = get_xmlrpc(); |
|||
$vacation = $xmlrpc->getProxy('vacation'); |
|||
|
|||
$VACCONFTXT = _("I will be away from <date> until <date>. For urgent matters you can contact <contact person>."); |
|||
bindtextdomain('squirrelmail', SM_PATH . 'locale'); |
|||
textdomain('squirrelmail'); |
|||
$VACCONF = <<<EOM |
|||
$VACCONFTXT |
|||
EOM; |
|||
|
|||
do_header(); |
|||
|
|||
$USERID_USERNAME = $username; |
|||
$tmp = preg_split ('/@/', $USERID_USERNAME); |
|||
$USERID_DOMAIN = $tmp[1]; |
|||
|
|||
if ($_SERVER['REQUEST_METHOD'] == "GET") |
|||
{ |
|||
$details = $vacation->getDetails(); |
|||
if($vacation->checkVacation()) { |
|||
|
|||
bindtextdomain('postfixadmin', SM_PATH . 'plugins/postfixadmin/locale'); |
|||
textdomain('postfixadmin'); |
|||
$tMessage = _("You already have an auto response configured!"); |
|||
bindtextdomain('squirrelmail', SM_PATH . 'locale'); |
|||
textdomain('squirrelmail'); |
|||
bindtextdomain('postfixadmin', SM_PATH . 'plugins/postfixadmin/locale'); |
|||
textdomain('postfixadmin'); |
|||
echo "<table bgcolor=\"#b8cbdc\" align=\"center\" width=\"95%\" cellpadding=\"1\" cellspacing=\"0\" border=\"0\"><tr>
|
|||
<td align=\"center\"><b>". _("Options") ." - ". _("Auto Response") ."</b>
|
|||
<table align=\"center\" width=\"100%\" cellpadding=\"5\" cellspacing=\"0\" border=\"0\">
|
|||
<tr><td bgcolor=\"$color[4]\" align=\"center\"><br>
|
|||
<table align=\"center\" width=\"70%\" cellpadding=\"4\" cellspacing=\"0\" border=\"0\"><tr>
|
|||
<td bgcolor=\"$color[3]\" align=\"center\"><b>". _("Auto Response") ."\n
|
|||
</b></td></tr><tr> |
|||
<td bgcolor=\"$color[0]\" align=\"center\"><form name=\"vacation\" method=\"post\">
|
|||
<table width=\"95%\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\">
|
|||
<tr> |
|||
<td><center>$tMessage<p></center></td> |
|||
</tr> |
|||
<tr> |
|||
<td> <div align=\"center\">
|
|||
<input type=\"submit\" name=\"fBack\" value=\"" . _("Coming Back"). "\" />
|
|||
</div></td> |
|||
</tr> |
|||
</table> |
|||
<TT></TT></FORM> |
|||
</td> |
|||
</tr><tr><td bgcolor=\"$color[4]\" align=\"left\"> </td>
|
|||
</tr></table><BR></td></tr></table></td></tr></table>";
|
|||
bindtextdomain('squirrelmail', SM_PATH . 'locale'); |
|||
textdomain('squirrelmail'); |
|||
} |
|||
else |
|||
{ |
|||
$tSubject = "Out of Office"; |
|||
$tSubject = $details['subject']; |
|||
$VACCONF = $details['body']; |
|||
|
|||
$tMessage = ''; |
|||
bindtextdomain('postfixadmin', SM_PATH . 'plugins/postfixadmin/locale'); |
|||
textdomain('postfixadmin'); |
|||
echo "<table bgcolor=\"$color[0]\" align=\"center\" width=\"95%\" cellpadding=\"1\" cellspacing=\"0\" border=\"0\">
|
|||
<tr> |
|||
<td align=\"center\"><b>". _("Options") ." - ". _("Auto Response") ." </b>
|
|||
<table align=\"center\" width=\"100%\" cellpadding=\"5\" cellspacing=\"0\" border=\"0\">
|
|||
<tr><td bgcolor=\"$color[4]\" align=\"center\"><br>
|
|||
<table align=\"center\" width=\"70%\" cellpadding=\"4\" cellspacing=\"0\" border=\"0\"><tr>
|
|||
<td bgcolor=\"$color[3]\" align=\"center\"><b>" . _("Auto Response") ."\n
|
|||
</b></td></tr><tr> |
|||
<td bgcolor=\"$color[0]\" align=\"center\"><form name=\"vacation\" method=\"post\">$tMessage
|
|||
<table width=\"95%\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\"><tr>
|
|||
<td width=\"23%\">". _("Subject") .":\n</td>
|
|||
<td width=\"2%\"> </td>
|
|||
<td width=\"69%\"><input type=\"text\" name=\"fSubject\" value=\"" . $tSubject . "\" /></td>
|
|||
<td width=\"2%\"> </td>
|
|||
<td width=\"4%\"> </td>
|
|||
</tr><tr> |
|||
<td>". _("Body") .":\n</td> |
|||
<td> </td> |
|||
<td><textarea rows=\"10\" cols=\"80\" name=\"fBody\">$VACCONF\n
|
|||
</textarea></td><td> </td><td> </td></tr><tr><td> </td><td> </td> |
|||
<td><input type=\"submit\" name=\"fAway\" value=\"" . _("Going Away") . "\" /></td>
|
|||
<td> </td><td> </td></tr> |
|||
</table><TT></TT></FORM></td> |
|||
</tr><tr><td bgcolor=\"$color[4]\" align=\"left\"> </td>
|
|||
</tr></table><BR></td></tr></table></td></tr></table>";
|
|||
bindtextdomain('squirrelmail', SM_PATH . 'locale'); |
|||
textdomain('squirrelmail'); |
|||
} |
|||
} |
|||
|
|||
if ($_SERVER['REQUEST_METHOD'] == "POST") |
|||
{ |
|||
$fBack = null; |
|||
$fAway = null; |
|||
foreach(array('fBack', 'fAway', 'fSubject', 'fBody') as $key) { |
|||
$$key = null; |
|||
if(isset($_POST[$key])) { |
|||
$$key = $_POST[$key]; |
|||
} |
|||
} |
|||
|
|||
if (!empty($fBack)) |
|||
{ |
|||
$success = $vacation->remove(); |
|||
|
|||
if(!$success) |
|||
{ |
|||
bindtextdomain('postfixadmin', SM_PATH . 'plugins/postfixadmin/locale'); |
|||
textdomain('postfixadmin'); |
|||
$tMessage = _("Unable to update your auto response settings!"); |
|||
echo "<p>This may signify an error; please contact support (1)</p>"; |
|||
bindtextdomain('squirrelmail', SM_PATH . 'locale'); |
|||
textdomain('squirrelmail'); |
|||
} |
|||
else |
|||
{ |
|||
bindtextdomain('postfixadmin', SM_PATH . 'plugins/postfixadmin/locale'); |
|||
textdomain('postfixadmin'); |
|||
echo "<p align=center><b>". _("Your auto response has been removed!") ."</b></p>"; |
|||
bindtextdomain('squirrelmail', SM_PATH . 'locale'); |
|||
textdomain('squirrelmail'); |
|||
|
|||
} |
|||
} |
|||
|
|||
if (!empty ($fAway)) |
|||
{ |
|||
// add record into vacation
|
|||
$success = $vacation->setAway($fSubject, $fBody); |
|||
|
|||
if(!$success) { |
|||
$error = 1; |
|||
bindtextdomain('postfixadmin', SM_PATH . 'plugins/postfixadmin/locale'); |
|||
textdomain('postfixadmin'); |
|||
$tMessage = _("Unable to update your auto response settings!"); |
|||
bindtextdomain('squirrelmail', SM_PATH . 'locale'); |
|||
textdomain('squirrelmail'); |
|||
} |
|||
else |
|||
{ |
|||
bindtextdomain('postfixadmin', SM_PATH . 'plugins/postfixadmin/locale'); |
|||
textdomain('postfixadmin'); |
|||
echo "<p align=center><b>". _("Your auto response has been set!") ."</b></p>"; |
|||
bindtextdomain('squirrelmail', SM_PATH . 'locale'); |
|||
textdomain('squirrelmail'); |
|||
|
|||
} |
|||
} |
|||
} |
|||
|
|||
?>
|
|||
@ -0,0 +1,62 @@ |
|||
<?php |
|||
// vim:ts=4:sw=4:et
|
|||
include_once(SM_PATH . 'functions/i18n.php'); |
|||
|
|||
function squirrelmail_plugin_init_postfixadmin() { |
|||
include(SM_PATH.'plugins/postfixadmin/config.php'); |
|||
|
|||
global $squirrelmail_plugin_hooks; |
|||
|
|||
$squirrelmail_plugin_hooks['optpage_register_block']['postfixadmin'] = 'postfixadmin_optpage_register_block'; |
|||
|
|||
} |
|||
|
|||
function postfixadmin_version(){ |
|||
return '2.3.0'; |
|||
} |
|||
|
|||
function postfixadmin_optpage_register_block () { |
|||
// Gets added to the user's OPTIONS page.
|
|||
global $optpage_blocks; |
|||
global $AllowVacation; |
|||
global $AllowChangePass; |
|||
|
|||
// if ( !soupNazi() ) {
|
|||
|
|||
bindtextdomain('postfixadmin', SM_PATH . 'plugins/postfixadmin/locale'); |
|||
textdomain('postfixadmin'); |
|||
$optpage_blocks[] = array ( |
|||
'name' => _("Forwarding"), |
|||
'url' => '../plugins/postfixadmin/postfixadmin_forward.php', |
|||
'desc' => _("Here you can create and edit E-Mail forwards."), |
|||
'js' => FALSE |
|||
); |
|||
bindtextdomain('squirrelmail', SM_PATH . 'locale'); |
|||
textdomain('squirrelmail'); |
|||
|
|||
bindtextdomain('postfixadmin', SM_PATH . 'plugins/postfixadmin/locale'); |
|||
textdomain('postfixadmin'); |
|||
if($AllowVacation) { |
|||
$optpage_blocks[] = array( |
|||
'name' => _("Auto Response"), |
|||
'url' => '../plugins/postfixadmin/postfixadmin_vacation.php', |
|||
'desc' => _("Set an OUT OF OFFICE message or auto responder for your mail."), |
|||
'js' => false |
|||
); |
|||
bindtextdomain('squirrelmail', SM_PATH . 'locale'); |
|||
textdomain('squirrelmail'); |
|||
} |
|||
bindtextdomain('postfixadmin', SM_PATH . 'plugins/postfixadmin/locale'); |
|||
textdomain('postfixadmin'); |
|||
if($AllowChangePass) { |
|||
$optpage_blocks[] = array( |
|||
'name' => _("Change Password"), |
|||
'url' => '../plugins/postfixadmin/postfixadmin_changepass.php', |
|||
'desc' => _("Change your mailbox password."), |
|||
'js' => false |
|||
); |
|||
bindtextdomain('squirrelmail', SM_PATH . 'locale'); |
|||
textdomain('squirrelmail'); |
|||
} |
|||
} |
|||
?>
|
|||
@ -0,0 +1,2 @@ |
|||
postfixadmin |
|||
2.3.0 |
|||
@ -0,0 +1,27 @@ |
|||
This package is using the quilt framework. |
|||
All patches are located in debian/patches. |
|||
|
|||
Adding a new patch: quilt new <date-patch_name> |
|||
This will create a new file debian/patches/patch/date-patch_name. |
|||
Please use the current date (e.g. 20100221 - YYYYMMDD) as prefix! |
|||
|
|||
Editing a file to include it into the patch: quilt edit <filename> |
|||
This will open your $EDITOR. |
|||
|
|||
To write your changes into the new patchfile: quilt refresh. |
|||
|
|||
quilt push: |
|||
Apply patch(es) from the series file. Without options, the next |
|||
patch in the series file is applied. When a number is specified, |
|||
apply the specified number of patches. When a patch name is |
|||
specified, apply all patches up to and including the specified patch. |
|||
Patch names may include the patches/ prefix, which means that |
|||
filename completion can be used. |
|||
|
|||
quilt pop: |
|||
Remove patch(es) from the stack of applied patches. Without options, |
|||
the topmost patch is removed. When a number is specified, remove the |
|||
specified number of patches. When a patch name is specified, remove |
|||
patches until the specified patch end up on top of the stack. |
|||
Patch names may include the patches/ prefix, which means that |
|||
filename completion can be used. |
|||
@ -1,25 +1,19 @@ |
|||
postfixadmin (2.3) unstable; urgency=low |
|||
|
|||
* New 'upstream' release. |
|||
|
|||
-- David Goodwin <david.goodwin@palepurple.co.uk> Mon, 27 Jul 2009 22:08:26 +0100 |
|||
postfixadmin (2.3.2) unstable; urgency=low |
|||
|
|||
postfixadmin (2.3rc7) unstable; urgency=low |
|||
* New upstream release |
|||
|
|||
* Fix issue with pre.rm script |
|||
* New 'upstream' release. |
|||
-- David Goodwin <david.goodwin@palepurple.co.uk> Mon, 23 Aug 2010 11:24:00 +0100 |
|||
|
|||
-- David Goodwin <david.goodwin@palepurple.co.uk> Mon, 27 Jul 2009 22:08:26 +0100 |
|||
postfixadmin (2.3.1) unstable; urgency=low |
|||
|
|||
postfixadmin (2.3rc6) unstable; urgency=low |
|||
* New upstream release |
|||
* Updated .deb standards (thanks normes) |
|||
|
|||
* Bump version number; etc. |
|||
-- David Goodwin <david.goodwin@palepurple.co.uk> Thu, 08 Jul 2010 22:20:14 +0100 |
|||
|
|||
-- David Goodwin <david.goodwin@palepurple.co.uk> Mon, 20 Jul 2009 19:56:26 +0100 |
|||
|
|||
postfixadmin (2.3rc5) unstable; urgency=low |
|||
postfixadmin (2.3) unstable; urgency=low |
|||
|
|||
* Initial release (Closes: #247225) |
|||
|
|||
-- Norman Messtorff <normes@normes.org> Sat, 09 May 2009 22:36:26 +0200 |
|||
-- Norman Messtorff <normes@normes.org> Sun, 21 Feb 2010 22:36:26 +0200 |
|||
|
|||
@ -1 +1 @@ |
|||
01-20090509_database-credentials -p0 |
|||
20100221_db-credentials |
|||
@ -1,5 +1,2 @@ |
|||
DOCUMENTS |
|||
CHANGELOG.TXT |
|||
GPL-LICENSE.TXT |
|||
INSTALL.TXT |
|||
LICENSE.TXT |
|||
@ -1,2 +1,16 @@ |
|||
ADDITIONS |
|||
VIRTUAL_VACATION |
|||
ADDITIONS/change_password.tgz |
|||
ADDITIONS/import_users_from_csv.py |
|||
ADDITIONS/postfixadmin-domain-postdeletion.sh |
|||
ADDITIONS/cleanupdirs.pl |
|||
ADDITIONS/mailbox_remover.pl |
|||
ADDITIONS/postfixadmin-mailbox-postcreation.sh |
|||
ADDITIONS/virtualmaildel.php |
|||
ADDITIONS/convert-passwd-to-postfixadmin.pl |
|||
ADDITIONS/mkeveryone.pl |
|||
ADDITIONS/postfixadmin-mailbox-postdeletion.sh |
|||
ADDITIONS/delete-mailq-by-domain.pl |
|||
ADDITIONS/pfa_maildir_cleanup.pl |
|||
ADDITIONS/quota_usage.pl |
|||
ADDITIONS/fetchmail.pl |
|||
ADDITIONS/README.TXT |
|||
@ -1,2 +0,0 @@ |
|||
version=3 |
|||
http://sf.net/postfixadmin/postfixadmin-(.*)\.tar\.gz |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue