On Apr 2, 2018 12:43 PM, Reio Remma <r...@mrstuudio.ee> wrote:
>
> Good news!
>
> I was using LMTP to relay to Amavisd, which worked for single 
> recipients, but I just switched relay to Amavisd to SMTP and now it all 
> seems to work! :)
>
> accept from !local for domain <domains> relay via lmtp://127.0.0.1:10024
> accept from local for any relay via lmtp://127.0.0.1:10026
>
> -->
>
> accept from !local for domain <domains> relay via smtp://127.0.0.1:10024
> accept from local for any relay via smtp://127.0.0.1:10026
>

Amavis was talking lmtp opensmtpd was expecting SMTP commands. It will only 
talk lmtp as a client.

> Gilles, if you want debug logs from me for the problem with LMTP to 
> Amavisd, let me know. :) Unfortunately it's beyond me to figure out if 
> it's a problem with OpenSMTPD or Amavisd.
>
> Thanks for thinking with me,
> Reio
>
> On 02.04.2018 20:25, Vijay Sankar wrote:
> > Hi Reio,
> >
> > It may be better to continue this discussion on the list. That will 
> > allow people more knowledgeable than I to help you out.
> >
> > Re. configuration, I actually use the defaults. Amavisd and OpenSMTPD 
> > always use SMTP in my case. Re. versions, it is just OpenBSD 6.1 -stable.
> >
> > Vijay
> >
> > Quoting Reio Remma <r...@mrstuudio.ee>:
> >
> >> Hey, best not spam Edgar anymore. :)
> >>
> >> I gathered that from my logs then moment I sent the mail. :)
> >>
> >> Would you mind showing me your amavisd config? What versions of 
> >> amavisd and OpenSMTPD are you using?
> >>
> >> What transfer method is used between OpenSMTPD and amavisd (both ways)?
> >>
> >> My OpenSMTPD sends mails to amavisd via LMTP and then gets it back 
> >> via SMTP.
> >>
> >> Thanks,
> >> Reio
> >>
> >> On 02.04.2018 19:41, Vijay Sankar wrote:
> >>> Also, just an FYI that I received two copies of your email that you 
> >>> sent at 11:23:24 Central Daylight Time. Part of the header that 
> >>> shows timestamps below:
> >>>
> >>> SECOND COPY seven minutes later.
> >>>
> >>> Received: from fw1.foretell.ca ([127.0.0.1])
> >>>     by localhost (server3.foretell.ca [127.0.0.1]) (amavisd-new, 
> >>> port 10024)
> >>>     with ESMTP id U2XLc_RhdFOs for <vsan...@foretell.ca>;
> >>>     Mon,  2 Apr 2018 11:30:29 -0500 (CDT)
> >>> Received: from orc.mrstuudio.ee (orc.mrstuudio.ee [87.119.172.175])
> >>>     by fw1.foretell.ca (OpenSMTPD) with ESMTPS id c5918644 
> >>> (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO)
> >>>     for <vsan...@foretell.ca>;
> >>>     Mon, 2 Apr 2018 11:30:11 -0500 (CDT)
> >>>
> >>> FIRST MESSAGE
> >>>
> >>> Received: from fw1.foretell.ca ([127.0.0.1])
> >>>     by localhost (server3.foretell.ca [127.0.0.1]) (amavisd-new, 
> >>> port 10024)
> >>>     with ESMTP id Im4I4JRgOGsJ for <vsan...@foretell.ca>;
> >>>     Mon,  2 Apr 2018 11:23:34 -0500 (CDT)
> >>> Received: from orc.mrstuudio.ee (orc.mrstuudio.ee [87.119.172.175])
> >>>     by fw1.foretell.ca (OpenSMTPD) with ESMTPS id f872ad50 
> >>> (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO)
> >>>     for <vsan...@foretell.ca>;
> >>>     Mon, 2 Apr 2018 11:23:34 -0500 (CDT)
> >>>
> >>> Quoting Vijay Sankar <vsan...@foretell.ca>:
> >>>
> >>>> Yes, that was the best way for me to make it work.
> >>>>
> >>>> I found the OpenSMTPD presentation at BSDCAN 2016 to be quite 
> >>>> helpful. But I kept screwing up the configuration repeatedly. 
> >>>> Having separate servers for MX ended up being simpler. Actually I 
> >>>> have two mail exchangers (with two different ISPs) and one mail 
> >>>> server.
> >>>>
> >>>> Vijay
> >>>>
> >>>> Quoting Reio Remma <r...@mrstuudio.ee>:
> >>>>
> >>>>> Hello, do I understand right, that you have 2 machines and Amavisd 
> >>>>> in the 1st machine gets mail from the 1st machine's OpenSMTPD and 
> >>>>> then sends the processed mail to the 2nd machine?
> >>>>>
> >>>>> Thanks!
> >>>>> Reio
> >>>>>
> >
> >
> >
>
>
> -- 
> You received this mail because you are subscribed to misc@opensmtpd.org
> To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
>
b��yǢ��m�+&j)[yƮ�쨹�޲��r��y�h�+����kiv��N�����r��zǧu���[h�+��칻�&ޢ���kiv��

Reply via email to