Re: Would Postfix accept decimal values in main.cf?

2015-01-29 Thread Istvan Prosinger
Thanks. I was thinking in general. On 01/29/2015 05:34 PM, Noel Jones wrote: On 1/29/2015 10:24 AM, Istvan Prosinger wrote: Hello, As in the subject. Something like, maximal_queue_lifetime = 0.5d This was the first parameter that came to my mind, for example (don't look for sense). I was

Re: A strange problem when adding DSPAM to Postfix

2015-01-29 Thread Орхан Ибад-оглы Гасымов
I always intend to understand configs that I take from examples. The problem is, almost all examples describing master.cf say to put the string: -o content_filter=lmtp:unix:/var/run/dspam.sock under smtp inet n - n - - smtpd In my setup, if I do so, it

Re: A strange problem when adding DSPAM to Postfix

2015-01-29 Thread Noel Jones
The fix I provided is correct. If it doesn't work, then either you are editing the wrong postfix config or you have some additional problem. -- Noel Jones On 1/29/2015 10:19 AM, Орхан Ибад-оглы Гасымов wrote: That string does nothing when uncommented. Previously it was uncommented, but

Re: Would Postfix accept decimal values in main.cf?

2015-01-29 Thread Noel Jones
On 1/29/2015 10:24 AM, Istvan Prosinger wrote: Hello, As in the subject. Something like, maximal_queue_lifetime = 0.5d This was the first parameter that came to my mind, for example (don't look for sense). I was wondering if Postfix would accept vaules like this. Regards, Istvan

Re: A strange problem when adding DSPAM to Postfix

2015-01-29 Thread li...@rhsoft.net
Am 29.01.2015 um 17:52 schrieb Орхан Ибад-оглы Гасымов: But if my current way of applying a content filter is not correct, then with correct config like in examples: smtp inet n - n - - smtpd -o content_filter=lmtp:unix:/var/run/dspam.sock if you write it taht way it is completly wrong

Re: A strange problem when adding DSPAM to Postfix

2015-01-29 Thread Орхан Ибад-оглы Гасымов
In the configs I use all spacings properly (as you could see, if you had a glance at them). It's just my mail client deletes spaces if they are the first character of a string. Once again: the problem is that if I use this in master.cf: smtp inet n - n - - smtpd -o

Re: A strange problem when adding DSPAM to Postfix

2015-01-29 Thread Орхан Ибад-оглы Гасымов
Personally for me, it's an interesting situation: DSPAM works, but tags only local mail; other mail is delivered as if there's no content filter at all. Maybe something is wrong with my master.cf file? If anyone here used Postfix with DSPAM, please take a look at my Postfix configs, I'm stuck in

Re: A strange problem when adding DSPAM to Postfix

2015-01-29 Thread Орхан Ибад-оглы Гасымов
OK. 1. postconf -n: broken_sasl_auth_clients = yes command_directory = /usr/local/sbin config_directory = /usr/local/etc/postfix daemon_directory = /usr/local/libexec/postfix data_directory = /var/db/postfix debug_peer_level = 2 debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin

Re: A strange problem when adding DSPAM to Postfix

2015-01-29 Thread li...@rhsoft.net
please don't top-post and don't link to external ressources especially not ones require javascript * output of pstconf -n * master.cf * directly into the mail the whole sentence with unders smtp and not under smtps makes no sense Am 29.01.2015 um 11:25 schrieb Орхан Ибад-оглы Гасымов:

Re: A strange problem when adding DSPAM to Postfix

2015-01-29 Thread Noel Jones
On 1/29/2015 10:52 AM, Орхан Ибад-оглы Гасымов wrote: I always intend to understand configs that I take from examples. The problem is, almost all examples describing master.cf http://master.cf say to put the string: -o content_filter=lmtp:unix:/var/run/dspam.sock under smtp inet n

Re: Would Postfix accept decimal values in main.cf?

2015-01-29 Thread Wietse Venema
Istvan Prosinger: Hello, As in the subject. Something like, maximal_queue_lifetime = 0.5d It accepts the values as documented (this may take some getting used to). As Noel noted, times can be specified in seconds to weeks. Wietse This was the first parameter that came to my mind,

Re: A strange problem when adding DSPAM to Postfix

2015-01-29 Thread Орхан Ибад-оглы Гасымов
This message was really informative, thanks. Actually in my configs I use spaces where needed, it's just my mail client deletes spases if they are the first character of a sentence. I didn't find anything useful in DSPAM logs, but I'll take a second look at them tomorrow. The only thing I'd like

Re: A strange problem when adding DSPAM to Postfix

2015-01-29 Thread li...@rhsoft.net
Am 29.01.2015 um 19:03 schrieb Орхан Ибад-оглы Гасымов: This message was really informative, thanks. Actually in my configs I use spaces where needed, it's just my mail client deletes spases if they are the first character of a sentence. I didn't find anything useful in DSPAM logs, but I'll

Re: A strange problem when adding DSPAM to Postfix

2015-01-29 Thread Noel Jones
On 1/29/2015 7:32 AM, Орхан Ибад-оглы Гасымов wrote: 2. master.cf http://master.cf: # == # service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (100) #

Would Postfix accept decimal values in main.cf?

2015-01-29 Thread Istvan Prosinger
Hello, As in the subject. Something like, maximal_queue_lifetime = 0.5d This was the first parameter that came to my mind, for example (don't look for sense). I was wondering if Postfix would accept vaules like this. Regards, Istvan

Re: A strange problem when adding DSPAM to Postfix

2015-01-29 Thread Орхан Ибад-оглы Гасымов
That string does nothing when uncommented. Previously it was uncommented, but then DSPAM didn't tag headers at all. Then I copied that string under string starting with smtps (as you can see in master.cf), and DSPAM started to tag mails from local users, but not from outer domains. After that I

Re: Postfix SMTP mail is sent to SPAM

2015-01-29 Thread Nicolás
El 29/01/2015 a las 18:46, Aravindhan escribió: I have installed postfix mail server in ubuntu machine. I configured the mail server as well as DNS properly. Mails are sent from our mail server properly, but all the mails are listed in the spam folder(in Yahoo Outlook). It is listing properly

Re: Postfix SMTP mail is sent to SPAM

2015-01-29 Thread Noel Jones
On 1/29/2015 12:46 PM, Aravindhan wrote: I have installed postfix mail server in ubuntu machine. I configured the mail server as well as DNS properly. Mails are sent from our mail server properly, but all the mails are listed in the spam folder(in Yahoo Outlook). It is listing properly in

Postfix SMTP mail is sent to SPAM

2015-01-29 Thread Aravindhan
I have installed postfix mail server in ubuntu machine. I configured the mail server as well as DNS properly. Mails are sent from our mail server properly, but all the mails are listed in the spam folder(in Yahoo Outlook). It is listing properly in the inbox in Gmail. I have implemented the

What is my self-made TLS problem for Postfix to Postfix transport TLS not available due to local problem ?

2015-01-29 Thread srach
Bleh.  I think I am tired and making worse and worse mistakes.  May be I need to make a step away  for some time.  :-( I have made some change that I cannot find and have an error now I do not see or know the cause for. I made a Postfix instance for getting mail with Postscreen and recipient

Re: What is my self-made TLS problem for Postfix to Postfix transport TLS not available due to local problem ?

2015-01-29 Thread Patrick Ben Koetter
The problem is probaly in the lines above in your log. Have you tried to reload postfix (to get a clear offset in the log) and then telnet to 127.0.0.1? Send postconf -n and we will be able to help you. p@rick * srach hndls...@tutanota.de: Bleh.  I think I am tired and making worse and

Re: Re: What is my self-made TLS problem for Postfix to Postfix transport TLS not available due to local problem ?

2015-01-29 Thread srach
Hello Patrick 29. Jan 2015 19:37 by p...@sys4.de: The problem is probaly in the lines above in your log. Have you tried to reload postfix (to get a clear offset in the log) Yes many times. and then telnet to 127.0.0.1? Before I am complaining some more times I will first

Re: Postfix SMTP mail is sent to SPAM

2015-01-29 Thread Robert Schetterer
Am 29.01.2015 um 20:10 schrieb Noel Jones: On 1/29/2015 12:46 PM, Aravindhan wrote: I have installed postfix mail server in ubuntu machine. I configured the mail server as well as DNS properly. Mails are sent from our mail server properly, but all the mails are listed in the spam folder(in

Re: What is my self-made TLS problem for Postfix to Postfix transport TLS not available due to local problem ?

2015-01-29 Thread Wietse Venema
srach: Jan 29 19:01:08 srchsvr pf-in/smtp[11786]: AB1E08F422: to=srcht...@clientdomain.com, relay=127.0.0.1[127.0.0.1]:10026, delay=0.13, delays=0.11/0.01/0.02/0, dsn=4.7.0, status=deferred (TLS is required, but host 127.0.0.1[127.0.0.1] refused to start TLS: 454 4.7.0 TLS not available

Re: Re: Re: What is my self-made TLS problem for Postfix to Postfix transport TLS not available due to local problem ?

2015-01-29 Thread srach
With the testing by both telnet and openssl s_client I can see the TLS as the available option but I see too the None cipher. I am suspecting this though confusing. I will first read more on the testing with these tools and understanding the meaning of the logging reply for them.  I also see

Re: Re: Re: Re: Re: What is my self-made TLS problem for Postfix to Postfix transport TLS not available due to local problem ?

2015-01-29 Thread srach
Hello Wietse 29. Jan 2015 20:49 by wie...@porcupine.org: submission inet n - n - - smtpd -o syslog_name=postfix/submission ... smtps inet n - n - - smtpd -o syslog_name=postfix/smtps ... The same could be done with the

Re: Re: Re: Re: Re: Re: What is my self-made TLS problem for Postfix to Postfix transport TLS not available due to local problem ?

2015-01-29 Thread srach
Hello Wietse: 29. Jan 2015 21:02 by wie...@porcupine.org: Postfix could do this automatically, but it is too late for the upcoming stable release to make such a change. Only knowing the info is good for now! If it is some day done automatically then that I think would be usefull.

Re: Re: Re: Re: What is my self-made TLS problem for Postfix to Postfix transport TLS not available due to local problem ?

2015-01-29 Thread Wietse Venema
srach: I think it is strange in the Postfix log it is showing only the 'smtp' service name not the 'relay2' name.? It was some misdirection for me.? May be You could use the same trick as the submission and smtpd examples in master.cf: submission inet n - n - -

Re: Re: Re: Re: Re: What is my self-made TLS problem for Postfix to Postfix transport TLS not available due to local problem ?

2015-01-29 Thread Wietse Venema
srach: Hello Wietse 29. Jan 2015 20:49 by wie...@porcupine.org: submission inet n - n - - smtpd -o syslog_name=postfix/submission ... smtps inet n - n - - smtpd -o syslog_name=postfix/smtps ... The same

Re: Re: Re: Re: What is my self-made TLS problem for Postfix to Postfix transport TLS not available due to local problem ?

2015-01-29 Thread srach
It is like I said that I did this to myself.  I was looking under the wrong cup in the Shell Game! Yesterday I had a change to trasnport from 'pf-out' not over the open internet only over my private internet with a VPN.  I did this with reading a posting from another person. I changed the

maximal_queue_lifetime not honored

2015-01-29 Thread Charles Orth
We are seeing some issues with our bounce complex. This complex only handles bounces so if we can't deliver them, they are typically discarded. We are expecting mail to be removed after 30 minutes but we're queuing on the complex where some mails messages are around for 10+ hours. I am curious

Re: maximal_queue_lifetime not honored

2015-01-29 Thread Viktor Dukhovni
On Thu, Jan 29, 2015 at 06:25:28PM -0500, Charles Orth wrote: maximal_queue_lifetime = 30m And bounce_queue_lifetime is? -- Viktor.

Postfix 2.12 is now Postfix 3.0

2015-01-29 Thread Wietse Venema
As the subject says, Postfix has been renamed, and the next stable release will be Postfix 3.0. This is the result of a mostly-mechanical edit, with human inspection after mechanical checks. Wietse

How to detect the receiving of mail for sure from only that relay and then make action only in that case?

2015-01-29 Thread srach
I am working on making secure conditions on Postfix sending and receiving only relays. There are two Postfix servers in two locations. In the #1 location Postfix configuration is so that  1.  Send any mail out to any server on the internet with SMTP like always  2.  Relay some specifics mail

Re: Re: How to detect the receiving of mail for sure from only that relay and then make action only in that case?

2015-01-29 Thread Viktor Dukhovni
On Fri, Jan 30, 2015 at 05:27:59AM +, srach wrote: ?1. Know for sure that the relay mail comes from the #1 server.? A added header can be made fake so I look for a better way that is not possible to fake. Restrict access to the non-default port via TLS client certs or SASL. And I

Re: Re: How to detect the receiving of mail for sure from only that relay and then make action only in that case?

2015-01-29 Thread srach
Hello Viktor 30. Jan 2015 04:05 by postfix-us...@dukhovni.org: Save yourself a lot of complexity and use a different port for this on the destination system. You could use 587, for example. This automatically bypasses postscreen. So when it passes to #2 server the mail with relay I want

Re: How to detect the receiving of mail for sure from only that relay and then make action only in that case?

2015-01-29 Thread Viktor Dukhovni
On Fri, Jan 30, 2015 at 02:43:15AM +, srach wrote: I am working on making secure conditions on Postfix sending and receiving only relays. There are two Postfix servers in two locations. In the #1 location Postfix configuration is so that ?1.? Send any mail out to any server on the

Re: A strange problem when adding DSPAM to Postfix

2015-01-29 Thread Орхан Ибад-оглы Гасымов
When looking into Postfix messages in /var/log/maillog, I noticed that for every mail that I send between 2 mailboxes on my local server, Posfix creates messages. When I send a mail from outer server to my server, Posfix creates no messages at all (although with no DSPAM tags, mail is delivered).