diff --git a/README.md b/README.md index 1bdf7f9..2e74966 100644 --- a/README.md +++ b/README.md @@ -99,8 +99,8 @@ running](http://www.icegreen.com/greenmail/#deploy_docker_standalone). The easiest way to do that is with Docker: ```console -$ docker pull greenmail/standalone:1.6.2 -$ docker run -t -i -e GREENMAIL_OPTS='-Dgreenmail.setup.test.all -Dgreenmail.hostname=0.0.0.0 -Dgreenmail.auth.disabled -Dgreenmail.verbose' -p 3025:3025 -p 3110:3110 -p 3143:3143 -p 3465:3465 -p 3993:3993 -p 3995:3995 greenmail/standalone:1.6.2 +$ docker pull greenmail/standalone:1.6.3 +$ docker run -t -i -e GREENMAIL_OPTS='-Dgreenmail.setup.test.all -Dgreenmail.hostname=0.0.0.0 -Dgreenmail.auth.disabled -Dgreenmail.verbose' -p 3025:3025 -p 3110:3110 -p 3143:3143 -p 3465:3465 -p 3993:3993 -p 3995:3995 greenmail/standalone:1.6.3 ``` ## License diff --git a/README.tpl b/README.tpl index 1d9ea49..2139e46 100644 --- a/README.tpl +++ b/README.tpl @@ -20,8 +20,8 @@ running](http://www.icegreen.com/greenmail/#deploy_docker_standalone). The easiest way to do that is with Docker: ```console -$ docker pull greenmail/standalone:1.6.2 -$ docker run -t -i -e GREENMAIL_OPTS='-Dgreenmail.setup.test.all -Dgreenmail.hostname=0.0.0.0 -Dgreenmail.auth.disabled -Dgreenmail.verbose' -p 3025:3025 -p 3110:3110 -p 3143:3143 -p 3465:3465 -p 3993:3993 -p 3995:3995 greenmail/standalone:1.5.9 +$ docker pull greenmail/standalone:1.6.3 +$ docker run -t -i -e GREENMAIL_OPTS='-Dgreenmail.setup.test.all -Dgreenmail.hostname=0.0.0.0 -Dgreenmail.auth.disabled -Dgreenmail.verbose' -p 3025:3025 -p 3110:3110 -p 3143:3143 -p 3465:3465 -p 3993:3993 -p 3995:3995 greenmail/standalone:1.6.3 ``` ## License diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 50a2158..8a1ae9a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -85,7 +85,7 @@ resources: endpoint: jonhoo containers: - container: greenmail - image: greenmail/standalone:1.6.2 + image: greenmail/standalone:1.6.3 ports: - 3025:3025 - 3110:3110 diff --git a/src/parse.rs b/src/parse.rs index b4871ca..806fbab 100644 --- a/src/parse.rs +++ b/src/parse.rs @@ -326,7 +326,7 @@ pub fn parse_ids( lines: &[u8], unsolicited: &mut mpsc::Sender, ) -> Result> { - let mut lines = &lines[..]; + let mut lines = lines; let mut ids = HashSet::new(); loop { if lines.is_empty() {