Re: 3.0.0 compile failure when SASL is enabled but not TLS (proposed patch)

2015-02-13 Thread Viktor Dukhovni
On Sat, Feb 14, 2015 at 06:17:28AM +, Viktor Dukhovni wrote: > Proposed (fix some date typos in the HISTORY file first): No problem there. > Then make the reported use of the TLS context depend on #ifdef USE_TLS: Too hasty with the #ifdef bits on this one. Take 2: diff --git a/src/smtpd/s

Re: 3.0.0 compile failure when SASL is enabled but not TLS (proposed patch)

2015-02-13 Thread Viktor Dukhovni
On Sat, Feb 14, 2015 at 03:57:19PM +1100, Joshua Root wrote: > In the 3.0.0 release, line 4028 of src/smtpd/smtpd.c references > state->tls_context, but unlike other such references in this file, it is > not wrapped in an #ifdef USE_TLS. This causes compilation to fail when > building with SASL su

3.0.0 compile failure when SASL is enabled but not TLS

2015-02-13 Thread Joshua Root
In the 3.0.0 release, line 4028 of src/smtpd/smtpd.c references state->tls_context, but unlike other such references in this file, it is not wrapped in an #ifdef USE_TLS. This causes compilation to fail when building with SASL support but without TLS: smtpd.c:4028:13: error: no member named 'tls_c

Re: Message-Id header missing

2015-02-13 Thread li...@rhsoft.net
Am 14.02.2015 um 01:50 schrieb Benny Pedersen: On 13. feb. 2015 16.23.55 Gianluca Gargiulo wrote: can i tell to postfix forse add Message-Id header if is not present? to get a better help, postconf -n is needed, since no one have crystall balls here WTF would anybody need "postconf -n" out

Re: Local delivery continues after code 550

2015-02-13 Thread Wietse Venema
Wietse Venema: > Mats Luspa: > > 2015-02-13T23:41:33+02:00 outgoingmail-2 postfix/smtp[10214]: > > 61BDCBEF4: to=, > > relay=mail.telia.com[62.20.233.128]:25, delay=5.4, > > delays=0.19/0.01/0.15/5.1, dsn=4.3.0, status=deferred (bounce or trace > > service failure) > > Are you using SeLinu

Re: Message-Id header missing

2015-02-13 Thread Benny Pedersen
On 13. feb. 2015 16.23.55 Gianluca Gargiulo wrote: can i tell to postfix forse add Message-Id header if is not present? is it possible to post to maillists without html ? to get a better help, postconf -n is needed, since no one have crystall balls here

Re: Local delivery continues after code 550

2015-02-13 Thread Wietse Venema
Mats Luspa: > 2015-02-13T23:41:33+02:00 outgoingmail-2 postfix/smtp[10214]: > 61BDCBEF4: to=, > relay=mail.telia.com[62.20.233.128]:25, delay=5.4, > delays=0.19/0.01/0.15/5.1, dsn=4.3.0, status=deferred (bounce or trace > service failure) Are you using SeLinux? Try turning it off. I have

Re: Local delivery continues after code 550

2015-02-13 Thread Mats Luspa
Hello! Ok, here comes the info. I hope it will be useful: ---postconf -n- alias_database = alias_maps = append_dot_mydomain = yes biff = no broken_sasl_auth_clients = yes config_directory = /etc/postfix debugger_command = PATH=/bin:/usr/bin:/usr/lo

Re: Local delivery continues after code 550

2015-02-13 Thread Patrick Ben Koetter
Mats, show config and log as requested and tell your goal(s) and you will be helped. No config and log - no help. p@rick * Mats Luspa : > Hello! > > Thanks for the reply. > > I've now looked at the log files and I think this problem has been > from beginning of this server because I started

Re: Local delivery continues after code 550

2015-02-13 Thread Wietse Venema
Mats Luspa: > > Thanks for the reply. > > I've now looked at the log files and I think this problem has been > from beginning of this server because I started it a few days ago. > Everything work fine when I send to addresses that exists. The problem > is that when I send to addresses that do

Re: Local delivery continues after code 550

2015-02-13 Thread Mats Luspa
Hello! Thanks for the reply. I've now looked at the log files and I think this problem has been from beginning of this server because I started it a few days ago. Everything work fine when I send to addresses that exists. The problem is that when I send to addresses that don't exists the bou

Re: Local delivery continues after code 550

2015-02-13 Thread Wietse Venema
Mats Luspa: > Hello again! > > This is very strange. When I automatically trace the bounce process > according to the documentation here: > http://www.postfix.org/DEBUG_README.html#logging it works with the > bouncing. > The log file says: I wrote most of Postfix, and I will speak in simple

Re: Local delivery continues after code 550

2015-02-13 Thread Mats Luspa
Hello again! This is very strange. When I automatically trace the bounce process according to the documentation here: http://www.postfix.org/DEBUG_README.html#logging it works with the bouncing. The log file says: 2015-02-13T21:27:48+02:00 outgoingmail-2 postfix/smtp[9408]: E430FBE20: to

Re: Haproxy+Postfix

2015-02-13 Thread Fabio S. Schmidt
Hi Wietse, Thanks for the prompt answer. It solves my query. Best regards. Em 13/02/2015 16:02, "Wietse Venema" escreveu: > Fabio S. Schmidt: > > Hi, > > > > We are considering to use HAPROXY with Postfix, in this scenario, the > > client IP is kept or the SMTP server will always receive the HA

Re: Haproxy+Postfix

2015-02-13 Thread Wietse Venema
Fabio S. Schmidt: > Hi, > > We are considering to use HAPROXY with Postfix, in this scenario, the > client IP is kept or the SMTP server will always receive the HAPROXY > server IP? haproxy sends session information to the server including the IP protocol, server and client IP addresses and ports

Haproxy+Postfix

2015-02-13 Thread Fabio S. Schmidt
Hi, We are considering to use HAPROXY with Postfix, in this scenario, the client IP is kept or the SMTP server will always receive the HAPROXY server IP? -- My best regards, Fabio Soares Schmidt Linux Professional Institute - LPIC-3 Microsoft Certified Technology Specialist: Active Directory

Re: Local delivery continues after code 550

2015-02-13 Thread Viktor Dukhovni
On Fri, Feb 13, 2015 at 05:35:34PM +0100, Mats Luspa wrote: > 2015-02-13T16:31:52+02:00 outgoingmail-2 postfix/smtp[7438]: > EF63DBD1E: to=, > relay=mail.telia.com[62.20.233.128]:25, delay=5.4, > delays=0.01/0.01/0.31/5.1, dsn=4.3.0, status=deferred (bounce or trace > service failure)

Re: Local delivery continues after code 550

2015-02-13 Thread Mats Luspa
Hello! Thank you for your advice. However it still not works. In this link https://moln.irf.se/owncloud/public.php?service=files&t=a998ef1f04eee014ad3de67a83b4d45b I have the conf-parameters that I set and below there is some text from the log-file where you can see that it ends in the deferred

Re: Message-Id header missing

2015-02-13 Thread Gianluca Gargiulo
thank a lot Ediconsul Informatica S.r.l. System Administrator Gianluca Gargiulo e-mail: ggargi...@ediconsul.it Tel: 081.3176326 | Fax: 081.3415110 Avvertenze ai sensi del D.lgs. 196/2003 Tutte le informazioni contenute nella presente e-mail sono riservate esclusivamente al de

Re: sender_dependent_default_transport_maps and relayhost

2015-02-13 Thread Viktor Dukhovni
On Fri, Feb 13, 2015 at 04:56:49PM +0100, Robert Dahlem wrote: > >> /etc/postfix/sender_dependent_transport: > >> > >> @example.tld smtp_example: > > > > Set the relayhost above (smtp_example:[example_server1]) > > That works now, thank you! >

Re: sender_dependent_default_transport_maps and relayhost

2015-02-13 Thread Robert Dahlem
Hi Viktor, On 13.02.2015 16:49, Viktor Dukhovni wrote: >> I got this domain example.tld for which I need to relay all mail FROM >> this domain through a specific mail server. For this I tried to deploy >> sender_dependent_default_transport_maps. > > The "relayhost" parameter is used by trivial-r

Re: Message-Id header missing

2015-02-13 Thread Wietse Venema
Gianluca Gargiulo: > > Hi, > > can i tell to postfix forse add Message-Id header if is not present? This header is not required by the Internet email standard, therefore Postfix does not add it by default. See: http://www.postfix.org/postconf.5.html#always_add_missing_headers and links in tha

Re: sender_dependent_default_transport_maps and relayhost

2015-02-13 Thread Viktor Dukhovni
On Fri, Feb 13, 2015 at 04:39:20PM +0100, Robert Dahlem wrote: > I got this domain example.tld for which I need to relay all mail FROM > this domain through a specific mail server. For this I tried to deploy > sender_dependent_default_transport_maps. The "relayhost" parameter is used by trivial-r

Re: Message-Id header missing

2015-02-13 Thread li...@rhsoft.net
Am 13.02.2015 um 16:23 schrieb Gianluca Gargiulo: can i tell to postfix forse add Message-Id header if is not present? you need to adjust "local_header_rewrite_clients" to your environment local_header_rewrite_clients = permit_mynetworks always_add_missing_headers = yes

sender_dependent_default_transport_maps and relayhost

2015-02-13 Thread Robert Dahlem
Hi, I got this domain example.tld for which I need to relay all mail FROM this domain through a specific mail server. For this I tried to deploy sender_dependent_default_transport_maps. main.cf: default_transport = smtp mydomain = example.info relay_domains = $myhostname, localho

Re: Overriding virtual_alias_maps in master.cf

2015-02-13 Thread Viktor Dukhovni
On Fri, Feb 13, 2015 at 07:22:19AM -0500, Wietse Venema wrote: > Andre Dalle: > > Hey all, > > > > > >Is it supported to override virtual_alias_maps in master.cf; > >rather than using receive_override_options to disable all address > >rewriting? > > The two approaches solve differen

Message-Id header missing

2015-02-13 Thread Gianluca Gargiulo
Hi, can i tell to postfix forse add Message-Id header if is not present? Thanks Ediconsul Informatica S.r.l. System Administrator Gianluca Gargiulo e-mail: ggargi...@ediconsul.it Tel: 081.3176326 | Fax: 081.3415110 Avvertenze ai sensi del D.lgs. 196/2003 Tutte le informaz

Re: Local delivery continues after code 550

2015-02-13 Thread Viktor Dukhovni
On Fri, Feb 13, 2015 at 03:50:14PM +0100, Mats Luspa wrote: > I'm using the transport_maps-option and have no value on relayhost. > The transport-map has the following information: > > irf.sesmtp:[mail.irf.se]:X > * smtp: It generally makes more sense to simply set mydes

Re: Local delivery continues after code 550

2015-02-13 Thread li...@rhsoft.net
Am 13.02.2015 um 15:50 schrieb Mats Luspa: I have configured an outgoing server that relays one domain to a smtp-host and the rest of the addresses to the internet. I'm using the transport_maps-option and have no value on relayhost. The transport-map has the following information: irf.sesm

Local delivery continues after code 550

2015-02-13 Thread Mats Luspa
Hello! I have configured an outgoing server that relays one domain to a smtp-host and the rest of the addresses to the internet. I'm using the transport_maps-option and have no value on relayhost. The transport-map has the following information: irf.sesmtp:[mail.irf.se]:X * smtp

Re: Overriding virtual_alias_maps in master.cf

2015-02-13 Thread Wietse Venema
Andre Dalle: > Hey all, > > >Is it supported to override virtual_alias_maps in master.cf; >rather than using receive_override_options to disable all address >rewriting? The two approaches solve different problems. Keep in mind that - virtual-alias expansion is implemented in the cl