If you have access to the configuration of this smtp-
server permit the ip of your webserver to use the
smtp-server for relaying emails.
In postfix extend 'mynetworks' in /etc/postfix/main.cf:
mynetworks = 127.0.0.0/8, ip.of.your.webserver
If you have no access, you should use authentication.
Hi!
Thanks for your answer!
Configuring postfix on the Ubuntu machine would of course be an option.
But what I'm trying to do is to use a smtp-server that does not
require autentication when contacted from it's local network.
cheers, Simon
On Oct 15, 2009, at 23:26 , qutic development
Do you send the mail directly with the Ubuntu machine? Is postfix or
whatever you use running?
If you try to deliver the mail not over the Ubuntu machine, you need
to specify an account (to prevent an open relay...):
ActionMailer::Base.smtp_settings = {
:address=> "my.mailserver.com",
Hi!
I've been spending half night and half day trying to figure out why my
mailer extension isn't working properly. When I hosted the site at a
Dreamhost PS (using passenger) everything worked just fine. Now when
hosting on a Ubuntu Hardy server running Ruby Enterprise Edition +
passeng