David Goodwin
6c84ceeb94
see #826 - avoid $no_vacation_pattern of "" causing everyone to be skipped
2024-05-09 08:35:57 +01:00
Nuno Tavares
a75c0471fc
casting the date fields directly in the query
2024-04-12 01:41:47 +02:00
Andrew Ruthven
c9551cbb32
Fix default $smtp_client setting if we aren't connecting to the SMTP server on localhost.
...
This fixes the issue noted on https://github.com/postfixadmin/postfixadmin/discussions/648
2023-08-18 23:23:15 +12:00
Andrew Ruthven
d15012c814
Fix some spelling and grammer mistakes
2023-08-16 21:15:11 +12:00
Andrew Ruthven
b5275bb4af
If we can write to the logfile, and syslog is off, enable logging to the logfile.
2023-08-16 21:07:12 +12:00
Andrew Ruthven
e0438a703b
Disable the Log4Perl warning if it isn't initialised.
2023-08-16 21:06:36 +12:00
David Goodwin
447b22a529
default to logging to syslog - see #586
2023-08-16 09:03:22 +01:00
Jan Kruis
93d75a98ba
Update vacation.pl
...
replace typo's thanks to christian
2022-10-19 01:34:56 +02:00
Jan Kruis
a10414cf15
types
2022-10-19 00:58:12 +02:00
Jan Kruis
5543babe67
Update Contributions.txt
...
typo
2022-10-19 00:44:57 +02:00
Jan Kruis
b8256595e9
Update vacation.pl
...
remove substr now Time::Piece displays the timestamp correctly
remove quote from date_format if will now display the activeuntil date and not date_format as text in the body
2022-10-17 13:01:26 +02:00
Jan Kruis
be5dad4d04
add to vacation.pl
...
function get_accountname
get the variable name from the table mailbox and use it as accountname
if accountname_check is true the accountname is placed in front of the sender's email " Accountname <original@recipient.domain>" and this will be sent as email name and address of the sender.
if the account is not filled with a string then we will be checking if friendly_name is filled with a string and this will be placed in front of the sender's email "Friendlyname <original@recipient.domain>" and this will be sent as the email name and address of the sender.
if not, only the sender's email address will be sent.
function replace_sting together with replace_a_string
replaces in the body text to be sent the texts describing $replace_from and $replace_until with the values of activerom and activeuntil respectively from the vacation table in the date format specified at $date_format
the date format capabilities are described at https://www.tutorialspoint.com/perl/perl_date_time.htm . Variable has been chosen in the config part of vacation.pl so that admin can adjust the search texts for a country version.
in the languages/??.lang file one can see the $PALANG['UsersVacation_body_text'] with the desired replacement texts in $Replace_From and $Replace_Until.
Added library Time::Piece for data format
2022-10-17 02:36:51 +02:00
David Goodwin
66c1a6cd8d
improve documentation for smtp_ssl options
2021-10-17 15:21:54 +01:00
David Goodwin
30163e5dca
see #546 - forgot "my"
2021-09-28 20:10:28 +01:00
David Goodwin
031de3a773
vacation.pl - use \$friendly_from - see https://github.com/postfixadmin/postfixadmin/issues/543
2021-09-23 19:07:26 +01:00
Valery Kartel
e20defeed5
smtp_ssl variable must be boolean not literal
2021-06-02 12:59:12 +03:00
Christophe Gherardi
f35bceabb8
Modification HELO information/parameters
...
Modification of the comments for the HELO configuration, and addition of the HELO parameter in the transport.
2021-05-15 11:17:41 +02:00
David Goodwin
eded6a5559
Merge pull request #484 from csware/mysql-utf8mb4
...
UTF8 is no real UTF8 in MySQL, one needs to use utf8mb4
2021-05-07 19:57:09 +01:00
Sven Strickroth
7a3e9d4618
Make sending auto replies directly to the authoritative servers configurable
...
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2021-05-07 20:28:54 +02:00
David Goodwin
bff4afa944
Merge pull request #486 from csware/cleanup
...
Cleanup
2021-05-07 19:23:18 +01:00
Sven Strickroth
600c375faa
Cleanup
...
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2021-05-07 19:47:03 +02:00
Sven Strickroth
878ad18c5b
Fix typo
...
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2021-05-07 19:17:18 +02:00
David Goodwin
f40496163f
Merge pull request #482 from csware/autoresponders
...
Don't reply to known auto generated mails
2021-05-07 16:57:49 +01:00
Sven Strickroth
3cde7af742
UTF8 is no real UTF8 in MySQL, on needs to use utf8mb4
...
This allows to use emojis in vacation mails.
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2021-05-07 17:55:18 +02:00
Sven Strickroth
92d2a378c1
Be a good citizen and include 'Auto-Submitted: auto-replied' in auto replies
...
SHOULD "requirement" in RFC3834.
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2021-05-07 17:15:52 +02:00
Sven Strickroth
cbbb398026
Support all relevant cases of Outlook's X-Auto-Response-Suppress
...
cf.
<https://docs.microsoft.com/en-us/openspecs/exchange_server_protocols/ms-oxcmail/ced68690-498a-4567-9d14-5c01f974d8b1 >
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2021-05-07 17:00:20 +02:00
Sven Strickroth
2e9dc5fcb6
Do not auto reply to notification mails sent by Amazon
...
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2021-05-07 17:00:20 +02:00
Sven Strickroth
89e7135339
Add more cases to no_reply and no-reply detection
...
As found by Apple, Itunes and Google.
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2021-05-07 17:00:19 +02:00
Yannick Markus
d6385c03ff
fix vacation.pl resolver
2020-06-15 15:14:11 +02:00
David Goodwin
befc18154f
see: 86852b3dbd (r39604078)
- fix MX lookup
2020-06-02 12:56:18 +01:00
David Goodwin
3b1fffdf22
merge in patch from @jackdeguest - see https://github.com/postfixadmin/postfixadmin/issues/337
2020-03-03 09:52:25 +00:00
Caspar Clemens Mierau
9c4caf1045
remove double libmime-encwords-perl install call in virtual vacation howto
2019-09-19 00:18:32 +02:00
wuuuduu
86852b3dbd
Find MX record of receiver and use it
2019-08-30 23:08:17 +02:00
David Goodwin
63f63a58b7
Update INSTALL.md
...
add 1; for vacation.conf file
2019-01-30 10:01:57 +00:00
David Goodwin
4b990ff330
fix sql for notification resend; see #226
2018-12-30 18:16:31 +00:00
David Goodwin
c3d3898eb2
Merge pull request #167 from csware/recipient_delimiter
...
vacation: Correctly process mails with recipient_delimiter
2018-07-27 15:19:32 +01:00
Antony
61011619a8
libmime-perl => libemail-mime-perl on debian 9
2018-07-13 04:57:28 -03:00
Sven Strickroth
f0f6c16afa
vacation: Correctly process mails with recipient_delimiter
...
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2018-04-27 10:03:57 +02:00
Sven Strickroth
6c12800a78
Don't autorespond to Outlook autoresponses
...
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2018-03-08 14:26:16 +01:00
Sven Strickroth
7cb36bc0b2
Don't autorespond to Communigate autoresponses
...
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2018-03-08 14:25:05 +01:00
Breton Erwane
37d4279c52
syslog ident set to "vacation"
2017-12-19 10:50:05 +01:00
David Goodwin
a40e99c8ed
renamed to INSTALL.md
2017-08-22 20:48:42 +01:00
David Goodwin
1f63a9df89
update Install.txt -> Install.md
2017-08-14 21:44:20 +01:00
David Goodwin
da9f674611
better now?
2017-08-14 21:43:34 +01:00
David Goodwin
8d2223acfa
better now?
2017-08-14 21:43:15 +01:00
David Goodwin
6442c8aff4
better now?
2017-08-14 21:42:32 +01:00
David Goodwin
ba8a4ab659
better markup
2017-08-14 21:41:25 +01:00
David Goodwin
76f0387313
try this
2017-08-14 21:37:33 +01:00
David Goodwin
7f2ea1a20a
make github friendly, perhaps
2017-08-14 21:36:46 +01:00
David Goodwin
c3a4a6ed8d
remove some comments from the top of vacation.pl; add links to file(s); remove unnecessary index.php
2017-08-14 21:28:49 +01:00