This is a tough one ... I just moved to a new server, and any attempt to send an email through ActionMailer produces a Timeout::Error. lighttpd reports no error, and apache2 spits out some fcgi problems. Because I just moved servers AND updated to .13 I''m having a hard time figuring out which is the culprit. Can anyone confirm something like this, or at least confirm that ActionMailer works fine in .13? Britt
On Jul 29, 2005, at 8:46 AM, Britt Selvitelle wrote:> This is a tough one ... I just moved to a new server, and any attempt > to send an email through ActionMailer produces a Timeout::Error. > lighttpd reports no error, and apache2 spits out some fcgi problems. > > Because I just moved servers AND updated to .13 I''m having a hard time > figuring out which is the culprit. Can anyone confirm something like > this, or at least confirm that ActionMailer works fine in .13? >Are you using .13, or .13.1? I know for a fact that AM works fine in . 13.1, and I believe it worked okay in .13 as well. - Jamis
Have you checked to see if you are using an SMTP server or sendmail for your config? Maybe one or the other doesn''t exist or isn''t reachable. One of the two MUST be configured. Joshua Sierles> This is a tough one ... I just moved to a new server, and any attempt > > to send an email through ActionMailer produces a Timeout::Error. > > lighttpd reports no error, and apache2 spits out some fcgi problems. > > > > Because I just moved servers AND updated to .13 I''m having a hard time > > figuring out which is the culprit. Can anyone confirm something like > > this, or at least confirm that ActionMailer works fine in .13? > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
I''ve tried sending mail via the ''mail'' command and that works fine ... it''s not fcgi, so it must be a ruby thing. Does ruby require any particular packages for this? On 7/29/05, Joshua Sierles <jsierles-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Have you checked to see if you are using an SMTP server or sendmail for your > config? Maybe one or the other doesn''t exist or isn''t reachable. One of the > two MUST be configured. > > Joshua Sierles > > > > > This is a tough one ... I just moved to a new server, and any attempt > > > to send an email through ActionMailer produces a Timeout::Error. > > > lighttpd reports no error, and apache2 spits out some fcgi problems. > > > > > > Because I just moved servers AND updated to .13 I''m having a hard time > > > figuring out which is the culprit. Can anyone confirm something like > > > this, or at least confirm that ActionMailer works fine in .13? > > > > > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >
Is this a Linux system? Can you look at your maillog? Usually in /var/log/maillog See if you have relay problems, etc. Perhaps the wrong user is being used, etc. On Jul 29, 2005, at 3:31 PM, Britt Selvitelle wrote:> I''ve tried sending mail via the ''mail'' command and that works fine ... > it''s not fcgi, so it must be a ruby thing. Does ruby require any > particular packages for this? > > On 7/29/05, Joshua Sierles <jsierles-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> Have you checked to see if you are using an SMTP server or >> sendmail for your >> config? Maybe one or the other doesn''t exist or isn''t reachable. >> One of the >> two MUST be configured. >> >> Joshua Sierles >> >> >> >>>> This is a tough one ... I just moved to a new server, and any >>>> attempt >>>> to send an email through ActionMailer produces a Timeout::Error. >>>> lighttpd reports no error, and apache2 spits out some fcgi >>>> problems. >>>> >>>> Because I just moved servers AND updated to .13 I''m having a >>>> hard time >>>> figuring out which is the culprit. Can anyone confirm something >>>> like >>>> this, or at least confirm that ActionMailer works fine in .13? >>>> >>> >>> >>> _______________________________________________ >>> Rails mailing list >>> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >>> http://lists.rubyonrails.org/mailman/listinfo/rails >>> >>> >> >> >> _______________________________________________ >> Rails mailing list >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> >> >> >> > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
On 7/29/05, Toby Boudreaux <rails-lb8SQxIZKShBDgjK7y7TUQ@public.gmane.org> wrote:> Is this a Linux system? > > Can you look at your maillog? > > Usually in /var/log/maillog > > See if you have relay problems, etc. Perhaps the wrong user is being > used, etc.Finally got it! The postfix file /etc/aliases.db was not set up. I think this is an issue specific to an Ubuntu *server* install, as I had no such problems on desktop installs. Specifically, the fix is: #postfix stop #newaliases #postfix start
Right, that''s what I figured -- that you were having user problems. Glad to know it worked. Perhaps add some info to the Wiki if you feel it''s relevant? -tj On Jul 29, 2005, at 4:11 PM, Britt Selvitelle wrote:> On 7/29/05, Toby Boudreaux <rails-lb8SQxIZKShBDgjK7y7TUQ@public.gmane.org> wrote: > >> Is this a Linux system? >> >> Can you look at your maillog? >> >> Usually in /var/log/maillog >> >> See if you have relay problems, etc. Perhaps the wrong user is being >> used, etc. >> > > Finally got it! > > The postfix file /etc/aliases.db was not set up. I think this is an > issue specific to an Ubuntu *server* install, as I had no such > problems on desktop installs. > > Specifically, the fix is: > > #postfix stop > #newaliases > #postfix start >
On 7/29/05, Toby Boudreaux <rails-lb8SQxIZKShBDgjK7y7TUQ@public.gmane.org> wrote:> Right, that''s what I figured -- that you were having user problems. > Glad to know it worked. Perhaps add some info to the Wiki if you feel > it''s relevant?Yes I''m definitely going to do this as soon as it is back up. Britt