[imp] mailing over smtp doesn't work

Jean-Marc Liger jean-marc.liger at siris.sorbonne.fr
Tue Oct 14 06:19:29 PDT 2003


Hello,

In fact, we are exactly in the same configuration. I have verified 
from mail sent and it has been sent by localhost :-(

You have to add also :
  $conf['mailer']['params'] = array('auth' => true );

http://lists.horde.org/archives/imp/Week-of-Mon-20030324/031512.html

I've tried but, it generate an snmp authenfication error, so I don't 
touch anything else for the moment.

JM

>Hello,
>but you didn't write, if the webserver with horde and imp is located 
>on different machine, than the mail server! Do you have 2 machines? 
>I have the configuration that way  = 2 machines - first with 
>apache-horde-imp and the second with qmail and that's my problem.
>
>On Tue, 14 Oct 2003, Jean-Marc Liger wrote:
>
>>  Hello,
>>
>>  Our conf is the following (don't forget to initialize array) :
>>
>>  #horde/config/horde.php
>  > $conf['mailer']['params'] = array();
>>  $conf['mailer']['params'] = array('host' => 'smtp.ourserver.fr');
>>
>>  #horde/imp/config/servers.php
>>  $servers['localdomain'] = array(
>>        'name' => 'localdomain.ourserver.fr',
>>        'server' => 'pop.ourserver.fr',
>>        'protocol' => 'pop3',
>>        'port' => 110,
>>        'folders' => '',
>>        'namespace' => '',
>>        'maildomain' => 'localdomain.ourserver.fr',
>>        'smtphost' => 'smtp.ourserver.fr',
>>        'realm' => 'ourserver.fr',
>>        'preferred' => ''
>>  );
>>
>>  We use Horde 2.2.4 and IMP 3.2.2 on Redhat 7.3 and it works fine.
>>
>>  JML - SIRIS
>>
>>
>>  >You would rewrite the settings of 'host' by next '$conf... 'port' => 25)!!
>>  >But I have done this already, but it didn't work. Then I make the
>>  >change of servers.php in imp directory as follows:
>>  >
>>  >$servers['pop3lit'] = array(
>>  >      'name' => 'Ourserver (POP3)',
>>  >      'server' => 'mail.ourserver.cz',
>>  >      'protocol' => 'pop3',
>>  >      'port' => 110,
>>  >      'folders' => '',
>>  >      'namespace' => '',
>>  >      'maildomain' => 'ourserver.cz',
>>  >      'smtphost' => 'mail.ourserver.cz',
>>  >      'realm' => 'cz',
>>  >      'preferred' => 'yes'
>>  >);
>>  >
>>  >The only thing, that deffers, is in the line
>>  >
>>  >	'preferred' => 'yes'
>>  >
>>  >and nothing else.
>>  >It's strange... Isn't it a possible bug?
>>  >
>>  >On Tue, 14 Oct 2003, Jean-Marc Liger wrote:
>>  >
>>  >>  Hi,
>>  >>
>>  >>  We have the same configuration, you have to put also :
>>  >>
>>  >  > $conf['mailer']['type'] = 'smtp';
>>  >  > $conf['mailer']['params'] = array();
>>  >  > $conf['mailer']['params'] = array('host' => 'mail.ourserver.cz');
>>  >  > $conf['mailer']['params'] = array('port => 25');
>>  >>
>>  >>  ... and it will normally work.
>>  >>
>>  >  > JML - SIRIS
>>  >>
>>  >>
>>  >>  >Hi,
>>  >>  >I've set up this configuration in horde/horde.php:
>>  >>  >
>>  >>  >$conf['mailer']['type'] = 'smtp';
>>  >>  >$conf['mailer']['params'] = array('host' => 'mail.ourserver.cz');
>>  >>  >
>>  >>  >In the horde/imp/servers.php I have:
>>  >>  >
>>  >>  >$servers['pop3lit'] = array(
>>  >>  >     'name' => 'Ourserver (POP3)',
>>  >>  >     'server' => 'mail.ourserver.cz',
>>  >>  >     'protocol' => 'pop3',
>>  >>  >     'port' => 110,
>>  >>  >     'folders' => '',
>>  >>  >     'namespace' => '',
>>  >>  >     'maildomain' => 'ourserver.cz',
>>  >>  >     'smtphost' => 'mail.ourserver.cz',
>>  >>  >     'realm' => 'cz',
>>  >>  >     'preferred' => ''
>>  >>  >);
>>  >>  >
>>  >>  >The problem is, that horde/imp project is located on the different
>>  >>  >machine, than the mail server. When I try to send a mail via IMP,
>>  >>  >IMP tries to send the message via localhost. It doesn't try to send
>>  >>  >it via other host (mail.ourserver.cz). I set up no other option.
>>  >>  >What can I do with it?
>>  >>  >
>>  >>  >Thank you very much for help
>>  >>  >
>>  >>  >--
>>  >>  >IMP mailing list
>>  >>  >Frequently Asked Questions: http://horde.org/faq/
>>  >>  >To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>>  >>
>>  >>  --
>>  >>  IMP mailing list
>>  >>  Frequently Asked Questions: http://horde.org/faq/
>>  >>  To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>>  >>
>>  >>
>>  >>
>>  >>
>  > >
>>  >--
>>  >IMP mailing list
>>  >Frequently Asked Questions: http://horde.org/faq/
>>  >To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>>
>>
>>
>>
>>
>
>--
>IMP mailing list
>Frequently Asked Questions: http://horde.org/faq/
>To unsubscribe, mail: imp-unsubscribe at lists.horde.org



More information about the imp mailing list