I have been using Horde/Imp and mail system installed in the same machine for a long time. Now I am trying to use the mail system in one machine and Horde Groupware Webmail Edition 5.2.16 in another one.

Let A, B and C be FQDN:
Mail system to login and send mails = A
Horde Webmail = B
Mail destination = C

I can login (Imp) and read mails via secured imap (A) coneection, but when I send mail Imp is not using submission (A:587), probally a configuration mistake that I am not seeing. I can send Horde problem report successfully (B->postmaster@A).

I can use my cell phone to read (A:imap) and send emails (A:587) securelly to the same mail system (A):

***** A (mail system) mail.log:
Jul 24 10:37:55 A postfix/submission/smtpd[4525]: 9F6ECD40C60: client=unknown[192.168.243.191]...

Imp configuration in B (/var/www/webmail/imp/config/backends.local.php):

<?php
$servers['imap']['disabled'] = true;
$servers['advanced']['disabled'] = false;
$servers['advanced']['name'] = 'Advanced IMAP Server';
$servers['advanced']['hostspec'] = 'A';
$servers['advanced']['hordeauth'] = true;
$servers['advanced']['protocol'] = 'imap';
$servers['advanced']['port'] = 993;
$servers['advanced']['secure'] = 'ssl';
$servers['advanced']['maildomain'] = 'A';
$servers['advanced']['smtp']['auth'] = true;
$servers['advanced']['smtp']['debug'] = true;
$servers['advanced']['smtp']['horde_auth'] = false;
$servers['advanced']['smtp']['host'] = 'A';
$servers['advanced']['smtp']['lmtp'] = false;
$servers['advanced']['smtp']['password'] = null;
$servers['advanced']['smtp']['port'] = 587;
$servers['advanced']['smtp']['username'] = null;

Sending mail via Webmail (B): Horde uses B mail system to deliver the message, I want it to use A:587 (submission). I am using from=<mylogin@A>. What is wrong?

***** B (Horde) mail.log:

Jul 24 14:02:01 B postfix/pickup[4297]: 4F3F160419: uid=33 from=<mylogin@A>
Jul 24 14:02:01 B postfix/cleanup[4420]: 4F3F160419: message-id=<20170724170201.Horde.YUvm4qox5-n-SYQQmur3TRx@B> Jul 24 14:02:01 B postfix/qmgr[1258]: 4F3F160419: from=<mylogin@A>, size=667, nrcpt=1 (queue active) Jul 24 14:02:02 B postfix/smtp[4422]: 4F3F160419: to=<mylogin@C>, relay=C[C]:25, delay=1.3, delays=0.05/0.02/0.01/1.3, dsn=5.7.1, status=bounced (host C[C] said: 550 5.7.1 <mylogin@C>: Recipient address

rejected: Please see http://www.openspf.net/Why?s=mfrom;id=mylogin%40A;ip=B;r=C (in reply to RCPT TO command)) Jul 24 14:02:02 B postfix/cleanup[4420]: 9C357604F8: message-id=<20170724170202.9C357604F8@B> Jul 24 14:02:02 B postfix/bounce[4423]: 4F3F160419: sender non-delivery notification: 9C357604F8 Jul 24 14:02:02 B postfix/qmgr[1258]: 9C357604F8: from=<>, size=2850, nrcpt=1 (queue active)
Jul 24 14:02:02 B postfix/qmgr[1258]: 4F3F160419: removed
Jul 24 14:02:02 B postfix/smtp[4422]: 9C357604F8: to=<mylogin@A>, relay=A[A]:25, delay=0.18, delays=0.01/0/0.12/0.05, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 9245DD4064B)
Jul 24 14:02:02 B postfix/qmgr[1258]: 9C357604F8: removed


***** sender non-delivery notification from A mail.log:

Jul 24 14:02:02 A dovecot: imap-login: Login: user=<mylogin>, method=PLAIN, rip=B, lip=A, mpid=5918, TLS, session=<hud1LBNVKQCSpEwx> Jul 24 14:02:02 A dovecot: imap(mylogin): Disconnected: Logged out in=621 out=486
Jul 24 14:02:03 A postfix/smtpd[5919]: connect from B[B]
Jul 24 14:02:03 A postfix/smtpd[5919]: 9245DD4064B: client=B[B]
Jul 24 14:02:03 A postfix/cleanup[5924]: 9245DD4064B: message-id=<20170724170202.9C357604F8@B>
Jul 24 14:02:03 A postfix/smtpd[5919]: disconnect from B[B]
Jul 24 14:02:03 A postfix/qmgr[5871]: 9245DD4064B: from=<>, size=3048, nrcpt=1 (queue active) Jul 24 14:02:03 A postfix/local[5925]: 9245DD4064B: to=<mylogin@A>, relay=local, delay=0.08, delays=0.03/0.03/0/0.02, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
Jul 24 14:02:03 A postfix/qmgr[5871]: 9245DD4064B: removed

TIA
Mauricio

--

Maurício José T. Tecles
Instituto de Biofísica Carlos Chagas Filho/UFRJ
Av. Carlos Chagas Filho, 373
Núcleo de Informática
CCS, Bloco G, sala G1-006
Cidade Universitária - Ilha do Fundão
21941-902, Rio de Janeiro - RJ

mtec...@biof.ufrj.br
Tel.: (21) 3938-6526 ou 3938-6544

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Reply via email to