Re: spamtrap

2010-12-29 Thread K bharathan
On Wed, Dec 29, 2010 at 8:35 PM, mouss wrote: > Le 29/12/2010 16:07, Jeroen Geilman a écrit : > > On 12/29/10 10:55 AM, K bharathan wrote: > >> hi all > >> how can i get (trap) spam messages recd by my mail users or users can > >> send to a particular email-id the messages that they consider spam

Re: extra headers via amavis

2010-12-29 Thread mouss
Le 29/12/2010 23:42, Phil Howard a écrit : > [snip] > > It's not about preserving it, per se, but instead, it's about > detecting any attempts along those lines. It's a test I'd rather do > before amavis gets the mail. But that's also a larger project I'd > prefer to avoid. It's a fallback opti

Re: extra headers via amavis

2010-12-29 Thread Phil Howard
On Wed, Dec 29, 2010 at 17:21, Victor Duchovni wrote: > On Wed, Dec 29, 2010 at 05:01:59PM -0500, Phil Howard wrote: > >> Received: from localhost (localhost [127.0.0.1]) by >>   my.mail.server (Postfix) with ESMTP id XX for >>   ; Wed, 29 Dec 2010 09:23:27 -0500 (EST) > > This is added lo

Re: extra headers via amavis

2010-12-29 Thread Victor Duchovni
On Wed, Dec 29, 2010 at 05:01:59PM -0500, Phil Howard wrote: > Received: from localhost (localhost [127.0.0.1]) by > my.mail.server (Postfix) with ESMTP id XX for > ; Wed, 29 Dec 2010 09:23:27 -0500 (EST) This is added locally, and is reasonably removed, if that's what you want. > Re

Re: extra headers via amavis

2010-12-29 Thread Phil Howard
On Wed, Dec 29, 2010 at 16:35, Victor Duchovni wrote: > On Wed, Dec 29, 2010 at 04:29:51PM -0500, Phil Howard wrote: > >> OK, sot it will apply to all headers after the instant one is added. >> Now the issue remains how to match the one just added and not others >> that existed before it ... even

Re: extra headers via amavis

2010-12-29 Thread mouss
Le 29/12/2010 22:29, Phil Howard a écrit : > On Wed, Dec 29, 2010 at 15:43, Victor Duchovni > wrote: >> On Wed, Dec 29, 2010 at 03:33:43PM -0500, Phil Howard wrote: >> >>> As I understand header_checks, it removes only what is already in the >>> message. >> >> The header_checks(5) code is implemen

Re: extra headers via amavis

2010-12-29 Thread Victor Duchovni
On Wed, Dec 29, 2010 at 04:29:51PM -0500, Phil Howard wrote: > OK, sot it will apply to all headers after the instant one is added. > Now the issue remains how to match the one just added and not others > that existed before it ... even if those look exactly the same. They don't look *exactly* th

Re: extra headers via amavis

2010-12-29 Thread Phil Howard
On Wed, Dec 29, 2010 at 15:43, Victor Duchovni wrote: > On Wed, Dec 29, 2010 at 03:33:43PM -0500, Phil Howard wrote: > >> As I understand header_checks, it removes only what is already in the >> message. > > The header_checks(5) code is implemented by cleanup(8) which processes > the message passe

Re: postscreen STARTTLS support

2010-12-29 Thread Patrick Ben Koetter
* Victor Duchovni : > On Wed, Dec 29, 2010 at 10:08:15PM +0100, Patrick Ben Koetter wrote: > > > > > In mobile networks, yes. And email usage is rising again, since mobile > > > > users > > > > found out the can cram more words in a mail than in a SMS. > > > > > > Do these providers combine the

Re: postscreen STARTTLS support

2010-12-29 Thread Victor Duchovni
On Wed, Dec 29, 2010 at 10:08:15PM +0100, Patrick Ben Koetter wrote: > > > In mobile networks, yes. And email usage is rising again, since mobile > > > users > > > found out the can cram more words in a mail than in a SMS. > > > > Do these providers combine the port 25 MX host with the port 25 >

Re: postscreen STARTTLS support

2010-12-29 Thread Patrick Ben Koetter
* Victor Duchovni : > On Wed, Dec 29, 2010 at 09:46:25PM +0100, Patrick Ben Koetter wrote: > > > > The problem is very likely just ISP MUAs. Which ISPs still make money on > > > emai users? It seems that Gmail and the other 800lb free-email gorillas > > > have largely taken over the consumer email

Re: postscreen STARTTLS support

2010-12-29 Thread Victor Duchovni
On Wed, Dec 29, 2010 at 09:46:25PM +0100, Patrick Ben Koetter wrote: > > The problem is very likely just ISP MUAs. Which ISPs still make money on > > emai users? It seems that Gmail and the other 800lb free-email gorillas > > have largely taken over the consumer email market. Is there in fact > >

Re: extra headers via amavis

2010-12-29 Thread Noel Jones
On 12/29/2010 2:33 PM, Phil Howard wrote: On Wed, Dec 29, 2010 at 12:38, Noel Jones wrote: In postfix, you can use a header_checks IGNORE rule to remove unwanted headers. Be careful that your rule only matches the exact header you want to remove. As I understand header_checks, it removes on

Re: postscreen STARTTLS support

2010-12-29 Thread Patrick Ben Koetter
* Victor Duchovni : > On Wed, Dec 29, 2010 at 09:11:41PM +0100, Patrick Ben Koetter wrote: > > > > Perhaps we can encourage better hygiene, by not offering AUTH in > > > postscreen. People who want AUTH and postscreen, can migrate their AUTH > > > users to port 587? Or is this still too much to as

Re: extra headers via amavis

2010-12-29 Thread Victor Duchovni
On Wed, Dec 29, 2010 at 03:33:43PM -0500, Phil Howard wrote: > As I understand header_checks, it removes only what is already in the > message. The header_checks(5) code is implemented by cleanup(8) which processes the message passed to it by smtpd(8). The "Received" header that records the origi

Re: extra headers via amavis

2010-12-29 Thread mouss
Le 29/12/2010 21:33, Phil Howard a écrit : > On Wed, Dec 29, 2010 at 12:38, Noel Jones wrote: > >> In postfix, you can use a header_checks IGNORE rule to remove unwanted >> headers. Be careful that your rule only matches the exact header you want >> to remove. > > As I understand header_checks,

Re: extra headers via amavis

2010-12-29 Thread Phil Howard
On Wed, Dec 29, 2010 at 12:38, Noel Jones wrote: > In postfix, you can use a header_checks IGNORE rule to remove unwanted > headers.  Be careful that your rule only matches the exact header you want > to remove. As I understand header_checks, it removes only what is already in the message. When

Re: postscreen STARTTLS support

2010-12-29 Thread Victor Duchovni
On Wed, Dec 29, 2010 at 09:11:41PM +0100, Patrick Ben Koetter wrote: > > Perhaps we can encourage better hygiene, by not offering AUTH in > > postscreen. People who want AUTH and postscreen, can migrate their AUTH > > users to port 587? Or is this still too much to ask of potential Postfix > > use

Re: extra headers via amavis

2010-12-29 Thread Patrick Ben Koetter
* Noel Jones : > On 12/29/2010 10:12 AM, Phil Howard wrote: > >I'm sending mail out through amavis for spam checking, and back in, > >again. There are extra "Received:" headers being added. Is there a > >way to either remove these, or customize them to "X-Received:" or > >something? Amavis adds

Re: postscreen STARTTLS support

2010-12-29 Thread Patrick Ben Koetter
* Victor Duchovni : > On Tue, Dec 28, 2010 at 09:23:14PM -0500, Wietse Venema wrote: > > > I have built an event-driven TLS proxy for postscreen(8). This > > addresses the problem that postscreen(8) could not be used when > > SMTP clients require STARTTLS support. > > > > [...] > > > > Next on

Re: Spam filter not working with mailalias

2010-12-29 Thread mouss
Le 29/12/2010 20:18, Philip Van Pelt a écrit : > mouss schreef op wo 29-12-2010 om 20:01 [+0100]: >> Let me ask my question more precisely: is the _string_ after the '@' >> sign the same for both addresses? please note that I am not talking >> about delivery or virtual things. just the string. > >

Re: postscreen STARTTLS support

2010-12-29 Thread Victor Duchovni
On Wed, Dec 29, 2010 at 02:45:39PM -0500, Wietse Venema wrote: > > So, unlike the TLS proxy, the AUTH proxy (as e.g. the Cyrus saslauthd > > service) may need to be a forking multi-process service. > > As long as the postscreen side is event-driven, some latency in > AUTH support is not a problem

Re: postscreen STARTTLS support

2010-12-29 Thread Wietse Venema
Victor Duchovni: > On Tue, Dec 28, 2010 at 09:23:14PM -0500, Wietse Venema wrote: > > > I have built an event-driven TLS proxy for postscreen(8). This > > addresses the problem that postscreen(8) could not be used when > > SMTP clients require STARTTLS support. > > > > [...] > > > > Next on the

Re: Spam filter not working with mailalias

2010-12-29 Thread Dennis Guhl
On Wed, Dec 29, 2010 at 08:26:08PM +0100, Philip Van Pelt wrote: > Dennis Guhl schreef op wo 29-12-2010 om 20:14 [+0100]: > [snip] > > > > It seems you have a condition in your sieve script which only matches > > t...@example.com but not al...@example.com. > > > Well, I thought about that one too

Re: Spam filter not working with mailalias

2010-12-29 Thread Victor Duchovni
On Wed, Dec 29, 2010 at 08:26:08PM +0100, Philip Van Pelt wrote: > Dennis Guhl schreef op wo 29-12-2010 om 20:14 [+0100]: > [snip] > > > > It seems you have a condition in your sieve script which only matches > > t...@example.com but not al...@example.com. > > > Well, I thought about that one to

Re: Spam filter not working with mailalias

2010-12-29 Thread Philip Van Pelt
Dennis Guhl schreef op wo 29-12-2010 om 20:14 [+0100]: [snip] > > It seems you have a condition in your sieve script which only matches > t...@example.com but not al...@example.com. > Well, I thought about that one too. But as I examine the mail in my mailbox, no X-Spam-Flag is present. So the pr

Re: Spam filter not working with mailalias

2010-12-29 Thread Philip Van Pelt
mouss schreef op wo 29-12-2010 om 20:01 [+0100]: > Let me ask my question more precisely: is the _string_ after the '@' > sign the same for both addresses? please note that I am not talking > about delivery or virtual things. just the string. The domain (the _string_ after the @) is exactly the sa

Re: Spam filter not working with mailalias

2010-12-29 Thread Dennis Guhl
On Wed, Dec 29, 2010 at 07:54:08PM +0100, Philip Van Pelt wrote: > mouss schreef op wo 29-12-2010 om 19:20 [+0100]: > > Le 29/12/2010 18:25, Philip Van Pelt a écrit : [..] > I use only one domain; t...@example.com is a normal (but virtual) user > and al...@example.com is an alias for this same u

Re: Spam filter not working with mailalias

2010-12-29 Thread mouss
Le 29/12/2010 19:54, Philip Van Pelt a écrit : > mouss schreef op wo 29-12-2010 om 19:20 [+0100]: >> Le 29/12/2010 18:25, Philip Van Pelt a écrit : >>> [snip] >>> Dec 29 13:48:31 test-services amavis[11240]: (11240-02) Passed SPAM, >>> -> , quarantine: >>> k/spam-kEzi169drbKm.gz, Message-ID: >>> <

Re: 'include' contents of another file in mysql_*.cf (or other) maps?

2010-12-29 Thread mouss
Le 29/12/2010 14:29, Charles Marcus a écrit : > Hello, > > I was wondering if it is possible to 'include' the contents of a file in > the mysql*.cf map files (although I guess if you can with these you can > with others)... > > The reason I ask is, it would be nice when changing auth databases >

Re: Spam filter not working with mailalias

2010-12-29 Thread Philip Van Pelt
mouss schreef op wo 29-12-2010 om 19:20 [+0100]: > Le 29/12/2010 18:25, Philip Van Pelt a écrit : > >[snip] > > Dec 29 13:48:31 test-services amavis[11240]: (11240-02) Passed SPAM, > > -> , quarantine: > > k/spam-kEzi169drbKm.gz, Message-ID: > > <20101229124831.9def84a...@test-services.doctorvinyl

Re: spamtrap

2010-12-29 Thread mouss
Le 29/12/2010 16:07, Jeroen Geilman a écrit : > On 12/29/10 10:55 AM, K bharathan wrote: >> hi all >> how can i get (trap) spam messages recd by my mail users or users can >> send to a particular email-id the messages that they consider spam so >> that i can make these messages available to spamass

Re: postscreen STARTTLS support

2010-12-29 Thread Victor Duchovni
On Tue, Dec 28, 2010 at 09:23:14PM -0500, Wietse Venema wrote: > I have built an event-driven TLS proxy for postscreen(8). This > addresses the problem that postscreen(8) could not be used when > SMTP clients require STARTTLS support. > > [...] > > Next on the agenda is AUTH support, and that i

Re: Spam filter not working with mailalias

2010-12-29 Thread mouss
Le 29/12/2010 18:25, Philip Van Pelt a écrit : >[snip] > Dec 29 13:48:31 test-services amavis[11240]: (11240-02) Passed SPAM, > -> , quarantine: > k/spam-kEzi169drbKm.gz, Message-ID: > <20101229124831.9def84a...@test-services.doctorvinyl.be>, mail_id: > kEzi169drbKm, Hits: 1000.729, size: 1136, qu

Re: Relay restrictions

2010-12-29 Thread mouss
Le 29/12/2010 17:31, michael.lar...@wellsfargo.com a écrit : > Back in August several people helped me with the problem linked here: > > http://www.mail-archive.com/postfix-users@postfix.org/msg26629.html > > It was almost what I needed, but I didn't completely understand what I was > asking for

Re: 'include' contents of another file in mysql_*.cf (or other) maps?

2010-12-29 Thread Victor Duchovni
On Wed, Dec 29, 2010 at 08:29:18AM -0500, Charles Marcus wrote: > Hello, > > I was wondering if it is possible to 'include' the contents of a file in > the mysql*.cf map files (although I guess if you can with these you can > with others)... Use make(1) (and/or if you miss Sendmail's .mc files,

Re: extra headers via amavis

2010-12-29 Thread Noel Jones
On 12/29/2010 10:12 AM, Phil Howard wrote: I'm sending mail out through amavis for spam checking, and back in, again. There are extra "Received:" headers being added. Is there a way to either remove these, or customize them to "X-Received:" or something? Amavis adds one and that's an amavis is

Re: Relay restrictions

2010-12-29 Thread Noel Jones
On 12/29/2010 10:31 AM, michael.lar...@wellsfargo.com wrote: Back in August several people helped me with the problem linked here: _http://www.mail-archive.com/postfix-users@postfix.org/msg26629.html_ It was almost what I needed, but I didn’t completely understand what I was asking for at the tim

Re: Spam filter not working with mailalias

2010-12-29 Thread Philip Van Pelt
Op 29/12/2010 16:13, Jeroen Geilman schreef: On 12/29/10 2:44 PM, Philip Van Pelt wrote: I've set up a mailserver with postfix, dovecot, amavis and spamassassin. Everything has been up and running for a year now until I noticed my spamfilter wasn't performing as it should; spam mails sent to a n

Re: Postfix queue in Mysql ?

2010-12-29 Thread Noel Jones
On 12/29/2010 9:14 AM, Joan Moreau wrote: Can you just tell me how to put the mailing queue in a DB (mysql database in my case) ? Yes, rewrite postfix to use a DB as a backend rather than a file system. This will be a major redesign and not just a plugin. No one else is working on such a p

Re: Postfix queue in Mysql ?

2010-12-29 Thread Tomoyuki Murakami
On Wed, 29 Dec 2010 10:14:49 -0500, Joan Moreau wrote: > Can you just tell me how to put > the mailing queue in a DB (mysql database in my case) ? you may simply deploy MySQLfs (FUSE+MySQL) if you do not mind speeds, loads,...etc. http://sourceforge.net/projects/mysqlfs/ pgp7HNgIbhXrK.pgp Des

Relay restrictions

2010-12-29 Thread Michael.Larsen
Back in August several people helped me with the problem linked here: http://www.mail-archive.com/postfix-users@postfix.org/msg26629.html It was almost what I needed, but I didn't completely understand what I was asking for at the time, and the configuration is causing problems. I need to imple

extra headers via amavis

2010-12-29 Thread Phil Howard
I'm sending mail out through amavis for spam checking, and back in, again. There are extra "Received:" headers being added. Is there a way to either remove these, or customize them to "X-Received:" or something? Amavis adds one and that's an amavis issue. Postfix adds one coming back and that's

Re: Postfix queue in Mysql ?

2010-12-29 Thread Jeroen Geilman
On 12/29/10 4:14 PM, Joan Moreau wrote: But I have no " car to fix" . What is that story about ? Now, I did not rule out anything in any email. Can you just tell me how to put the mailing queue in a DB (mysql database in my case) ? Exactly which part of NO YOU CAN NOT PUT THE QUEUE IN A D

Re: Postfix queue in Mysql ?

2010-12-29 Thread Joan Moreau
But I have no " car to fix" . What is that story about ? Now, I did not rule out anything in any email. Can you just tell me how to put the mailing queue in a DB (mysql database in my case) ? On Wed, 29 Dec 2010 18:04:45 +1100, James Gray wrote: > On 29/12/2010, at 4:02 PM, Joan Moreau wr

Re: Spam filter not working with mailalias

2010-12-29 Thread Jeroen Geilman
On 12/29/10 2:44 PM, Philip Van Pelt wrote: I've set up a mailserver with postfix, dovecot, amavis and spamassassin. Everything has been up and running for a year now until I noticed my spamfilter wasn't performing as it should; spam mails sent to a normal user were getting the right treatment an

Re: spamtrap

2010-12-29 Thread Jeroen Geilman
On 12/29/10 10:55 AM, K bharathan wrote: hi all how can i get (trap) spam messages recd by my mail users or users can send to a particular email-id the messages that they consider spam so that i can make these messages available to spamassassin for learning That's not directly related to, o

Spam filter not working with mailalias

2010-12-29 Thread Philip Van Pelt
I've set up a mailserver with postfix, dovecot, amavis and spamassassin. Everything has been up and running for a year now until I noticed my spamfilter wasn't performing as it should; spam mails sent to a normal user were getting the right treatment and ended up in Spam-box, whereas the same mail

'include' contents of another file in mysql_*.cf (or other) maps?

2010-12-29 Thread Charles Marcus
Hello, I was wondering if it is possible to 'include' the contents of a file in the mysql*.cf map files (although I guess if you can with these you can with others)... The reason I ask is, it would be nice when changing auth databases (which I'm doing now), to just edit one file that contains the

Re: postfix client sends partial username/password to server

2010-12-29 Thread Wietse Venema
Rob van Dam: > I use Postfix client on a Centos 5.5 Trixbox. Mail messages (voicemail > notification) send to my password secured mailserver with Exim are > refused. When I decode the used login credentials I see that only the > first 14 characters of the username are used. My sasl_password look

Re: postfix client sends partial username/password to server

2010-12-29 Thread Dieter Kluenter
Am Wed, 29 Dec 2010 13:04:40 +0100 schrieb Rob van Dam : > > This cut off identity string reminds me of the userID restriction > > to 7 characters on older Linux systems, something weird is going on > > on your system. > > > > -Dieter > > > I did post a message on the Trixbox forum too. Perhaps ot

Re: postfix client sends partial username/password to server

2010-12-29 Thread Rob van Dam
This cut off identity string reminds me of the userID restriction to 7 characters on older Linux systems, something weird is going on on your system. -Dieter I did post a message on the Trixbox forum too. Perhaps other Trixbox users have the same problems as I have. How bad is it to use the pos

Let's Kill This Thread (Was: Postfix queue in Mysql ?)

2010-12-29 Thread mouss
Le 29/12/2010 12:38, Ansgar Wiechers a écrit : > On 2010-12-29 Joan Moreau wrote: >> Well, I am surprised by the tone of those emails. > > I, on the other hand, am very surprised, how you're consistently avoid > giving this list any details about your configuration or your actual > problem. > >

Re: Postfix queue in Mysql ?

2010-12-29 Thread Ansgar Wiechers
On 2010-12-29 Joan Moreau wrote: > Well, I am surprised by the tone of those emails. I, on the other hand, am very surprised, how you're consistently avoid giving this list any details about your configuration or your actual problem. Please either supply the information you've been asked for (se

Re: postfix client sends partial username/password to server

2010-12-29 Thread Dieter Kluenter
Am Wed, 29 Dec 2010 11:50:53 +0100 schrieb Rob van Dam : > > > So your login is based on cyrus-sasl libraries and mechanism PLAIN, > > the mechanism PLAIN requires three > > arguments,\0\0, if no authorization is > > requested, the authentication string has to be set twice and the > > whole strin

Re: check_recipient_access seems doesn't work.

2010-12-29 Thread mouss
Le 29/12/2010 12:06, Mauro a écrit : > On 26 November 2010 12:08, /dev/rob0 wrote: > > >> snip >>> smtpd_recipient_restrictions = >>> check_client_access hash:/etc/postfix/maps/internal_networks, >> >> This potentially dangerous restriction might contain permit actions. >> See SMTPD_ACCESS_READM

Re: check_recipient_access seems doesn't work.

2010-12-29 Thread Mauro
On 26 November 2010 12:08, /dev/rob0 wrote: > snip >> smtpd_recipient_restrictions = >> check_client_access hash:/etc/postfix/maps/internal_networks, > > This potentially dangerous restriction might contain permit actions. > See SMTPD_ACCESS_README.html#danger for the danger. (In case you > wond

Re: postfix client sends partial username/password to server

2010-12-29 Thread Rob van Dam
So your login is based on cyrus-sasl libraries and mechanism PLAIN, the mechanism PLAIN requires three arguments,\0\0, if no authorization is requested, the authentication string has to be set twice and the whole string has to be base64 hashed. something like this one: Zm9vAGZvbwBiYXI= just d

Re: postfix client sends partial username/password to server

2010-12-29 Thread Dieter Kluenter
Am Wed, 29 Dec 2010 10:08:24 +0100 schrieb Rob van Dam : > > The client is not properly encoding the credentials, what SASL > > Mechanism is selected? > > > > -Dieter > Hello Dieter, > > Thanks for the reply. > > The output of postconf -A is cyrus. I tried to login with Tls and in > auth plain

spamtrap

2010-12-29 Thread K bharathan
hi all how can i get (trap) spam messages recd by my mail users or users can send to a particular email-id the messages that they consider spam so that i can make these messages available to spamassassin for learning appreciate the guidance -bharathan

Re: postfix client sends partial username/password to server

2010-12-29 Thread Rob van Dam
On 29-12-10 09:51, Rob van Dam wrote: I use Postfix client on a Centos 5.5 Trixbox. Mail messages (voicemail notification) send to my password secured mailserver with Exim are refused. When I decode the used login credentials I see that only the first 14 characters of the username are used. My

Re: postfix client sends partial username/password to server

2010-12-29 Thread Rob van Dam
The client is not properly encoding the credentials, what SASL Mechanism is selected? -Dieter Hello Dieter, Thanks for the reply. The output of postconf -A is cyrus. I tried to login with Tls and in auth plain (here I was able to retrieve the password). If you need more info please let me k

postfix client sends partial username/password to server

2010-12-29 Thread Rob van Dam
I use Postfix client on a Centos 5.5 Trixbox. Mail messages (voicemail notification) send to my password secured mailserver with Exim are refused. When I decode the used login credentials I see that only the first 14 characters of the username are used. My sasl_password looks like (yes i have c