Displaying 20 results from an estimated 53 matches for "usermail".
2015 Mar 02
0
Connect failed to database
...t is world executable:
# ls -l /bin/mysql
-rwxr-xr-x. 1 root root 3533008 Feb 5 05:47 /bin/mysql
>> * Try to set the local ip instead of localhost (mysql makes a difference in the ACL checks if you come from localhost)
I have tried with
connect = host=localhost dbname=servermail user='usermail' password='gjwslegosoghjshloehg$_jsdgh'
and
connect = host=127.0.0.1 dbname=servermail user='usermail' password='gjwslegosoghjshloehg$_jsdgh'
still doesn't work:
Mar 2 04:58:48 mail dovecot: auth-worker(5745): Error: mysql(127.0.0.1): Connect failed to database (se...
2015 Mar 02
4
Connect failed to database
...2.2.10
>> dovecot -n output below
>>
>> I am seeing connection errors being written to my dovecot error log:
>> Mar 1 19:51:15 mail dovecot: auth-worker(2224): Error: mysql(localhost):
>> Connect failed to database (servermail): Access denied for user
>> 'usermail'@'localhost' (using password: YES) - waiting for 5 seconds before
>> retry
>>
>
> Just some quick ideas
> * check if the mysql socket file has rw permissions for the dovecot user
> * Try to run the mysql query as user dovecot (su dovecot)
> * Try to set the...
2010 Dec 11
0
Rails 3 - Delayed_Job (collectiveidea), trying to Delay Mailers - Error: NoMethodError (undefined method `delay' for UserMailer:Class):
Hello, I have the following in an observer:
UserMailer.delay.msg_notification(record)
In user_mailer.rb
class UserMailer < ActionMailer::Base
...
def msg_notification(record)
mail(
:to => "#{record.user.email}",
:subject => "Notification"
)
end
..
end
But this errors with:
NoMethodEr...
2015 Mar 02
2
Connect failed to database
I have dovecot version 2.2.10
dovecot -n output below
I am seeing connection errors being written to my dovecot error log:
Mar 1 19:51:15 mail dovecot: auth-worker(2224): Error: mysql(localhost): Connect failed to database (servermail): Access denied for user 'usermail'@'localhost' (using password: YES) - waiting for 5 seconds before retry
My connection script located at /etc/dovecot/dovecot-sql.conf.ext is like (password edited):
driver = mysql
connect = host=localhost dbname=servermail user='usermail' password='MY_SUPER_SECRET_PASSWORD...
2015 Apr 03
2
Disk space usage with mdbox
...f so no promises. There's
probably a much better way to do this but sometimes a little "brute
force" helps.
Theoretical steps:
1. Stop all mail processes - both SMTP and IMAP.
2. Use "doveadm sync" to backup the user mailbox, e.g.,
doveadm backup -u user mdbox:/tmp/usermail
3. Verify /tmp/usermail looks reasonable
4. Move the user's mail store somewhere else, e.g. /tmp/useroldmail
5. Move /tmp/usermail to the user's mailstore
6. Verify file permissions are set correctly in the mailstore
7. Start the mail processes...and test.
--
Daniel
On 4/3/2015 1:04...
2015 Mar 02
2
Connect failed to database
...* check if the mysql socket file has rw permissions for the dovecot user
>
> # ls -l /var/lib/mysql/mysql.sock
> srwxrwxrwx. 1 mysql mysql 0 Mar 1 19:33 /var/lib/mysql/mysql.sock
that's not the problem
> I have tried with
> connect = host=localhost dbname=servermail user='usermail' password='gjwslegosoghjshloehg$_jsdgh'
> and
> connect = host=127.0.0.1 dbname=servermail user='usermail' password='gjwslegosoghjshloehg$_jsdgh'
>
> still doesn't work:
> Mar 2 04:58:48 mail dovecot: auth-worker(5745): Error: mysql(127.0.0.1): Connec...
2017 Jun 16
1
Minor patches for builds against ancient platforms
...rs that are NOT symbolically linked work perfectly, and have various
> levels of hierarchy that are selectable as expected. Nothing appears in the logs.
>
> $ cd ~/mail
> $ ls -l
> -rw------- 1 2411625 Dec 16 09:12 Dovecot
> lrwxrwxrwx 1 21 Jun 13 18:01 OldMail -> /u2/usermail/luser
> -rwx------ 8 4096 Jan 1 12:09 "Open Source Projects"
If this is output on the dovecot server itself so there's no mismatch
in pathnames. Have you checked whether the dovecot user can traverse
all the way from / to /u2/usermail/luser/
> I've (rm ~/mail/.subsc...
2010 Feb 08
0
recommending friends, using RoR's Mailer
...'''' part as obviously, I dont want to only
email people who are already on the site.
def invite
@title = "Invitation"
if param_posted?(:user)
email = params[:user][:email]
user = User.find_by_email(email)
if user
UserMailer.deliver_invite(@user)
flash[:notice] = "Invite sent."
redirect_to :action => "index", :controller => "site"
else
flash[:notice] = "There is no user with that email
address."
end
end
end
The Us...
2015 Mar 02
1
Connect failed to database
...ql client is world executable:
doevcot should not need the client (its build in)
>>> * Try to set the local ip instead of localhost (mysql makes a difference in the ACL checks if you come from localhost)
>
> I have tried with
> connect = host=localhost dbname=servermail user='usermail' password='gjwslegosoghjshloehg$_jsdgh'
> and
> connect = host=127.0.0.1 dbname=servermail user='usermail' password='gjwslegosoghjshloehg$_jsdgh'
Do you really have a dollar sign in the password? This is always a
suspicious candidate - try a password without the...
2009 Jan 09
6
Accessing request.host in UserMailer
I am using subdomains in my application to control context. Therefor,
during user registration, password reset, and other actions that require
an email to be sent with a link to be clicked, I need to ensure that the
subdomain appropriate for the user is used.
It seems I need to be able to access request.host from within an
ActionMailer model. But I am not clear how to do this.
Any help would be
2008 Apr 25
6
ActionMailer
Hi all,
I need a help. I have got a user registration form, where the user signs
up and then an activation link is sent to the user email id for
activating his/her account. Now I need to send an another email to the
user, only after he logs in for the first time in my site, then the
second email should be sent. Can anybody give me some suggestion on how
to do it ??
NB: When the user clicks on
2018 Jan 08
2
Get parts from username variable
Hi Guys,
When I have a username like foo-bar-candy can I get/seperate foo, bar
and candy as single variables for my storagepath of the usermail ?
Thanks,
Matt
2009 Dec 21
2
Multiple email recipients
...= Subscription.find(params[:id])
@users = @subscription.users
@subscription_recipients = @users.find(:all).collect { |user|
user.email }
@subscription.deliver
flash[:notice] = "Delivered Subscription"
redirect_to subscriptions_url
end
#subscription.rb
def deliver
UserMailer.deliver_lotto_saturday_subscription(@user, @subscription)
update_attribute(:schedule_delivery, Time.now)
end
#user_mailer.rb
class UserMailer < ActionMailer ::Base
def lotto_saturday_subscription(user, subscription)
@recipients = ????????
from "lottomail.net"
subjec...
2010 Mar 10
6
Email section
Sir , I want to implement email section in ma web application..
so i found the method ''server_setting'' for it...
Following is the method:
config.action_mailer.server_settings = {
:address => "smtp.gmail.com" ,
:port => 25,
:domain => "gmail.com" ,
:authentication => :login,
:user_name => "manish" ,
:password =>
2017 Jun 09
1
Minor patches for builds against ancient platforms
> I do know that this little box of horrors has 200-300MB mbox INBOXes on an
> ext3 filesystem formatted in 2005. I am very nervous about converting them to
> Maildir at this point.
Fortunately, it just involves reformatting the data and a little
reconmfiguration of dovcot. If you can find the tool and disk space,
it's well worth doing. Of course, when running a proverbial
2015 Apr 05
0
Disk space usage with mdbox
...;s probably a much better way to do this but sometimes a little
> "brute force" helps.
>
> Theoretical steps:
> 1. Stop all mail processes - both SMTP and IMAP.
> 2. Use "doveadm sync" to backup the user mailbox, e.g.,
> doveadm backup -u user mdbox:/tmp/usermail
> 3. Verify /tmp/usermail looks reasonable
> 4. Move the user's mail store somewhere else, e.g. /tmp/useroldmail
> 5. Move /tmp/usermail to the user's mailstore
> 6. Verify file permissions are set correctly in the mailstore
> 7. Start the mail processes...and test.
>...
2009 Feb 08
2
SocketError in EmailController#correspond
...licationHelper
include ProfileHelper
before_filter :protect, :only => [ "correspond" ]
def remind
@title = "Mail me my login information"
if param_posted?(:user)
email = params[:user][:email]
user = User.find_by_email(email)
if user
UserMailer.deliver_reminder(user)
flash[:notice] = "Login information was sent."
redirect_to :action => "index", :controller => "site"
else
flash[:notice] = "There is no user with that email address."
end
end
end
def co...
2006 Apr 27
11
Action Mailer Error!!!
What does this mean?
Bad file descriptor - connect(2)
--
Posted via http://www.ruby-forum.com/.
2015 Apr 10
2
Disk space usage with mdbox
...r way to do this but sometimes a little
>> "brute force" helps.
>>
>> Theoretical steps:
>> 1. Stop all mail processes - both SMTP and IMAP.
>> 2. Use "doveadm sync" to backup the user mailbox, e.g.,
>> doveadm backup -u user mdbox:/tmp/usermail
>> 3. Verify /tmp/usermail looks reasonable
>> 4. Move the user's mail store somewhere else, e.g. /tmp/useroldmail
>> 5. Move /tmp/usermail to the user's mailstore
>> 6. Verify file permissions are set correctly in the mailstore
>> 7. Start the mail proces...
2015 Apr 02
2
Disk space usage with mdbox
Yes I have done it, it is the third command I have run, without any change.
a.
On 02/04/2015 09:53 ??, Urban Loesch wrote:
> Did you "purged" the deleted mails for this user?
> On mdbox you must run "doveadm purge -u $USER" to whipe out any as deleted marked mails etc.
>
> Details: http://wiki2.dovecot.org/Tools/Doveadm/Purge
>
> I use a nightly cronjob wor