Koozali.org: home of the SME Server

Sogo + Sieve + Autoreponder

Offline nicolatiana

  • *
  • 721
  • +0/-0
Sogo + Sieve + Autoreponder
« on: August 14, 2014, 06:20:38 PM »
Hi everybody

I've successfully configured in at least 4 sites Sogo + Dovecot2 with FWS add-on https://wikit.firewall-services.com/doku.php/smedev/dovecot on Sme 8.1/32
In all sites outgoing mail is sent via smart-host (different ISP, some authenticated, some not).
I've tried to setup autoresponder/vacation feature and all is working fine except that in one site where the ISP (maybe making cleverer checks) refuses auto-reply mail claiming a missing "MAIL FROM" in the mail transaction; this is a quote from qmail logs:
Quote
2014-08-14 17:45:01.463395500 info msg 445252744: bytes 2696 from <n.tiana@mydomain.it> qp 15586 uid 400
2014-08-14 17:45:01.486048500 starting delivery 2231: msg 445252744 to local localzol@remotedomain.it
2014-08-14 17:45:01.486051500 status: local 2/20 remote 0/20
2014-08-14 17:45:01.486052500 delivery 2230: success: forward:_qp_15586/did_0+0+1/
2014-08-14 17:45:01.486053500 status: local 1/20 remote 0/20
2014-08-14 17:45:01.486054500 end msg 445252556
2014-08-14 17:45:01.644827500 new msg 445252556
2014-08-14 17:45:01.644828500 info msg 445252556: bytes 1066 from <> qp 15599 uid 453
2014-08-14 17:45:01.650305500 starting delivery 2232: msg 445252556 to remote n.tiana@mydomain.it
2014-08-14 17:45:01.650306500 status: local 1/20 remote 1/20
2014-08-14 17:45:01.661245500 delivery 2231: success: lda(localzol):_Info:_sieve:_msgid=<55bd52d56c5069d47ab8706e40b9645f@alma.it>:_sent_vacation_response_to_<n.tiana@mydomain.it>/lda(localzol):_Info:_sieve:_msgid=<55bd52d56c5069d47ab8706e40b9645f@mydomain.it>:_stored_mail_into_mailbox_'INBOX'/did_0+0+2/
2014-08-14 17:45:01.661248500 status: local 0/20 remote 1/20
2014-08-14 17:45:01.661249500 end msg 445252744
2014-08-14 17:45:01.813281500 delivery 2232: failure: 127.0.0.1_does_not_like_recipient./Remote_host_said:_501_sorry,_Mail_From_must_have_a_valid_address._Message_rejected._(#5.1.1)/Giving_up_on_127.0.0.1./
I "tailed" both qmail and qpsmtpd logs and, at the same time-hour there's no evidence that smtp has been considered to sent-out the autoresponder message, so it seems that the sieve script tries to do it by self missing something in negotiating with mail server. I've digged my filesystem to find evidence of a possible location for sieve script involved to look inside but no success.

Cheers

Nicola



Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Sogo + Sieve + Autoreponder
« Reply #1 on: August 15, 2014, 08:39:27 AM »
surely that my answer is outside of the scope of your problem, but how do you activate the sieve support with sogo ? I do not think that smeserver-sogo can do that by default since you have to add some custom-template and the package smeserver-dovecot-extras.

I'm currently working on a sieve support for sogo like daniel and nethesis have done for their package and thus my interest.
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline nicolatiana

  • *
  • 721
  • +0/-0
Re: Sogo + Sieve + Autoreponder
« Reply #2 on: August 15, 2014, 07:41:23 PM »
This https://wikit.firewall-services.com/doku.php/smedev/dovecot does it for you; then you have some db variables to activate/deactivate.
Unfortunately no more informations about files location, way to add own script ecc . . .
Maybe Daniel can help us about this

Nicola
« Last Edit: August 15, 2014, 07:43:56 PM by nicolatiana »
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline nicolatiana

  • *
  • 721
  • +0/-0
Re: Sogo + Sieve + Autoreponder
« Reply #3 on: August 20, 2014, 05:32:28 PM »
Off-Topic

Those are packages installed using FWS Dovecot2:
Quote
=====================================================================================================================================================================================================
 Package                                            Arch                                  Version                                                Repository                                     Size
=====================================================================================================================================================================================================
Installing:
 smeserver-dovecot                                  noarch                                0.1.5-1.beta0.el5.fws                                  fws-testing                                    20 k
     replacing  e-smith-imap.noarch 2.2.0-9.el5.sme

Installing for dependencies:
 acl                                                i386                                  2.2.39-8.el5                                           base                                           68 k
 dovecot-managesieve                                i386                                  2:0.4.2-32.1.el5                                       atrpms-testing                                 57 k
 dovecot-pigeonhole                                 i386                                  2:0.4.2-32.1.el5                                       atrpms-testing                                438 k
 postgresql84-libs                                  i386                                  8.4.20-1.el5_10                                        updates                                       214 k
Updating for dependencies:
 dovecot                                            i386                                  1:2.2.10-1_14.el5                                      atrpms-testing                                3.2 M

Transaction Summary
=====================================================================================================================================================================================================

Nicola
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline nicolatiana

  • *
  • 721
  • +0/-0
Re: Sogo + Sieve + Autoreponder
« Reply #4 on: August 29, 2014, 06:22:33 PM »
Update: I tried to activate SMTP Proxy. Actually now mail pass through qpsmtpd but it's still rejected.

Nicola
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.