Re: [Feature-request] (smtpd_)milter_exceptions

2016-10-21 Thread Christian Rößner
> Am 20.10.2016 um 14:11 schrieb Patrick Ben Koetter : > > * Wietse Venema : >> Christian Ro??ner: >>> Possible situation: Central SMTP-hub that gets connections from >>> MX-ins and internal servers, ... >> >> I have a simpler solution: separate those mail streams with separate >> MTA instances.

Re: From in Body mail

2016-10-21 Thread Ralph Seichter
On 21.10.2016 08:50, Paweł Grzesik wrote: > [user@mailtest ~]# telnet localhost 25 > [...] > mynetworks_style = host You're conducting your test from the machine Postfix is running on, which is a member of 'mynetworks'... > smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetwor

preserve recipient with catchall

2016-10-21 Thread Volker Cordes
Hello, I have a domain where all mail is stored in a single mailbox and then being fetched by a zarafa server via pop3. The zarafa server of course has to be able to deliver the mails to the correct users. So I tried adding X-Envelope-To via check_recipient_access which is working as long as there

Re: From in Body mail

2016-10-21 Thread /dev/rob0
On Thu, Oct 20, 2016 at 02:46:15PM +0100, Paweł Grzesik wrote: > I noticed that it's really easy to send an e-mail as a real user > by simply typing in the mail body: > > From: > > Is there any way to prevent from this? I checked that even when > we specify > MAIL FROM: > > and then in the bod

Problem with ldap failover

2016-10-21 Thread MichalZ
Hi, I have defined three ldap servers in the virtual_alias_maps lookup table, but failover seems doesn't work. When I shutdown first ldap server I get this error: warning: ldap:/etc/postfix-in/ldap-mail-groups.cf lookup error warning: dict_ldap_lookup: Search error -5: Timed out which is correc

Using Postfix to forward mail to external accounts

2016-10-21 Thread flemingp
As will be clear I am new to Postfix. I am setting up a server to run a Wordpress site which is currently hosted by a third party. I want to use postfix to handle forwarding of email to specific.users@domain of the website to a user@gmail account. I found an article to do this with some simple i

Re: Using Postfix to forward mail to external accounts

2016-10-21 Thread Ralph Seichter
On 21.10.16 14:23, flemingp wrote: > host mx1.krystal.co.uk[77.72.0.30] said: 550 Access denied - Invalid > HELO name (See RFC5321 4.1.1.1) (in reply to RCPT TO command) > [...] > myhostname = raspberrypi The server mx1.krystal.co.uk rejects your HELO. Use a fully qualified name in 'myhostname'.

Re: preserve recipient with catchall

2016-10-21 Thread Wietse Venema
Volker Cordes: > Hello, > > I have a domain where all mail is stored in a single mailbox and then > being fetched by a zarafa server via pop3. The zarafa server of course > has to be able to deliver the mails to the correct users. So I tried > adding X-Envelope-To via check_recipient_access which

Re: preserve recipient with catchall

2016-10-21 Thread Bill Cole
On 21 Oct 2016, at 6:57, Volker Cordes wrote: Hello, I have a domain where all mail is stored in a single mailbox and then being fetched by a zarafa server via pop3. The zarafa server of course has to be able to deliver the mails to the correct users. So I tried adding X-Envelope-To via check_r

Re: From in Body mail

2016-10-21 Thread Noel Jones
On 10/21/2016 1:50 AM, Paweł Grzesik wrote: > Hi Noel, > > This is how I'm doing it: > > [user@mailtest ~]# telnet localhost 25 > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > 220 mailtest.example.com ESMTP Postfix > HELO mailtest > 250

Re: From in Body mail

2016-10-21 Thread Paweł Grzesik
> DATA > 354 End data with . > From: j...@mailtest.example.com > To: pa...@mailtest.example.com > Subject: Testing SCAM > Text: ABC123 > . > 250 2.0.0 Ok: queued as 481D6C76B6 But I'm talking about this part. So here we have DA

Re: Postfix submission port closed

2016-10-21 Thread Davide Marchi
/dev/rob0 ha scritto: If you do encounter Postfix problems later, please see this link, which was given in the list welcome message, before posting again: http://www.postfix.org/DEBUG_README.html#mail Many thanks. Good bye -- cosmogoniA cosmogoniA n o p r o v a r

Re: From in Body mail

2016-10-21 Thread Ralph Seichter
On 21.10.16 17:41, Paweł Grzesik wrote: > So here we have DATA where I can type From:, To: and Subject: then > message and e-mail will go from the "From:" instead of the one from > the header "MAIL FROM:". No. Postfix - the MTA - uses the envelope sender address (which you can verify on the recei

How to limit max trying helo or ehlo times to mail server?

2016-10-21 Thread vod vos
Hi guys, When I reviewed the mail.log, it showed a IP was trying to test if relay was open or not. However, the times were too many. What is the max limited times of postfix defaultly defined? And how to modify it or how to set helo/ehlo restriction? Thanks. Here is the log:

Re: From in Body mail

2016-10-21 Thread Noel Jones
On 10/21/2016 10:41 AM, Paweł Grzesik wrote: >> DATA >> 354 End data with . >> From: j...@mailtest.example.com > > >> To: pa...@mailtest.example.com >

Re: How to limit max trying helo or ehlo times to mail server?

2016-10-21 Thread Wietse Venema
vod vos: > Hi guys, > > When I reviewed the mail.log, it showed a IP was trying to test > if relay was open or not. However, the times were too many. > > What is the max limited times of postfix defaultly defined? $ postconf | grep '^smtpd_client.*limit' WEietse

Re: How to limit max trying helo or ehlo times to mail server?

2016-10-21 Thread Noel Jones
On 10/21/2016 1:13 PM, vod vos wrote: > Hi guys, > > When I reviewed the mail.log, it showed a IP was trying to test if > relay was open or not. However, the times were too many. > > * > What is the max limited times of postfix defaultly defined? > See the STRESS_README document. http://w

Open relay

2016-10-21 Thread Paul van der Vlis
Hello, I have a big problem, someone is using my mailserver for sending spam. I see it in de logs. I can block the IP but then they use other IP's. So far I know my server is up-to-date and correct configured. And when I do some open relay tests, everything is OK. Like this ones: http://www.mailr

RE: Open relay

2016-10-21 Thread Fazzina, Angelo
So what is SASL using in Postfix ? Is Postfix calling SASL, which calls PAM, which calls LDAP, to check the Password? You must follow the trail of how they got the password if you say you changed it and it does not help. -ALF -Angelo Fazzina Operating Systems Programmer / Analyst University o

Re: Open relay

2016-10-21 Thread Paul van der Vlis
Hello Angelo and others, Op 21-10-16 om 22:24 schreef Fazzina, Angelo: > So what is SASL using in Postfix ? > Is Postfix calling SASL, which calls PAM, which calls LDAP, to check the > Password? Postfix is calling saslauthd, which calls PAM, which calls unix passwords. > You must follow the tra

Re: Problem with ldap failover

2016-10-21 Thread A. Schulze
Am 21.10.2016 um 13:49 schrieb MichalZ: > server_host = ldaps://ldap3.img.local:636 > ldaps://ldap2.img.local:636 > ldaps://ldap.img.local:636 did you check that every single server work without the others? try1: server_host = ldaps://ldap3.img.local:636 try2:

Re: Open relay

2016-10-21 Thread li...@lazygranch.com
On Fri, 21 Oct 2016 22:56:45 +0200 Paul van der Vlis wrote: > Hello Angelo and others, > > Op 21-10-16 om 22:24 schreef Fazzina, Angelo: > > So what is SASL using in Postfix ? > > Is Postfix calling SASL, which calls PAM, which calls LDAP, to > > check the Password? > > Postfix is calling sasla

Re: Open relay

2016-10-21 Thread Wietse Venema
Paul van der Vlis: > Received: from [127.0.0.1] (87-92-55-206.bb.dnainternet.fi [87.92.55.206]) > (Authenticated sender: p...@puk.nl) > by mail.vandervlis.nl (Postfix) with ESMTPSA id 774B23E0285; > Fri, 21 Oct 2016 18:57:14 +0200 (CEST) That is NOT RELAYING. That is receiv

Re: How to limit max trying helo or ehlo times to mail server?

2016-10-21 Thread vod vos
OK, I found http://www.postfix.org/postconf.5.html#smtpd_client_connection_count_limit The default value is 50. So it seems no need to modify anything after reading Noel Jones's analyzation. Thanks. On 星期五, 21 十月 2016 11:51:50 -0700Noel Jones wrote

Re: Open relay

2016-10-21 Thread Bill Cole
On 21 Oct 2016, at 16:15, Paul van der Vlis wrote: Hello, I have a big problem, someone is using my mailserver for sending spam. I see it in de logs. I can block the IP but then they use other IP's. So far I know my server is up-to-date and correct configured. And when I do some open relay

Re: Open relay

2016-10-21 Thread Tomoyuki Murakami
On Fri, 21 Oct 2016 22:15:32 +0200, Paul van der Vlis wrote: > Hello, > Some settings and logs: > > smtpd_relay_restrictions = > permit_mynetworks, > permit_sasl_authenticated, > check_sender_access hash:/etc/postfix/whitelist, > reject_invalid_hostname, > reject_non_fqdn_sender, >