[imp] mailing over smtp doesn't work

Jean-Marc Liger jean-marc.liger at siris.sorbonne.fr
Tue Oct 14 03:28:51 PDT 2003


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



More information about the imp mailing list