Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add postfix container #88

Closed
wants to merge 2 commits into from

Conversation

kirtangajjar
Copy link
Contributor

Signed-off-by: Kirtan Gajjar kirtangajjar95@gmail.com

Signed-off-by: Kirtan Gajjar <kirtangajjar95@gmail.com>
@kirtangajjar kirtangajjar self-assigned this Jul 27, 2018
@mbtamuli
Copy link
Contributor

Blocked due to EasyEngine/easyengine#1135. Will need to update this PR after EasyEngine/easyengine#1135 is merged.

@mbtamuli mbtamuli added the status/blocked Depends on another Issue or Pull Request label Jul 27, 2018
mkdir( $site_conf_dir . '/postfix' );
mkdir( $site_conf_dir . '/postfix/ssl' );
$ssl_dir = $site_conf_dir . '/postfix/ssl';
return \EE\Utils\default_launch("openssl req -new -x509 -nodes -days 365 -subj \"/CN=smtp.example.com\" -out $ssl_dir/server.crt -keyout $ssl_dir/server.key");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, the CN should be $site_name

The key file has to have permission 600.

chmod 0600 /etc/ssl/postfix/server.key

Change permission of server.key to 0600
Correct image name

Signed-off-by: Kirtan Gajjar <kirtangajjar95@gmail.com>
@mbtamuli
Copy link
Contributor

mbtamuli commented Aug 2, 2018

@kirtangajjar Will you update this PR with the new structure of the site command or will you create a new PR?

@mrrobot47
Copy link
Member

Closing it in favour of new PR opened post refactoring: EasyEngine/site-type-wp#4

@mrrobot47 mrrobot47 closed this Aug 3, 2018
@kirtangajjar kirtangajjar deleted the add_postfix branch September 6, 2018 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/blocked Depends on another Issue or Pull Request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants