gitlabhq/gitlabhq — Issue #275: Create new user failed (email issue?)
Author: samuel281
Created: 2012-01-10 00:42:16+00:00
State: open

# Envirionment #
#### server ####
Ubuntu 11.1 64 bit
gitlabhq 2.0 (master branch)
gitolite
nginx

#### client ####
windows 2003 Korean
TortiseGit 1.7.5.0
git version 1.7.7.1 msysgit

#### symptom ####
When I try to create new user it shows 500 error

#### production log ####
Started POST "/admin/users" for 10.238.128.38 at 2012-01-09 19:38:43 -0500
Processing by Admin::UsersController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"ojmDJoUxYqyiM1O5WZTosalXsXcmdDPMUiuGFG++NOE=", "user"=>{"name"=>"hyojeon@xxxx.com", "email"=>"hyojeon@xxxx.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "admin"=>"0", "projects_limit"=>"10", "skype"=>"", "linkedin"=>"", "twitter"=>""}, "commit"=>"Save"}
Binary data inserted for `string` type on column `encrypted_password`
Rendered notify/new_user_email.html.haml within layouts/notify (0.6ms)

Sent mail to hyojeon@xxxx.com (10ms)
Completed 500 Internal Server Error in 90ms

Errno::EPIPE (Broken pipe):
app/models/mailer_observer.rb:26:in `new_user'
app/models/mailer_observer.rb:7:in `after_create'
app/controllers/admin/users_controller.rb:29:in `block in create'
app/controllers/admin/users_controller.rb:28:in `create'

#### nginx log ####
sendmail: fatal: open /etc/postfix/main.cf: No such file or directory
cache: [POST /admin/users] invalidate, pass

#### reproduce ####
1. go to admin tab
2. go to user menu
3. create user with input values