Christian Boltz
e986ba2daa
vacation.pl:
...
whitespace fixes only:
- remove spaces at the end of the line
- replace some tabs with spaces
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@882 a1433add-5e2c-0410-b055-b7f2511e0802
14 years ago
Christian Boltz
70db729373
vacation.pl:
...
some changes after using perlcritic.org - in detail:
- removed unused variable $spam
- use ':encoding(UTF-8)' instead of ':utf8' to validate input against
invalid utf8 sequences
- foreach creates its own instance of $item - marking it with "my $item"
- replaced lots of "..." with '...'
BTW: Thanks to the nice guy who recommended perlcritic.org at the
openSUSE conference!
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@881 a1433add-5e2c-0410-b055-b7f2511e0802
14 years ago
Christian Boltz
3e69b1d0dc
vacation.pl:
...
- drop unneeded backslashes. The first one caused logging of "$email"
instead of the variable content, the others are just cosmetical.
Reported by Johan Meiring (jmeiring)
https://sourceforge.net/tracker/?func=detail&atid=937964&aid=3086899&group_id=191583
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@875 a1433add-5e2c-0410-b055-b7f2511e0802
14 years ago
Sebastian
b1287d97e2
- big merge of Postfixadmin smarty into trunk
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@757 a1433add-5e2c-0410-b055-b7f2511e0802
15 years ago
David Goodwin
cd7172dcea
vacation.pl: see email conversation with stevan@bajic.ch and #2835877 ( https://sourceforge.net/tracker/?func=detail&aid=2835877&group_id=191583&atid=937964 ); thanks to stevan for taking the time to explain why he was right :) - this change makes the vacation script look for user#domain@vacation.domain in the alias table, rather than user@domain, which is a better check (as it implies they also have vacation turned on)
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@734 a1433add-5e2c-0410-b055-b7f2511e0802
15 years ago
David Goodwin
08f37bb6ad
vacation.pl: change syslog facility
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@721 a1433add-5e2c-0410-b055-b7f2511e0802
15 years ago
Christian Boltz
ff3de29241
vacation.pl:
...
- fix typo (?) in query: "goto like %" should most probably be "goto like ?" (placeholder)
(if this was not a typo, the whole "AND ..." would be superfluous)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@706 a1433add-5e2c-0410-b055-b7f2511e0802
15 years ago
David Goodwin
1432d7c806
VIRTUAL_VACATION/vacation.pl: fix sql query - see https://sourceforge.net/tracker/index.php?func=detail&aid=2835877&group_id=191583&atid=937964
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@703 a1433add-5e2c-0410-b055-b7f2511e0802
15 years ago
David Goodwin
f7d4155fa2
patch from Steve ... see https://sourceforge.net/tracker/index.php?func=detail&aid=2818228&group_id=191583&atid=937964 - once again, thank you
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@684 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin
6f8b25be64
vacation.pl: add patch from Steve - https://sourceforge.net/tracker/?func=detail&aid=2813178&group_id=191583&atid=937967
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@678 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin
d0afcbab32
vacation.pl: fix https://sourceforge.net/tracker/?func=detail&aid=2796067&group_id=191583&atid=937964 - remove usage of file in /tmp; abort if logfile is not writeable, or we cannot create it
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@677 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin
5a9de37a65
INSTALL.TXT - see https://sourceforge.net/forum/forum.php?thread_id=3026548&forum_id=676076 ; general update, and add in a note on alias expansion
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@568 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz
7d9ca0b5c2
VACATION INSTALL.TXT
...
- add note about using /etc/mail/postfixadmin/vacation.conf
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@554 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin
2d34a4ca70
update docs a litt;e add revision to .pl file
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@535 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin
6589f8bc22
mail-myself.txt: test stuff
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@533 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin
cf2a995e13
vacation.pl: make it strip/discover addresses better, slightly better logging, stop it requiring a messageid
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@532 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin
2641670010
updating tests
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@531 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin
b2ba25693e
wiza thinks this is hte correct behaviour (i.e return true not false
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@513 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin
4c4c54a5ae
mail-filter: obsolete
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@472 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz
d9be3ca66d
vacation.pl:
...
- allow to enter the configuration in /etc/mail/postfixadmin/vacation.conf
instead of editing vacation.pl directly
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@470 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin
be43c4b7d8
vacation.pl: bump version number as it has not changed in years
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@468 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin
6bff38ac45
test.sh: update to reflect that the parameters passed into the script are actually of the a#b@autoreply.dom.tld and not a@b
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@458 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin
d75065f641
1- fix smtp_recipient (i.e un-vacationise-it), 2- remove the needless \s* stuff - these will get removed by the strip_address() routine anyway
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@457 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin
63cc542bbd
force requirement for command line parameters to script; regexp changes - thanks Luxten ( https://sourceforge.net/forum/forum.php?thread_id=2099851&forum_id=676076 )
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@456 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin
78d499aa63
INSTALL.TXT: minor updates
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@454 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin
320ecddbbf
vacation.pl: plenty of refactoring; I think this addresses all hte points at https://sourceforge.net/forum/message.php?msg_id=5205584
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@453 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin
194ce8f0ad
vacation.pl: fix for https://sourceforge.net/tracker/?func=detail&atid=937964&aid=2040288&group_id=191583
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@442 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin
d2fe1d50ed
vacation.pl: remove my super secret connection details
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@441 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin
be1b5b2eac
plenty of updates to vacation.pl - add log4perl support and crude testing harness
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@440 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin
27c0cdb06a
fix compile error
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@434 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin
886e02723f
vacation.pl: initial merge of smtp rcpt/to checking stuff as per https://sourceforge.net/forum/forum.php?thread_id=2099851&forum_id=676076 ; Thank you!
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@433 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin
73b26190ef
vacation.pl: disable automaticnotification stuff
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@431 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
510c69e311
vacation.pl: add patch from Luxten - enable re-notification after definable timeout - see : https://sourceforge.net/tracker/index.php?func=detail&aid=2031631&group_id=191583&atid=937966
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@428 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
4ee84c5827
vacation.pl: applying patch from luxten - see https://sourceforge.net/tracker/index.php?func=detail&aid=2031659&group_id=191583&atid=937966 - thanks!
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@427 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
40b8c19e27
patch from Fabio Bonelli; as per https://sourceforge.net/tracker/?func=detail&atid=937966&aid=2014010&group_id=191583 - thank you!
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@401 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
e3d31bb967
patch from tabmowtez - allow smtp server to be specified - see https://sourceforge.net/tracker/index.php?func=detail&aid=2008468&group_id=191583&atid=937966
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@398 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
4472e0b1c1
Typo fix; thanks to beuc via https://sourceforge.net/tracker/index.php?func=detail&aid=1996054&group_id=191583&atid=937966 - s/Virual/Virtual/ :)
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@385 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
4159745968
doc fix
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@332 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
d4a840700c
vacation.pl: updating spam check bit
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@207 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
3293ea8082
vacation.pl: do not send a vacation response if the mail has been previously classes as spam - assumes /^x-spam-flag:\s+yes$/i matches in the message
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@203 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz
0615e645c7
- fix a MySQL vs. PgSQL problem (True vs. 1) in vacation.pl
...
https://sourceforge.net/forum/forum.php?thread_id=1845361&forum_id=676076
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@157 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz
ba6ae2a311
- vacation.pl: replace DBD::MySQL with DBD::mysql in a comment.
...
Reported in the forum by jlbrown1:
https://sourceforge.net/forum/message.php?msg_id=4563099
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@150 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
c8ed2ffddf
vacation.pl: patch from kope (via forum post at http://sourceforge.net/forum/forum.php?thread_id=1837942&forum_id=676076 ) - Thankyou
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@127 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
eb6bca9047
vacation.pl: debug patch from amsys - see http://sourceforge.net/tracker/download.php?group_id=191583&atid=937966&file_id=247066&aid=1801542 - thank you!
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@92 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
7863e733f6
move database stuff back into ../DATABASE_[MYSQL|PGSQL].txt
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@80 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
91589bf6d6
vacation.pl: patches from amsys - see http://sourceforge.net/tracker/index.php?func=detail&aid=1799069&group_id=191583&atid=937966
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@63 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
2ae28e1eb2
vacation.pl : adding unicode support - thanks to amsys for this
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@58 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
46db3b7033
better merge from ../DATABASE_*
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@56 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
eaad7314d5
renaming vacation-pgsql.pl to vacation.pl
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@54 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
9453cbcd93
vacation.pl: removing - replacing with vacation-pgsql.pl which works for both db types
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@53 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
1239d6e00c
DATABASE.txt - schemas for MySQL and PGSQL
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@52 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
214676b929
doc update prior to merge of vacation perl scripts
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@51 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
02ee6675ae
INSTALL.TXT: updating to merge together the two vacation.pl scripts
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@50 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
590a89d4e2
updated to : a) include Mail::Sendmail (instead of calling /usr/bin/mail), b) handle message headers that wrap lines and start with spaces (patch from forum)
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@19 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Greg
b1e8f75daa
Multiline headers - patch from David White <davidw53@users.sourceforge.net>
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@16 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Greg
fc7bc9529a
Search enhancements
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@4 a1433add-5e2c-0410-b055-b7f2511e0802
18 years ago
Greg
d7cca670cb
patches by Christian Boltz applied
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@3 a1433add-5e2c-0410-b055-b7f2511e0802
18 years ago
Mischa Peters
85dc57beee
Initial Import in SourceForge
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1 a1433add-5e2c-0410-b055-b7f2511e0802
18 years ago