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
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
wuuuduu
86852b3dbd
Find MX record of receiver and use it
2019-08-30 23:08:17 +02:00
David Goodwin
4b990ff330
fix sql for notification resend; see #226
2018-12-30 18:16:31 +00: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
1f63a9df89
update Install.txt -> Install.md
2017-08-14 21:44:20 +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
tkempf
066a22cb42
Added forgotten use Statement for MIME:EncWords
2017-07-24 10:55:47 +02:00
tkempf
f2d4e6dbcc
Subject with non ASCII-chars still needs to be encoded
2017-07-24 08:27:14 +02:00
tkempf
34474a20e5
set default value for $no_vacation_pattern
2017-07-24 08:06:10 +02:00
tkempf
4660d65679
Renamed $novacation_pattern to $no_vacation_pattern + codestyle changes
2017-07-24 08:04:28 +02:00
tkempf
c5dcbeb48d
Removed unused libraries MIME::Encwords and MIME::Base64
2017-07-21 09:20:51 +02:00
tkempf
79f8a63a46
Bugfix in Encoding of vacation mail. UTF-8 header was missing and the
...
mailbody is already utf8, so no need to recode
2017-07-21 08:53:09 +02:00
tkempf
cc3d5b13e8
Add Example for $novacation_pattern
2017-07-18 15:03:41 +02:00
tkempf
e5e9ce7674
When using STARTTLS the SSL_verifycn_name must be set to prevent SSL
...
Errors
2017-07-18 13:00:41 +02:00
tkempf
1653e58398
Bump Version to 4.1
...
Sending Mail now works at least without encryption
2017-07-18 10:20:04 +02:00
tkempf
b781195526
Replace deprecated Mail::Sender by Email::Sender
...
Add searchpath for local vacation.conf
2017-07-17 13:11:50 +02:00
tkempf
27e336cd2c
Added novacation_pattern regexp to prevent sending vacation messages for
...
specific recipient addresses
2017-07-14 10:30:57 +02:00
David Goodwin
7ddac2ac4b
evil hack to make vacation work while we are using Mail::Sender - see also https://sourceforge.net/p/postfixadmin/patches/136/
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1893 a1433add-5e2c-0410-b055-b7f2511e0802
2017-02-09 05:21:12 +00:00
Christian Boltz
054d0a4c0e
vacation.pl: mime-decode original subject
...
Reported by czbg, https://sourceforge.net/p/postfixadmin/bugs/366/
Note that the original subject will keep the encoding specified in the
mime header (for example iso-8859-15) while we assume it to be utf8
(see "%mail =...").
Nevertheless, a broken character still looks better than having
=?ISO-8858-1?Q?Gr=DFe?= in the subject ;-)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1857 a1433add-5e2c-0410-b055-b7f2511e0802
2016-08-25 18:56:02 +00:00
David Goodwin
d1dad8a31c
merge patch from 54a77ecb9c
- thanks lisergey - encode message body with wide-chars UTF8
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1820 a1433add-5e2c-0410-b055-b7f2511e0802
2015-10-20 16:06:36 +00:00
Christian Boltz
c2d6034cc0
vacation.pl:
...
- fix two queries for postgresql
Patch by Christoph Kuchenbuch,
https://sourceforge.net/p/postfixadmin/bugs/315/
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1676 a1433add-5e2c-0410-b055-b7f2511e0802
2014-05-27 21:34:43 +00:00