Comments (2)
Attached script demonstrates issue on Debian 10.5 system running perl 5.28.1. Reporter was also reproducing on Debian and Devuan systems. Requires locale cs_CZ.UTF-8 (though original reporter is using cs_CZ.utf8(?)). Not reproducible on macOS 10.15.6 using either the system perl (5.18.4) or homebrew's latest (5.32.0)
The localized Date header is an unrelated bug and already fixed in git. Both of these statements turned out to be false.- The Message-Id and X-Mailer differences are to be expected. test 3 was an attempt to remove irrelevant info
- At this point I can reproduce it, and for some reason providing a custom data prevents it from happening, which should be enough to dig in to
jetmore@g3:~/Documents/git/swaks/tmp$ ./gen2.sh
OLD = /home/jetmore/Documents/git/swaks/tmp/swaks.20190914.0, swaks.20190914.0 version 20190914.0
NEW = /home/jetmore/Documents/git/swaks/tmp/swaks.20201010.0, swaks.20201010.0 version 20201010.0
test 1 (--dump):
0a1
> Wide character in print at /home/jetmore/Documents/git/swaks/tmp/swaks.20201010.0 line 67.
3c4
< Date: Tue, 13 Oct 2020 07:20:37 -0400
---
> Date: Út, 13 říj 2020 07:20:37 -0400
6,8c7,9
< Subject: klíč Žluťoučký kůň
< Message-Id: <[email protected]>
< X-Mailer: swaks v20190914.0 jetmore.org/john/code/swaks/
---
> Subject: klÃÄ� ŽluÅ¥ouÄ�ký kůÅ�
> Message-Id: <[email protected]>
> X-Mailer: swaks v20201010.0 jetmore.org/john/code/swaks/
10c11
< klíč Žluťoučký kůň
---
> klÃÄ� ŽluÅ¥ouÄ�ký kůÅ�
test 3 (--dump, --data):
from swaks.
bisected to 434f494, which introduced the localized Date: header that I thought was irrelevant (this explains the seemingly inexplicable - why using a custom --data prevented the error. The data I was using didn't have the Date header in it). However, fix for localized Date (3a95aa0) also doesn't seem to work on Debian. Need to look at this when I have more time.
from swaks.
Related Issues (20)
- using no-data-fixup option causes timeout, won't send HOT 1
- ETA for a new release? HOT 1
- Support multipart/alternative, rather than just /mixed, ideally with nesting HOT 2
- add --tls-get-peer-chain
- Why does smtp-server.pl return the same cert multiple times
- Add option to always look up and use the hostname of the public IP HOT 2
- do away with the verification callback for tls certs HOT 1
- [Help] attaching images inline body using --attach-body HOT 3
- DKIM signing
- enhance TLS cert debugging
- create smtp smuggling recipe
- docs: "Rendered" `base.pod` has been broken since Jan 2017 HOT 4
- weird command expansion in bash HOT 2
- "--tls-protocol tlsv1" fails after upgrade to FreeBSD 14.0 HOT 7
- misleading phrasing about lack of SPF/DMARC support HOT 1
- Add support for the optional <initial-reponse> argument to the AUTH LOGIN command HOT 3
- SMTPUTF8 error with Postfix HOT 1
- Verbosity (Log Level) or anything to make swaks quiter. HOT 2
- add proper SMTPUTF8 handling for MUA mode
- standardize references to RFCs in the docs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swaks.