Re: Separate postfix and dovecot log

2011-08-08 Thread Benny Pedersen
On Fri, 5 Aug 2011 16:58:58 +0530, JEHERUL wrote: By default the log created by postfix and dovecot goes to /var/log/maillog. I want to take the log separately. How can I do that? I googled but nothing found like that. http://lmgtfy.com/?q=syslog+dovecot+postfixl=1

Re: Workaround for brain-dead BATV

2011-08-08 Thread lst_hoe02
Zitat von Noel Jones njo...@megan.vbhcs.org: On 8/4/2011 3:32 AM, lst_ho...@kwsoft.de wrote: Hello we got problems with customers requesting MDN according to RFC-3798 with Disposition-Notification-To: header and using BATV on their gateways. On our side we honor read-request and sent MDNs

integrate postfix with php

2011-08-08 Thread Amira Othman
Hi all I am using postfix-2.3.3-2.3.el5_6 on centos 5.6.I have configured postfix to server 2 virtual domains and now I want to integrate postfix with php to send mails to users in database using php script.is that possible in postfix? Regards Amira Othman Server Administrator

Re: integrate postfix with php

2011-08-08 Thread Jeroen Geilman
On 2011-08-08 09:28, Amira Othman wrote: Hi all I am using postfix-2.3.3-2.3.el5_6 on centos 5.6.I have configured postfix to server 2 virtual domains and now I want to integrate postfix with php to send mails to users in database using php script.is that possible in postfix? POSTFIX

Re: integrate postfix with php

2011-08-08 Thread Reindl Harald
Am 08.08.2011 09:28, schrieb Amira Othman: I am using postfix-2.3.3-2.3.el5_6 on centos 5.6.I have configured postfix to server 2 virtual domains and now I want to integrate postfix with php to send mails to users in database using php script.is that possible in postfix? first: do

Re: integrate postfix with php

2011-08-08 Thread Benny Pedersen
On Mon, 8 Aug 2011 10:28:58 +0300, Amira Othman wrote: I am using postfix-2.3.3-2.3.el5_6 on centos 5.6.I have configured postfix to server 2 virtual domains and now I want to integrate postfix with php to send mails to users in database using php script.is that possible in postfix? google

Re: Postscreen, Greylisting, Penalty Time

2011-08-08 Thread /dev/rob0
On Sun, Aug 07, 2011 at 04:46:48PM -0700, Steve Fatula wrote: [ broken formatting fixed ] I see some previous posts regarding this - just my 2 cents worth. There might be multiple triggers for the penalty time, but, one I'd like to see would be just like postscreen_dnsbl_threshold, perhaps

Re: OT: Question on max message size

2011-08-08 Thread Rob Sterenborg (Lists)
On Mon, 2011-08-08 at 07:58 -0500, Stan Hoeppner wrote: On 8/6/2011 1:26 AM, Rob Sterenborg (Lists) wrote: On Sat, 2011-08-06 at 01:04 -0500, Stan Hoeppner wrote: Or do the smart thing: use a file transfer protocol for transferring files instead of an email protocol. HTTP and FTP are

Rejecting all mail from/to a domain

2011-08-08 Thread Stephen Atkins
Hello everyone. I've been searching around trying to figure this out but it just eluding me. We've been getting a ton of mail from a certain domain which is all spam. Problem is that our mail system is also generating a bounce for each try. I would like to block absolutely everything to or

Re: Rejecting all mail from/to a domain

2011-08-08 Thread Jeroen Geilman
On 2011-08-08 20:29, Stephen Atkins wrote: Hello everyone. I've been searching around trying to figure this out but it just eluding me. We've been getting a ton of mail from a certain domain which is all spam. Problem is that our mail system is also generating a bounce for each try. Why

Re: Rejecting all mail from/to a domain

2011-08-08 Thread Brian Evans - Postfix List
On 8/8/2011 2:29 PM, Stephen Atkins wrote: Hello everyone. I've been searching around trying to figure this out but it just eluding me. We've been getting a ton of mail from a certain domain which is all spam. Problem is that our mail system is also generating a bounce for each try. I

Re: Rejecting all mail from/to a domain

2011-08-08 Thread /dev/rob0
On Mon, Aug 08, 2011 at 12:29:38PM -0600, Stephen Atkins wrote: Hello everyone. I've been searching around trying to figure this out but it just eluding me. We've been getting a ton of mail from a certain domain which is all spam. Problem is that our mail system is also generating a

Re: Rejecting all mail from/to a domain

2011-08-08 Thread /dev/rob0
On Mon, Aug 08, 2011 at 01:46:08PM -0500, /dev/rob0 wrote: On Mon, Aug 08, 2011 at 12:29:38PM -0600, Stephen Atkins wrote: I would like to block absolutely everything to or from this domain no matter what. I found a couple of examples but they don't seem to want to work for me. That's a

Re: Rejecting all mail from/to a domain

2011-08-08 Thread Stephen Atkins
On 8/8/2011 12:51 PM, /dev/rob0 wrote: On Mon, Aug 08, 2011 at 01:46:08PM -0500, /dev/rob0 wrote: On Mon, Aug 08, 2011 at 12:29:38PM -0600, Stephen Atkins wrote: I would like to block absolutely everything to or from this domain no matter what. I found a couple of examples but they don't seem

main.cf best practices

2011-08-08 Thread Stephen Atkins
Thanks again for the help everyone. I setup these postfix servers about 5 years ago. I've pretty much ignored then except for postfix updates since then. I know this probably wasn't the best idea but I got moved into a different department and could barely keep up. Now I'm back and have

lost connection after RCPT

2011-08-08 Thread list
We recently (within the last two weeks) started getting a very large number of logs like this: postfix/smtpd[29456]: lost connection after RCPT from cel-broadband1-ws-72.dsl.airstreamcomm.net[64.33.198.73] After doing packet traces it appears that the client is sending RST packets to our server,

Re: lost connection after RCPT

2011-08-08 Thread Jeroen Geilman
On 2011-08-08 23:15, l...@airstreamcomm.net wrote: We recently (within the last two weeks) started getting a very large number of logs like this: postfix/smtpd[29456]: lost connection after RCPT from cel-broadband1-ws-72.dsl.airstreamcomm.net[64.33.198.73] After doing packet traces it appears

Re: lost connection after RCPT

2011-08-08 Thread Noel Jones
On 8/8/2011 4:15 PM, l...@airstreamcomm.net wrote: We recently (within the last two weeks) started getting a very large number of logs like this: postfix/smtpd[29456]: lost connection after RCPT from cel-broadband1-ws-72.dsl.airstreamcomm.net[64.33.198.73] After doing packet traces it

using smtpd_sender_restrictions to block mail from a domain

2011-08-08 Thread Christopher Adams
Hello all, I have attempted to block a domain from sending through my mail system. The result of my efforts is that this domain can still send mail. Here is what I have done. Created a sender_access file in /etc/postfix. The content: zeusmail.org REJECT apotmail.org REJECT postmap

Re: using smtpd_sender_restrictions to block mail from a domain

2011-08-08 Thread Ansgar Wiechers
On 2011-08-08 Christopher Adams wrote: I have attempted to block a domain from sending through my mail system. The result of my efforts is that this domain can still send mail. Here is what I have done. Created a sender_access file in /etc/postfix. The content: zeusmail.org REJECT

Re: using smtpd_sender_restrictions to block mail from a domain

2011-08-08 Thread Christopher Adams
On Mon, Aug 8, 2011 at 4:13 PM, Ansgar Wiechers li...@planetcobalt.net wrote: On 2011-08-08 Christopher Adams wrote: I have attempted to block a domain from sending through my mail system. The result of my efforts is that this domain can still send mail. Here is what I have done. Created a

Re: Postscreen, Greylisting, Penalty Time

2011-08-08 Thread Wietse Venema
rob0: However, BTW a surprising number of legitimate sites, including? Gmail, have not been trying the lower-priority MX at all. Gmail clients also tend to pass off to another host for second and subsequent attempts, always and only on the primary MX IP address. Steve Fatula: I don't see how

Re: main.cf best practices

2011-08-08 Thread Wietse Venema
Stephen Atkins: My main goal is to figure out what I should have in each section of main.cf (smptd/client restrictions to help stop spam There is no universal solution against spam. Some people don't tolerate false negatives (spam not blocked), and some people don't tolerate false positives

Re: Postscreen, Greylisting, Penalty Time

2011-08-08 Thread Wietse Venema
Steve Fatula: [ Charset ISO-8859-1 unsupported, converting... ] Surely the sender has a limited number of IP addresses.? Once a client IP address passes postscreen's after 220 tests, it is whitelisted and can send mail without after 220 tests for 30 days. Of course, it's finite. It's not small

Re: lost connection after RCPT

2011-08-08 Thread list
On Mon, 08 Aug 2011 16:41:59 -0500, Noel Jones njo...@megan.vbhcs.org wrote: On 8/8/2011 4:15 PM, l...@airstreamcomm.net wrote: We recently (within the last two weeks) started getting a very large number of logs like this: postfix/smtpd[29456]: lost connection after RCPT from

Re: using smtpd_sender_restrictions to block mail from a domain

2011-08-08 Thread Noel Jones
On 8/8/2011 6:46 PM, Christopher Adams wrote: 3) Logs This is a mailman log that shows a subscription being approved by a mail administrator Aug 08 09:24:50 2011 (21056) lhdaccreditation: new albina.rit...@apotmail.com, via admin approval Is that the envelope sender or the From: header?