Authentication attempts for x...@com.au addresses

2019-04-01 Thread James Brown
Not sure if this is a Dovecot or Postfix issue we use Dovecot for authentication for Postfix. Mailboxes are stored in MySQL. Have noticed this today: auth-worker(42777): Info: sql(cont...@com.au,127.0.0.1): unknown user (given password: someone123) Also i...@com.au etc. They are coming throug

Remove user agent information in the email header

2019-04-01 Thread André Rodier
Hello, I would like to delete automatically User-Agent or X-Mailer information in the headers of outgoing emails. I have tried the header_checks, and it works, but with all emails, even those received. Can you tell me how to proceed, please? Thanks, André -- André Rodier HomeBox: https://gith

nfs as storage for mail queue

2019-04-01 Thread De Petter Mattheas
Hello Can somebody help me? So I have setup the nfs share on a windows server 2016 with nfs server role. Security is set on the device ip of the postfix server read-write with allow root access. In the main conf of postfix I have set the queue to the right dir queue_directory = /mnt/mail fst

Re: Ubuntu 18.04 /etc/aliases

2019-04-01 Thread 황병희
> For Debian and derivatives like Ubuntu, yes. Thanks for confirmation!!! Sincerely, Byung-Hee from South Korea. -- ^고맙습니다 _地平天成_ 감사합니다_^))//

Re: Ubuntu 18.04 /etc/aliases

2019-04-01 Thread Scott Kitterman
On Tuesday, April 02, 2019 12:38:45 PM 황병희 wrote: > i just did install postfix in Ubuntu 18.04 by `sudo apt-get install > postfix'. then just did type `cat /etc/aliases'. > #+BEGIN_SRC: text > (bionic)soyeomul@localhost:~$ cat /etc/aliases > # See man 5 aliases for format > postmaster:root > #+

Ubuntu 18.04 /etc/aliases

2019-04-01 Thread 황병희
i just did install postfix in Ubuntu 18.04 by `sudo apt-get install postfix'. then just did type `cat /etc/aliases'. #+BEGIN_SRC: text (bionic)soyeomul@localhost:~$ cat /etc/aliases # See man 5 aliases for format postmaster:root #+END_SRC by the way there is no MAILER-DAEMON thing. is that nor

Re: Postfix and dovecot High avaliability

2019-04-01 Thread luckydog xf
Thank you all, guys. On Mon, Apr 1, 2019 at 2:35 PM Ángel L. Mateo wrote: > El 30/3/19 a las 22:42, Andrew Evdokimov escribió: > > > >> 3. Anyway to store email attachment only once? i.e. someone sends an > >> email with an attachment, and this email could be forwarded to another > >> recipients

RE: Alias and local delivery issues (Edited)

2019-04-01 Thread Randall R. Sargent
Thanks! That worked! -Original Message- From: owner-postfix-us...@postfix.org On Behalf Of Viktor Dukhovni Sent: Monday, April 1, 2019 12:46 PM To: postfix-users@postfix.org Subject: Re: Alias and local delivery issues (Edited) On Mon, Apr 01, 2019 at 05:22:08PM +, Randall R. Sargen

Re: New SASL error when relaying through gmail

2019-04-01 Thread Viktor Dukhovni
> On Apr 1, 2019, at 3:17 PM, John Beranek wrote: > > Also, I got confused between Wietse and Viktor's solutions! Well, Wietse implemented the SMTP reply filter, and I implemented the SASL mechanism filter, so, not surprisingly, each of us just happened to recall the feature that he personally b

Re: How to use the new server TLS SNI feature (3.4.x)

2019-04-01 Thread Viktor Dukhovni
On Mon, Apr 01, 2019 at 10:09:13PM +0300, Andrei Kovacs wrote: > Thank you for your explanation, I've been able to configure the SNI > functionality. Just one issue is left, but that's maybe for a further > improvement of postfix: it would be nice if there were a "catch-all" entry > in the SNI map

Re: New SASL error when relaying through gmail

2019-04-01 Thread John Beranek
On Mon, 1 Apr 2019 at 20:04, Noel Jones wrote: > > On 4/1/2019 2:01 PM, John Beranek wrote: > > On Mon, 1 Apr 2019 at 19:55, John Beranek wrote: > >> > >> On Mon, 1 Apr 2019 at 19:47, John Beranek wrote: > >>> > >>> Apologies for resurrecting a somewhat old thread, but presumably the > >>> smtp_rep

Re: How to use the new server TLS SNI feature (3.4.x)

2019-04-01 Thread Andrei Kovacs
Hi Viktor, Thank you for your explanation, I've been able to configure the SNI functionality. Just one issue is left, but that's maybe for a further improvement of postfix: it would be nice if there were a "catch-all" entry in the SNI map table, like '* /path/to/cert.pem" or 'default /path/to/cert

Re: New SASL error when relaying through gmail

2019-04-01 Thread Noel Jones
On 4/1/2019 2:01 PM, John Beranek wrote: On Mon, 1 Apr 2019 at 19:55, John Beranek wrote: On Mon, 1 Apr 2019 at 19:47, John Beranek wrote: Apologies for resurrecting a somewhat old thread, but presumably the smtp_reply_filter fix won't work if smtp.gmail.com is now responding like: By the w

Re: New SASL error when relaying through gmail

2019-04-01 Thread John Beranek
On Mon, 1 Apr 2019 at 19:55, John Beranek wrote: > > On Mon, 1 Apr 2019 at 19:47, John Beranek wrote: > > > > Apologies for resurrecting a somewhat old thread, but presumably the > > smtp_reply_filter fix won't work if smtp.gmail.com is now responding like: > > By the way, I found this thread as I

Re: New SASL error when relaying through gmail

2019-04-01 Thread John Beranek
On Mon, 1 Apr 2019 at 19:47, John Beranek wrote: > > Apologies for resurrecting a somewhat old thread, but presumably the > smtp_reply_filter fix won't work if smtp.gmail.com is now responding like: By the way, I found this thread as I started having the same issue. I found that Wietse's "smtp_sas

Re: New SASL error when relaying through gmail

2019-04-01 Thread John Beranek
Apologies for resurrecting a somewhat old thread, but presumably the smtp_reply_filter fix won't work if smtp.gmail.com is now responding like: $ telnet smtp.gmail.com 587 Trying 108.177.15.108... Connected to smtp.gmail.com. Escape character is '^]'. 220 smtp.gmail.com ESMTP b134sm26404242wmd.26

Re: How to use the new server TLS SNI feature (3.4.x)

2019-04-01 Thread Wietse Venema
Viktor Dukhovni: > On Mon, Apr 01, 2019 at 10:38:49AM -0400, Viktor Dukhovni wrote: > > > On Mon, Apr 01, 2019 at 02:09:25PM +0300, Andrei Kovacs wrote: > > > > > So, if I understand correctly, the configuration for the SNI file if it is > > > in hash format should be: > > > > > > domain1.com st

Re: Postfix 3.4.4 compile problems on Solaris 11

2019-04-01 Thread Wietse Venema
Wietse Venema: > > unix_dgram_connect.c: In function 'unix_dgram_connect': > > unix_dgram_connect.c:63:24: error: expected identifier or '(' before > > numeric constant > > struct sockaddr_un sun; > > ^ > > Any idea why identical code in src/util/unix_listen.c compi

Re: Alias and local delivery issues (Edited)

2019-04-01 Thread Viktor Dukhovni
On Mon, Apr 01, 2019 at 05:22:08PM +, Randall R. Sargent wrote: > I have an alias system that I need to deliver some mail via relay, and > some locally for PAM accounts. The local PAM accounts are not in the aliases > file and their mail is delivered successfully via dovecot-lda > (mailbox_com

Alias and local delivery issues (Edited)

2019-04-01 Thread Randall R. Sargent
Hello, I have an alias system that I need to deliver some mail via relay, and some locally for PAM accounts. The local PAM accounts are not in the aliases file and their mail is delivered successfully via dovecot-lda (mailbox_command = /usr/libexec/dovecot/dovecot-lda -f "$SENDER" -a "$RECIPIEN

Alias and local delivery issues

2019-04-01 Thread Randall R. Sargent
Hello, I have an alias system that I need to deliver some mail via relay, and some locally for PAM accounts. The local PAM accounts are not in the aliases file and their mail is delivered successfully via dovecot-lda (mailbox_command = /usr/libexec/dovecot/dovecot-lda -f "$SENDER" -a "$RECIPIEN

Re: Postfix 3.4.4 compile problems on Solaris 11

2019-04-01 Thread Thomas Wagner
oh, right. reading your reply, I re-discovered my local fix I use for the SFE packaging project: == #fix unlucky selection of name for struct (introduced in some 3.4.x version) grep "struct sockaddr_un sun;" src/util/unix_dgram_connect.c \ && gsed -i.bak_undef_sun -e '/struct sockaddr_un sun;/

Re: How to use the new server TLS SNI feature (3.4.x)

2019-04-01 Thread Viktor Dukhovni
On Mon, Apr 01, 2019 at 10:38:49AM -0400, Viktor Dukhovni wrote: > On Mon, Apr 01, 2019 at 02:09:25PM +0300, Andrei Kovacs wrote: > > > So, if I understand correctly, the configuration for the SNI file if it is > > in hash format should be: > > > > domain1.com static:/path/to/pem1.pem > > domain

Re: Postfix 3.4.4 compile problems on Solaris 11

2019-04-01 Thread Andrew Evdokimov
On 01/04/2019 14:14, Wietse Venema wrote: unix_dgram_connect.c: In function 'unix_dgram_connect': unix_dgram_connect.c:63:24: error: expected identifier or '(' before numeric constant struct sockaddr_un sun; ^ Any idea why identical code in src/util/unix_listen.

Re: Postfix 3.4.4 compile problems on Solaris 11

2019-04-01 Thread Wietse Venema
Viktor Dukhovni: > > On Apr 1, 2019, at 5:04 AM, Jaco Lesch wrote: > > > > unix_dgram_connect.c:63:24: error: expected identifier or ?(? before > > numeric constant > > struct sockaddr_un sun; > > Takes me back to my roots working with SunOS 3.x. Ever since, I've > kept away from sin, by

Re: Postfix 3.4.4 compile problems on Solaris 11

2019-04-01 Thread Viktor Dukhovni
> On Apr 1, 2019, at 5:04 AM, Jaco Lesch wrote: > > unix_dgram_connect.c:63:24: error: expected identifier or ‘(’ before numeric > constant > struct sockaddr_un sun; Takes me back to my roots working with SunOS 3.x. Ever since, I've kept away from sin, by naming unix-domain sockaddrs "s_u

Re: How to use the new server TLS SNI feature (3.4.x)

2019-04-01 Thread Viktor Dukhovni
On Mon, Apr 01, 2019 at 02:09:25PM +0300, Andrei Kovacs wrote: > So, if I understand correctly, the configuration for the SNI file if it is > in hash format should be: > > domain1.com static:/path/to/pem1.pem > domain2.com static:/path/to/pem2.pem That makes no sense. You're putting tables insi

Re: Is the limitation on password text in a file for smtp_sasl_password_maps

2019-04-01 Thread Vladimir Lomov
Hello, ** Wietse Venema [2019-03-29 10:06:14 -0400]: > Vladimir Lomov: >> Hello, >> >> I faced with strange problem with my postfix configuration. I use the >> postfix as SMTP client to send emails from my host. Recently I >> changed the password on external email-server, updated file that >> st

Re: Postfix 3.4.4 compile problems on Solaris 11

2019-04-01 Thread Wietse Venema
> unix_dgram_connect.c: In function 'unix_dgram_connect': > unix_dgram_connect.c:63:24: error: expected identifier or '(' before > numeric constant > struct sockaddr_un sun; > ^ Any idea why identical code in src/util/unix_listen.c compiles without error? unix_dgr

Re: How to use the new server TLS SNI feature (3.4.x)

2019-04-01 Thread Andrei Kovacs
So, if I understand correctly, the configuration for the SNI file if it is in hash format should be: domain1.com static:/path/to/pem1.pem domain2.com static:/path/to/pem2.pem Is it correct? And if so, the pem1.pem and pem2.pem files should contain in the exact order the PEMs for Private Key, Cert

Postfix stable release 3.4.5 and legacy releases 3.3.4, 3.2.9, 3.1.12

2019-04-01 Thread Wietse Venema
[An on-line version of this announcement will be available at http://www.postfix.org/announcements/postfix-3.4.5.html] This update fixes 5+ year old bugs, and provides a Postfix 3.4 fix for sites that depend on undocumented behavior. Changes for all supported stable releases: * Starting with P

Postfix 3.4.4 compile problems on Solaris 11

2019-04-01 Thread Jaco Lesch
Guys Attempting to compile Postfix 3.4.4 on Solaris 11 with GCC 7.3.0, but I am getting the following error when running "make makefiles": gcc -I. -I../../include -DNO_NISPLUS -Dstrcasecmp=fix_s