Re: OpenSMTPD password encryption scheme.

2018-09-18 Thread Reio Remma
On 18.09.2018 19:33, Gilles Chehade wrote: On Tue, Sep 18, 2018 at 10:06:49AM +0300, Reio Remma wrote: Hello! I'm curious as to what determines the password scheme used by OpenSMTPD on a Linux system (CentOS 7 in my case). that's an easy one: OpenSMTPD uses the crypt() function provided

OpenSMTPD password encryption scheme.

2018-09-18 Thread Reio Remma
Hello! I'm curious as to what determines the password scheme used by OpenSMTPD on a Linux system (CentOS 7 in my case). When setting up the system I ended up with using SHA512, because it seems to be what works both in OpenSMTPD and Dovecot, but would really like to use Blowfish instead.

Re: Testing SMTP Authentication CLI

2018-09-09 Thread Reio Remma
On 09.09.2018 7:16, Antonino Sidoti wrote: I would like to test the configuration from CLI on my MacBook and using; openssl s_client -connect mail.example.com:25 -starttls smtp. The connection is successful and I can see TLS handshake, etc. I now enter ‘helo’ and 'auth login’, each are

Re: Sending mail from PowerShell via OpenSMTPD fails.

2018-09-05 Thread Reio Remma
Thanks for pointing it out! Quick search and I now know they're plaintext transmitted in base64. :P Time for a password change. :D I can also tell you why it's decodes as Usernamu. :P Reio PS: Damnation On 05/09/2018 10:24, Marcus MERIGHI wrote: Hello, r...@mrstuudio.ee (Reio Remma

Sending mail from PowerShell via OpenSMTPD fails.

2018-09-04 Thread Reio Remma
Hello! I've a backup script in Windows that sends an e-mail upon completion. The mail goes out successfully if I use port 25 on the mail server but fails unspectacularly with no specific error message on OpenSMTPD side when I try to submit it authenticated on port 587. I suspect it's a

Re: very confused on userbase parameter

2018-09-01 Thread Reio Remma
Hello! Are you using multiple domains? I just tested it in its simplest form (in 6.0.3) with one domain and it worked without virtuals. table userinfo { reio = 5000:5000:/home/vmail/turin.mrstuudio.ee/reio } accept tagged Filtered for domain userbase deliver to lmtp

Re: userbase question

2018-08-27 Thread Reio Remma
Iirc I got the .forward file working with sqlite tables, where the user query also returned the virtual user’s maildir as an extra parameter. Good luck, Reio > On 27 Aug 2018, at 16:11, Matt Schwartz wrote: > > Hello misc@, > > Below is my configuration file. I am trying to use the userbase

Re: Forward of singele email address

2018-08-24 Thread Reio Remma
On 24.08.18 16:04, opensm...@stachelkaktus.net wrote: Hello Matt, On 24.08.2018 13:49, Matt Schwartz wrote: Try adding it to the aliases file and see what happens but I think the aliases file may only work to map a system user to another email address. I've added another e-mail to an alias:

Re: Forward of singele email address

2018-08-24 Thread Reio Remma
d i...@otherdomain.com -- Tervitades Reio Remma MR Stuudio 25 aastat *MR Stuudio OÜ* Tondi 17b, 11316, Tallinn Tel +372 650 4808 Mob +372 56 22 00 33 r...@mrstuudio.ee www.mrstuudio.ee

Re: 6.0.3p1-2 - messages sent from imap (dovecot) are not passed through dkimproxy

2018-08-01 Thread Reio Remma
On 01.08.18 15:17, ѽ҉ᶬḳ℠ wrote: The matching rule for you should now be: accept (from local) for any relay viasmtp://127.0.0.1:10027 This rule matching would again bypass DKIM and is redundant: accept from source 172.25.120.2 for any relay The way is set and working now: accept for any

Re: 6.0.3p1-2 - messages sent from imap (dovecot) are not passed through dkimproxy

2018-08-01 Thread Reio Remma
On 01.08.18 14:48, ѽ҉ᶬḳ℠ wrote: Having sorted PAM SMTPAUTH the user/client 172.25.120.2 is now treated as server's local user and filter rules using from local are matched. Thence, amended [ accept from source 172.25.120.2 for any relay via smtp://127.0.0.1:10027 ] to [ accept from source

Re: 6.0.3p1-2 - messages sent from imap (dovecot) are not passed through dkimproxy

2018-07-31 Thread Reio Remma
On 31.07.18 10:11, ѽ҉ᶬḳ℠ wrote: From cli it is a different ip. Just add a relay via dkim to the line in question then and see if that works. So it is but why makes that difference considering the directives - particularly the [ any ] part should cover any (as in 172.25.120.2 for instance),

Re: 6.0.3p1-2 - messages sent from imap (dovecot) are not passed through dkimproxy

2018-07-31 Thread Reio Remma
On 31.07.18 6:43, ѽ҉ᶬḳ℠ wrote: From cli it is a different ip. Just add a relay via dkim to the line in question then and see if that works. So it is but why makes that difference considering the directives - particularly the [ any ] part should cover any (as in 172.25.120.2 for instance), or

Re: SMTP server does not support authentication

2018-07-12 Thread Reio Remma
Hello! Did you try using the submission port (587) in Roundcube? You probably won't want to enforce auth on port 25 because that's used mostly for incoming mail. Good luck, Reio On 12.07.2018 10:52, Teno Deuter wrote: Dear all, I have following configuration: openbsd 6.3 opensmtpd

Re: Fwd: smtpd.conf configuration error (accept)

2018-07-04 Thread Reio Remma
, 2018 at 11:00 AM, Reio Remma wrote: On 04.07.2018 11:35, Teno Deuter wrote: here is what I have changed: accept from any \ for domain recipient ! \ virtual \ deliver to maildir "/var/mail/%{user.username}/Inbox" and I still get the error: invalid us

Re: Fwd: smtpd.conf configuration error (accept)

2018-07-04 Thread Reio Remma
On 04.07.2018 11:35, Teno Deuter wrote: here is what I have changed: accept from any \ for domain recipient ! \ virtual \ deliver to maildir "/var/mail/%{user.username}/Inbox" and I still get the error: invalid use of table "blacklistRecipients" as RECIPIENT

Re: Fwd: smtpd.conf configuration error (accept)

2018-07-03 Thread Reio Remma
On 04.07.2018 2:18, Teno Deuter wrote: here is the full 'accept' part I was trying to define in order to receive email from the outside: accept from any \ recipient ! \ for domain virtual \ deliver to maildir "/var/mail/%{user.username}/Inbox" so now I

Re: Fwd: smtpd.conf configuration error (accept)

2018-07-03 Thread Reio Remma
You need the domain match as well. accept from any for domain example.org recipient ! alias deliver to mbox That works on my test system. Reio On 04.07.2018 1:20, Teno Deuter wrote: just tried and gives a syntax error :( On Tue, Jul 3, 2018 at 11:59 PM, Reio Remma wrote: Did you try

Re: Fwd: smtpd.conf configuration error (accept)

2018-07-03 Thread Reio Remma
Did you try it with: accept from any*for* recipient ! Reio On 03.07.2018 21:04, Teno Deuter wrote: Thank you for your prompt reply but unfortunately this wasn't the problem :( I renamed to 'blacklistRecipients' and still get the same error message! On Tue, Jul 3, 2018 at 7:57 PM, Reio

Re: Dkim problems

2018-06-08 Thread Reio Remma
On 09.06.2018 2:39, flipchan wrote: Hello , im having troubles configuring dkim to sign msgs with opensmtpd, i can send emails with dkim it just loops it and breaks log: Jun 8 20:36:21 mail smtpd[63656]: 1488dfc121f5364b smtp event=connected address=myip host=myhost Jun 8 20:36:22 mail

Re: OpenSMTPD new config

2018-05-24 Thread Reio Remma
On 24.05.18 16:14, Reio Remma wrote: On 24.05.18 16:07, Gilles Chehade wrote: On Thu, May 24, 2018 at 04:01:32PM +0300, Reio Remma wrote: On 24.05.18 15:55, Gilles Chehade wrote: On Thu, May 24, 2018 at 03:53:14PM +0300, Reio Remma wrote: That's exactly the problem. Alias resolution wasn't

Re: OpenSMTPD new config

2018-05-24 Thread Reio Remma
On 24.05.18 16:07, Gilles Chehade wrote: On Thu, May 24, 2018 at 04:01:32PM +0300, Reio Remma wrote: On 24.05.18 15:55, Gilles Chehade wrote: On Thu, May 24, 2018 at 03:53:14PM +0300, Reio Remma wrote: That's exactly the problem. Alias resolution wasn't possible before with relay and I'm

Re: OpenSMTPD new config

2018-05-24 Thread Reio Remma
On 24.05.18 15:55, Gilles Chehade wrote: On Thu, May 24, 2018 at 03:53:14PM +0300, Reio Remma wrote: That's exactly the problem. Alias resolution wasn't possible before with relay and I'm wondering if it will be in the future. :) aliases resolution with relay will not be possible because

Re: OpenSMTPD new config

2018-05-24 Thread Reio Remma
That's exactly the problem. Alias resolution wasn't possible before with relay and I'm wondering if it will be in the future. :) Reio On 24.05.18 15:50, Gilles Chehade wrote: Anything the previous configuration allowed is still working. On Thu, May 24, 2018 at 03:48:02PM +0300, Reio Remma

Re: OpenSMTPD new config

2018-05-24 Thread Reio Remma
Wonderful! It's making me want to dabble with OpenBSD: :) I looked at the new man page, but it's not entirely clear to me if we'll be able to reject mail to non-existent users outright before relaying to spam checking etc. with the new syntax. Thanks! Reio On 21.05.18 19:52, Gilles Chehade

Re: How to text that TxRep is working?

2018-05-22 Thread Reio Remma
On 23.05.2018 6:01, Philip wrote: I've added TxRep to spamassassin and set in my local.cf. Following the instructions: http://truxoft.com/resources/txrep.htm # TXTREP use_txrep 1 Is there a way to test that it's actually working? Phil You should start getting TXREP=0.248 etc. in

Re: Rejecting mail from non-existent domains and otherwise.

2018-04-30 Thread Reio Remma
On 30.04.2018 20:55, Reio Remma wrote: Does OpenSMTPD have any kind of checking for incoming mail from non-existent domains? I recall our QMail setup rejecting such mails at the doorstep. I'm also curious if it will be possible (with the new dispatcher/rule system) to reject mails to non

Rejecting mail from non-existent domains and otherwise.

2018-04-30 Thread Reio Remma
Hello! Does OpenSMTPD have any kind of checking for incoming mail from non-existent domains? I recall our QMail setup rejecting such mails at the doorstep. I'm also curious if it will be possible (with the new dispatcher/rule system) to reject mails to non-existent users before any further

Re: Problem sending mail with Apple Mail

2018-04-10 Thread Reio Remma
Curious indeed, if Apple autoconfiguration would work properly on the submission port. Reio On 10.04.18 12:49, Nick Gyurov wrote: Hey Craig, Solved by additionally specifying port, TLS/SSL and password auth (check my previous mail). Worked on port 465 as well. Sent from my iPhone On 10

Re: AW: Greylist-like support

2018-04-07 Thread Reio Remma
filters can be found here https://github.com/OpenSMTPD/OpenSMTPD-extras/tree/751c7b6b56a13a2381485daf0f97dd7fc0da289e/extras/filters Best regards, Michael *Von: *Reio Remma <mailto:r...@mrstuudio.ee> *Gesendet: *Samstag, 7. April 2018 09:35 *An: *misc@opensmtpd.org <mailto:misc@open

Re: Greylist-like support

2018-04-07 Thread Reio Remma
On 07.04.2018 3:49, Christopher van de Sande wrote: Been managing my personal email on my own for a good 10 years now using Postfix, and recently I've come to learn about OpenSMTPD.  I've installed it on a test domain and am quite pleased with it. I'm thinking about switching over it for my

Re: Problem with OpenSMTPD/Amavisd and mails with multiple recipients.

2018-04-03 Thread Reio Remma
> On 2 Apr 2018, at 21:37, ed...@pettijohn-web.com wrote: > > >> 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 ju

Re: Problem with OpenSMTPD/Amavisd and mails with multiple recipients.

2018-04-02 Thread Reio Remma
ays 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

Re: Problem with OpenSMTPD/Amavisd and mails with multiple recipients.

2018-04-02 Thread Reio Remma
-message-size Seems odd that it would make it through to amavis without hitting the limit first. On Apr 2, 2018 8:08 AM, Reio Remma <r...@mrstuudio.ee> wrote: Hello all! Finally managed to upgrade our server from QMail to OpenSMTPD/Dovecot. After ironing out a few small kinks I'm stil

Problem with OpenSMTPD/Amavisd and mails with multiple recipients.

2018-04-02 Thread Reio Remma
Hello all! Finally managed to upgrade our server from QMail to OpenSMTPD/Dovecot. After ironing out a few small kinks I'm still left with a problem. Our mail comes in and is relayed to Amavisd port 10024, then back to OpenSMTPD port 10025. Everything works except when a mail comes in with

Re: OpenSMTPd PostgreSQL user authentication

2018-03-27 Thread Reio Remma
On 27.03.18 16:58, Denis wrote: query_alias SELECT CONCAT (alias, ' ', dest) AS alias FROM maildatabase WHERE alias=$1 query_domain SELECT domain FROM maildatabase WHERE domain=$1 query_credentials SELECT user, pass FROM maildatabase WHERE userid=$1 AND active=$1 query_userinfo SELECT CONCAT

Re: OpenSMTPd PostgreSQL user authentication

2018-03-27 Thread Reio Remma
, I can share it if it was necessary. --- What can be wrong? Denis -- Tervitades Reio Remma MR Stuudio 25 aastat *MR Stuudio OÜ* Tondi 17b, 11316, Tallinn Tel +372 650 4808 Mob +372 56 22 00 33 r...@mrstuudio.ee www.mrstuudio.ee

Re: stmtpd[] command="AUTH PLAIN (...)" result="535 Authentication failed"

2018-03-24 Thread Reio Remma
> On 24 Mar 2018, at 12:42, Denis wrote: > > I've just tried all the variants. > > user:password > user: password > user password > u...@domain.com password > u...@domain.com: password > u...@domain.com:password > > smtpd reject any auth attempt with the same error. > >

Re: "limit mta inet4" is ignored, smtpd fails to start

2018-03-18 Thread Reio Remma
Hello! I had a similar problem starting OpenSMTPD at boot in CentOS 7. Solved it by using *listen on 0.0.0.0* instead of *listen on eth0* Good luck, Reio On 18.03.2018 14:54, Richard wrote: On Sun, 18 Mar 2018, Harald Dunkel wrote: problem using opensmtpd 6.0.3 on Debian: I have set

Re: Userbase question.

2018-02-04 Thread Reio Remma
On 04.02.2018 22:21, Reio Remma wrote: The only reference I've found that tackles a similar problem: https://hugo.barrera.io/journal/2015/02/15/opensmtpd-dovecot-shared-sql-db/ Rather convoluted for a simple thing though. :) Reio On 04.02.2018 22:01, Reio Remma wrote: On 04.02.2018 21:56

Re: Userbase question.

2018-02-04 Thread Reio Remma
The only reference I've found that tackles a similar problem: https://hugo.barrera.io/journal/2015/02/15/opensmtpd-dovecot-shared-sql-db/ Rather convoluted for a simple thing though. :) Reio On 04.02.2018 22:01, Reio Remma wrote: On 04.02.2018 21:56, Reio Remma wrote: Hello

Re: Userbase question.

2018-02-04 Thread Reio Remma
On 04.02.2018 21:56, Reio Remma wrote: Hello! query_userinfo select 1001,1001,'/var/vmail/' from vusers where email=$1; I now realize you version doesn't return the actual user's virtual mail directory. But maybe it doesn't need to. I suspect Dovecot can handle .forward files as well

Re: Userbase question.

2018-02-04 Thread Reio Remma
line and see what you get. On 02/04/18 10:32, Reio Remma wrote: Current smtpd.conf below. As I understand userbase is the only way to let OpenSMTPD know where to look for table aliases  mysql:/etc/opensmtpd/mysql.conf table domains mysql:/etc/opensmtpd/mysql.conf table userinfo mysql:/etc

OpenSMTPD tool-stats extra.

2018-01-29 Thread Reio Remma
Hello! Just giving a heads up that tool-stats doesn't work on CentOS 7. [root@bwo reio]# cat /var/log/maillog | tool-stats Segmentation fault Good luck! Reio -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to:

Re: [OpenSMTPD] portable snapshot opensmtpd-201801101641p1 available

2018-01-19 Thread Reio Remma
On 20.01.2018 2:30, Edgar Pettijohn wrote: On 01/19/18 17:57, Reio Remma wrote: On 20.01.2018 1:22, Edgar Pettijohn wrote: On 01/19/18 14:56, Reio Remma wrote: Hello! There are some warnings when doing make check in CentOS 7 (not sure how serious the warnings are ( I'm averse to warnings

Re: [OpenSMTPD] portable snapshot opensmtpd-201801101641p1 available

2018-01-19 Thread Reio Remma
On 20.01.2018 1:22, Edgar Pettijohn wrote: On 01/19/18 14:56, Reio Remma wrote: Hello! There are some warnings when doing make check in CentOS 7 (not sure how serious the warnings are ( I'm averse to warnings)). Thanks! Reio

Re: [OpenSMTPD] portable snapshot opensmtpd-201801101641p1 available

2018-01-19 Thread Reio Remma
Hello! There are some warnings when doing make check in CentOS 7 (not sure how serious the warnings are ( I'm averse to warnings)). Thanks! Reio - gcc -DHAVE_CONFIG_H -I. -I.. 

Re: [OpenSMTPD] portable snapshot opensmtpd-201801101641p1 available

2018-01-14 Thread Reio Remma
Hello again! It seems I was missing libevent-devel - configure completed after installing that. Now, to do the same on my actual test machine. :) Thanks! Reio On 14.01.2018 19:18, Reio Remma wrote: Hello! I tried building on CentOS 7, but it failed the libcrypto check. checking for a BSD

Re: [OpenSMTPD] portable snapshot opensmtpd-201801101641p1 available

2018-01-14 Thread Reio Remma
Hello! I tried building on CentOS 7, but it failed the libcrypto check. checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets

SPF headers.

2017-12-30 Thread Reio Remma
Hello! Another day, another question. I'm running OpenSMTPD in CentOS 7 with amavisd-new and I'm wondering if anyone has managed to have their OpenSMTPD setup add the Received-SPF header? Even though it's not absolutely needed (because as I understand SpamAssassin does its own SPF check),

Re: Forward copy.

2017-12-24 Thread Reio Remma
On 24.12.2017 12:24, Reio Remma wrote: Hello all! I'm looking into moving from Qmail/vpopmail to OpenSMTPD/Dovecot and I cannot for the life of me figure out if/how it's possible to forward a copy for a user. Is it possible at all to forward to Dovecot LMTP via the .forward file? .forward

Forward copy.

2017-12-24 Thread Reio Remma
Hello all! I'm looking into moving from Qmail/vpopmail to OpenSMTPD/Dovecot and I cannot for the life of me figure out if/how it's possible to forward a copy for a user. Is it possible at all to forward to Dovecot LMTP via the .forward file? .forward r...@example.com "|something" Would I

<    1   2