List attributes sends in a delegated SMTPD access policy request

2013-11-04 Thread Nathan Schultheiss
Hello All, By spawn I've a script that checks several parameters before accepting an SMTP email. I found the list of variables here http://www.cs.ait.ac.th/~on/postfix/SMTPD_POLICY_README.html But I would retrieve the subject with this method. My script already gets all other parameters before

Re: Mail sent FROM me TO me is disappearing

2013-11-04 Thread Stan Hoeppner
On 11/5/2013 12:15 AM, George Adams wrote: > We're using Postfix 2.1.5 on an old Debian 5 Linux system ... If Postfix 2.1.5 then your Debian install is MUCH older than Lenny (Debian 5). IIRC Lenny shipped w/Postfix 2.5.5 and Etch shipped w/2.3.8. Which means you're running Sarge (3.1) or older.

Mail sent FROM me TO me is disappearing

2013-11-04 Thread George Adams
We're using Postfix 2.1.5 on an old Debian 5 Linux system as an incoming, but not outgoing mail server. (We host several domains on our server and don't want the mail headers for outgoing mail from (say) CompanyA.com to say that they originated from a hostname that might be CompanyB.com, CompanyC.

Re: Postfix still sending bounces

2013-11-04 Thread LuKreme
On 04 Nov 2013, at 16:50 , Jim Wright wrote: > On Nov 4, 2013, at 5:03 PM, Ian Evans wrote: >> >> I've read tutorials and the backscatter/local recipient pages and my postfix >> is still sending out bounce message instead of just dropping the >> connections. I want to be a good netizen so wa

Re: Postfix+pflogsumm+clamav = email blocked

2013-11-04 Thread inteq
Decided to tar my log and send it. Tested with the yesterday log containing malware links and it works.(so far) Thank you for your input My approach: #!/bin/bash # Use apt-get install sendemail (this is NOT sendmail) if you do not have it /usr/sbin/pflogsumm -d today --problems_first --smtpd-sta

Re: Postfix+pflogsumm+clamav = email blocked

2013-11-04 Thread Benny Pedersen
inteq skrev den 2013-11-05 02:26: Another workaround I was thinking is to compress the log file before sending. should then be something clamav cant unpack :) eg lzip

Re: Postfix+pflogsumm+clamav = email blocked

2013-11-04 Thread Benny Pedersen
Manuel Bieling skrev den 2013-11-05 01:21: Sorry, I'm not as familiar with clam*. But why do you assume the mails coming from a localhost sender? i dont trust, its 127.0.0.1 networking with is always me, why should i block myself ? i did not write root@localhost as sender

Re: Postfix+pflogsumm+clamav = email blocked

2013-11-04 Thread inteq
Thank you for your replies. The message is from localhost, not from another postfix machine, but the machine has multiple virtual servers/aliases. The reason behind a log file containing no malware but still being flagged as virus, is because the scanner is configured to check links also (links t

Re: Postfix still sending bounces

2013-11-04 Thread Ian Evans
Argh...gmail and mailing lists. Sent this response directly to Benny instead of the list, so here I go again: Ian Evans skrev den 2013-11-05 00:03: > > Here's my main.cf [1]. Please let me know if there's more info you >> need. >> > > first question from me is, why do you mix virtual and local us

Re: Postfix+pflogsumm+clamav = email blocked

2013-11-04 Thread Manuel Bieling
On 2013.11.05 00:29:41 +0100, Benny Pedersen wrote: > Manuel Bieling skrev den 2013-11-05 00:22: > > >What the others said. That shouldn't happen. It's a problem with > >clamav. > > incorrect, clamsmpt is at fault here, mails should not block on > localhost, its fault is that clamsmtp is only for

Re: Postfix still sending bounces

2013-11-04 Thread Wietse Venema
Ian Evans: > Migrating to a new server and decided I would switch to postfix. On my old > qmail server, I used validrcptto to drop emails not destines for the > virtual accts on our site. > > I've read tutorials and the backscatter/local recipient pages and my > postfix is still sending out bounce

Re: Postfix still sending bounces

2013-11-04 Thread li...@rhsoft.net
Am 05.11.2013 00:50, schrieb Jim Wright: > On Nov 4, 2013, at 5:03 PM, Ian Evans wrote: >> >> I've read tutorials and the backscatter/local recipient pages and my postfix >> is still sending out bounce message instead of just dropping the >> connections. I want to be a good netizen so want to

Re: Postfix still sending bounces

2013-11-04 Thread Jim Wright
On Nov 4, 2013, at 5:03 PM, Ian Evans wrote: > > I've read tutorials and the backscatter/local recipient pages and my postfix > is still sending out bounce message instead of just dropping the connections. > I want to be a good netizen so want to nip this in the bud. Normally, bouncing undeliv

Re: Postfix+pflogsumm+clamav = email blocked

2013-11-04 Thread Benny Pedersen
Manuel Bieling skrev den 2013-11-05 00:22: What the others said. That shouldn't happen. It's a problem with clamav. incorrect, clamsmpt is at fault here, mails should not block on localhost, its fault is that clamsmtp is only for proxy scaning with postfix, not usable as a global content fil

Re: Postfix+pflogsumm+clamav = email blocked

2013-11-04 Thread Benny Pedersen
inteq skrev den 2013-11-04 20:42: Any hints how to whitelist emails sent from r...@ns4.example.com, or bypass somehow the virus checks for some addresses? life would be more simple if you change from clamsmtp to clamav-milter, after that you can disable virus scanning on localhost senders, j

Re: Postfix+pflogsumm+clamav = email blocked

2013-11-04 Thread Manuel Bieling
On 2013.11.04 11:42:51 -0800, inteq wrote: > Nov 4 21:36:52 ns4 postfix/smtp[9383]: 338E14303B: to=, > relay=127.0.0.1[127.0.0.1]:10025, delay=0.14, delays=0.06/0/0.05/0.03, > dsn=2.0.0, status=sent (250 Virus Detected; Discarded Email) > Nov 4 21:36:52 ns4 clamsmtpd: 100013: from=r...@ns4.exampl

Re: Postfix still sending bounces

2013-11-04 Thread Benny Pedersen
Ian Evans skrev den 2013-11-05 00:03: Here's my main.cf [1]. Please let me know if there's more info you need. first question from me is, why do you mix virtual and local users ? and show postfix logs to get more help with the bounces

Re: Postfix+pflogsumm+clamav = email blocked

2013-11-04 Thread Stan Hoeppner
On 11/4/2013 3:54 PM, Noel Jones wrote: > On 11/4/2013 1:42 PM, inteq wrote: >> Hello >> >> For some time now I was wondering why some of my pflogsumm emails were not >> received. >> Digging deeper into the problem today, I can see the emails are being >> blocked by Postfix because it "contains"

Postfix still sending bounces

2013-11-04 Thread Ian Evans
Migrating to a new server and decided I would switch to postfix. On my old qmail server, I used validrcptto to drop emails not destines for the virtual accts on our site. I've read tutorials and the backscatter/local recipient pages and my postfix is still sending out bounce message instead of jus

Re: Postfix+pflogsumm+clamav = email blocked

2013-11-04 Thread Noel Jones
On 11/4/2013 1:42 PM, inteq wrote: > Hello > > For some time now I was wondering why some of my pflogsumm emails were not > received. > Digging deeper into the problem today, I can see the emails are being > blocked by Postfix because it "contains" a virus. > > Nov 4 21:36:52 ns4 postfix/smtp[93

Re: Postfix+pflogsumm+clamav = email blocked

2013-11-04 Thread LuKreme
On 04 Nov 2013, at 12:42 , inteq wrote: > Nov 4 21:36:52 ns4 clamsmtpd: 100013: from=r...@ns4.example.com, > to=t...@example.com, status=VIRUS:Sanesecurity.Jurlbl.3425.UNOFFICIAL Nothing to do with postfix, clamsmtpd is blocking your email. -- I thought that they were angels, but to my surpr

Postfix+pflogsumm+clamav = email blocked

2013-11-04 Thread inteq
Hello For some time now I was wondering why some of my pflogsumm emails were not received. Digging deeper into the problem today, I can see the emails are being blocked by Postfix because it "contains" a virus. Nov 4 21:36:52 ns4 postfix/smtp[9383]: 338E14303B: to=, relay=127.0.0.1[127.0.0.1]:10

Re: patch to add queueid to pipe service

2013-11-04 Thread Wietse Venema
Andreas Schulze: > > Hello, > > looking in the archive there are multiple question like "howto access > the queueid from pipe service" > (http://marc.info/?l=postfix-users&s=pipe+queueid) > > I had the same problem some times ago and wrote a patch. > Now I have the possibility to use the pipe

patch to add queueid to pipe service

2013-11-04 Thread Andreas Schulze
Hello, looking in the archive there are multiple question like "howto access the queueid from pipe service" (http://marc.info/?l=postfix-users&s=pipe+queueid) I had the same problem some times ago and wrote a patch. Now I have the possibility to use the pipe command in master.cf like descr