PCRE help - unsTubscribe URL in body_check

2009-02-03 Thread Steven Redlich
I'm having trouble trying to match a common string in my most recent bout of Opt-Out spam. The seem to have an uTnsTubscribe string like the following. http://baddomain.com/uTnsTub/?id=3D My current PCRE is a subset of the above string: /http:\/\/baddomain.com\/uTnsub\// extra T's added th

Re: Taking over for another admin

2009-02-03 Thread David Bishop
On Wed, Feb 04, 2009 at 07:31:23AM +0100, Martin Schmitt wrote: > David Bishop schrieb: > > > What are my options? I don't have a lot of experience with dovecot (it's > > been a few years for me) and thus don't really know anything about its > > SASL implementation. Should I move away from SASL

Re: Taking over for another admin

2009-02-03 Thread Martin Schmitt
David Bishop schrieb: > What are my options? I don't have a lot of experience with dovecot (it's > been a few years for me) and thus don't really know anything about its > SASL implementation. Should I move away from SASL completely? Any > suggestions (or requests for clarification) would be gr

Re: Postfix install error

2009-02-03 Thread Victor Duchovni
On Tue, Feb 03, 2009 at 04:58:42PM -0800, Nandini Mocherla wrote: > Thank You! I changed the way, i was using quotes and it did compile and > install successfully. But i saw these errors in my error file. Is it ok > to ignore them. To reduce spurious noise: try gcc, or figure out which compi

Re: SMTP sessions

2009-02-03 Thread Victor Duchovni
On Wed, Feb 04, 2009 at 02:21:31AM +0100, Rocco Scappatura wrote: > > There is no evidence that sender-side connection re-use has any material > > impact on your queues. If you do want to enforce such limits, they should > > be applied selectively to just IP sources with poor "reputations". > > I

Re: SMTP sessions

2009-02-03 Thread Rocco Scappatura
Thanks Viktor, >> 1) Once a client (or another MTA) establish a TCP connection with >> listening port bounded by the SMTP daemon of Postfix, could happen that >> more then one email messages are sent over that TCP connection, before >> it >> is closed? > > Sure this is possible, but it is unlik

Re: Postfix install error

2009-02-03 Thread Nandini Mocherla
On 02/ 3/09 04:19 PM, Wietse Venema wrote: Nandini Mocherla: Your "make makefiles" command ends BEFORE THE #AUXLIBS LINE You can't have shell comments in the middle of multi-line input. Wietse Thank You Wietse! I have removed that line and my make install proceeded fur

Taking over for another admin

2009-02-03 Thread David Bishop
is always a bit... tricky. Things that they thought would be blindingly obvious is, maybe, not so much. And systems that grew organically over time can appear to the jaundiced outsider's view as a bit, um, kludgy. Well, that's the situation I find myself in today. I'm stepping into a "new to me

Re: SMTP sessions

2009-02-03 Thread Victor Duchovni
On Tue, Feb 03, 2009 at 11:59:37PM +0100, Rocco Scappatura wrote: > Returning to my question, I'm trying to understand: > > 1) Once a client (or another MTA) establish a TCP connection with > listening port bounded by the SMTP daemon of Postfix, could happen that > more then one email messages ar

Re: Postfix install error

2009-02-03 Thread Wietse Venema
Nandini Mocherla: > > Your "make makefiles" command ends BEFORE THE #AUXLIBS LINE > > > > You can't have shell comments in the middle of multi-line input. > > > > Wietse > > > > Thank You Wietse! I have removed that line and my make install > proceeded further but this time it terminated

Re: Reverse DNS Does Not Resolve

2009-02-03 Thread mouss
Asai a écrit : > Greetings, > > Recently this error was reported from a user: > "Your reverse DNS entry does not resolve. (in reply to RCPT TO command))" > She was sending from Thunderbird through our SMTP server using an email > alias. > > Can anyone explain why this would happen? > $ host 140

Re: Virtual Mailboxes

2009-02-03 Thread mouss
carconni a écrit : > Hi, > > I'm having a problem with virtual mailboxes. I need to create a > catchall mailbox. One of my engineers wants to run a script on the > mailbox so I really don't want to create an alias to a mailbox in the > /var/spool/imap/user directory. My engineer needs access to

Reverse DNS Does Not Resolve

2009-02-03 Thread Asai
Greetings, Recently this error was reported from a user: "Your reverse DNS entry does not resolve. (in reply to RCPT TO command))" She was sending from Thunderbird through our SMTP server using an email alias. Can anyone explain why this would happen? -- asai

Re: SMTP sessions

2009-02-03 Thread Rocco Scappatura
Victor, >> >> I fear that the problem is that for each session I can have an >> unsettled >> >> number of messages sent over that session (It could be happen? If >> yes, >> >> It could be depend on MTA settings?) other then an unsettled size of >> >> SMTP traffic (which it determs the latency of

Re: Postfix install error

2009-02-03 Thread Nandini Mocherla
On 02/ 3/09 02:32 PM, Wietse Venema wrote: Nandini Mocherla: On 02/ 3/09 02:07 PM, Wietse Venema wrote: Nandini Mocherla: make makefiles \ #AUXLIBS='-L/usr/mysql/lib/mysql -R/usr/mysql/lib/mysql -lmysqlclient -lldap -lpcre' \ "AUXLIBS=-lpcre" \ #"AUXLIBS=-lpcre" \

Re: Postfix mail archiving with maildrop

2009-02-03 Thread mouss
Gabor Hasenfrasz a écrit : > Dear All, > > A company asked me to configure an archiving system on a postfix server. > After a little i've made a choice to maildrop as an archiving solution. > I've configured main.cf to forward mails to a virtual > user which will be the collector.

Re: Postfix install error

2009-02-03 Thread Wietse Venema
Nandini Mocherla: > On 02/ 3/09 02:07 PM, Wietse Venema wrote: > > Nandini Mocherla: > > > >> make makefiles \ > >> #AUXLIBS='-L/usr/mysql/lib/mysql -R/usr/mysql/lib/mysql -lmysqlclient > >> -lldap -lpcre' \ > >> "AUXLIBS=-lpcre" \ > >> #"AUXLIBS=-lpcre" \ > >> > > > > Your "make makefiles

Re: Postfix install error

2009-02-03 Thread Ralf Hildebrandt
* Nandini Mocherla : > > > On 02/ 3/09 02:07 PM, Wietse Venema wrote: >> Nandini Mocherla: >> >>> make makefiles \ >>> #AUXLIBS='-L/usr/mysql/lib/mysql -R/usr/mysql/lib/mysql -lmysqlclient == make makefiles -- Ralf Hildebrandt (ralf.hildebra...@charite.de) snick...@charite.de Postf

Re: Postfix install error

2009-02-03 Thread Nandini Mocherla
On 02/ 3/09 02:07 PM, Wietse Venema wrote: Nandini Mocherla: make makefiles \ #AUXLIBS='-L/usr/mysql/lib/mysql -R/usr/mysql/lib/mysql -lmysqlclient -lldap -lpcre' \ "AUXLIBS=-lpcre" \ #"AUXLIBS=-lpcre" \ Your "make makefiles" command ends with the # character Wietse

Re: Postfix install error

2009-02-03 Thread Nandini Mocherla
On 02/ 3/09 02:02 PM, Victor Duchovni wrote: On Tue, Feb 03, 2009 at 01:52:45PM -0800, Nandini Mocherla wrote: My makedefs.out does not say any thing about configurations i specified with "make files" other than PCRE and here is the output EXPORT = AUXLIBS=' -L/usr/lib -R/usr/li

Re: Postfix install error

2009-02-03 Thread Wietse Venema
Nandini Mocherla: > make makefiles \ > #AUXLIBS='-L/usr/mysql/lib/mysql -R/usr/mysql/lib/mysql -lmysqlclient > -lldap -lpcre' \ > "AUXLIBS=-lpcre" \ > #"AUXLIBS=-lpcre" \ Your "make makefiles" command ends with the # character Wietse

Re: Postfix install error

2009-02-03 Thread Nandini Mocherla
I have used this with make files and have entered with interactive make install , but still seeing error. This is the script i used. !/bin/ksh93 BUILDDIR='/opt/mail-pkgs/postfix-2.5.5' #export PATH="$PATH:/opt/SUNWspro/bin" #export CC=cc export CC=/opt/SUNWspro/bin/cc export LDFLAGS='-zignore'

Re: Postfix install error

2009-02-03 Thread Victor Duchovni
On Tue, Feb 03, 2009 at 01:52:45PM -0800, Nandini Mocherla wrote: > My makedefs.out does not say any thing about configurations i specified > with "make files" other than PCRE and here is the output > EXPORT = AUXLIBS=' -L/usr/lib -R/usr/lib -lpcre' CCARGS=' > -Dstrcasecmp=fix_strcasecmp

Re: Postfix install error

2009-02-03 Thread Nandini Mocherla
On 02/ 3/09 01:39 PM, Wietse Venema wrote: Nandini Mocherla: I have compiled it with the desired locations for all the parameters mentioned in my email. Then with make install it prompted me for the locations again and i have answered them changing the default ones. Then it copied/update

Re: Postfix install error

2009-02-03 Thread Victor Duchovni
On Tue, Feb 03, 2009 at 01:49:40PM -0800, Nandini Mocherla wrote: >> Yes, of course, because your overrides are stored in main.cf, and main.cf >> is in the compiled-in location. The correct main.cf location MUST be >> compiled-in. DO NOT override it when installing the primary Postfix >> instance

Re: Postfix install error

2009-02-03 Thread Nandini Mocherla
On 02/ 3/09 01:37 PM, Victor Duchovni wrote: On Tue, Feb 03, 2009 at 12:23:48PM -0800, Nandini Mocherla wrote: I have compiled it with the desired locations for all the parameters mentioned in my email. Then with make install it prompted me for the locations again and i have answered them

Re: SMTP sessions

2009-02-03 Thread Victor Duchovni
On Tue, Feb 03, 2009 at 09:10:50PM +0100, Rocco Scappatura wrote: > >> I fear that the problem is that for each session I can have an unsettled > >> number of messages sent over that session (It could be happen? If yes, > >> It could be depend on MTA settings?) other then an unsettled size of > >>

Re: Postfix install error

2009-02-03 Thread Wietse Venema
Nandini Mocherla: > I have compiled it with the desired locations for all the parameters > mentioned in my email. Then with make install it prompted me for the > locations again and i have answered them changing the default ones. > Then it copied/updated all the required files to the specified

Re: Postfix install error

2009-02-03 Thread Victor Duchovni
On Tue, Feb 03, 2009 at 12:23:48PM -0800, Nandini Mocherla wrote: > I have compiled it with the desired locations for all the parameters > mentioned in my email. Then with make install it prompted me for the > locations again and i have answered them changing the default ones. Then > it copied

Re: Postfix install error

2009-02-03 Thread Nandini Mocherla
I have compiled it with the desired locations for all the parameters mentioned in my email. Then with make install it prompted me for the locations again and i have answered them changing the default ones. Then it copied/updated all the required files to the specified locations ,but later it

RE: SMTP sessions

2009-02-03 Thread Rocco Scappatura
Hi, >>> > I have a mail gateway system that consists of several >>> > Postfix+MySQL+Amavisd-new machines behind a load balancer. >>> > >>> > I have defined a balancing policy based on number of SMTP sessions >>> that >>> > every server has to manage. >>> >>> New connections are given to the ser

Re: Postfix install error

2009-02-03 Thread Wietse Venema
Victor Duchovni: > On Tue, Feb 03, 2009 at 11:27:44AM -0800, Nandini Mocherla wrote: > > > Hi > > > > I was installing Postfix postfix-2.5.5 on Solaris. At the time of > > compiling the Source with make I have defined the parameters (for changing > > the default values of the following from /et

Re: Postfix install error

2009-02-03 Thread Victor Duchovni
On Tue, Feb 03, 2009 at 11:27:44AM -0800, Nandini Mocherla wrote: > Hi > > I was installing Postfix postfix-2.5.5 on Solaris. At the time of > compiling the Source with make I have defined the parameters (for changing > the default values of the following from /etc/ to /opt etc.) > -DDEF_COMMAN

Postfix Install Errrors

2009-02-03 Thread Nandini Mocherla
Hi I was installing Postfix postfix-2.5.5 on Solaris. At the time of compiling the Source with make I have defined the parameters (for changing the default values of the following from /etc/ to /opt etc.) -DDEF_COMMAND_DIR= -DDEF_SAMPLE_DIR= -DDEF_SENDMAIL_PATH= -DDEF_CONFIG_DIR= -DDEF_DAEMON

Postfix install error

2009-02-03 Thread Nandini Mocherla
Hi I was installing Postfix postfix-2.5.5 on Solaris. At the time of compiling the Source with make I have defined the parameters (for changing the default values of the following from /etc/ to /opt etc.) -DDEF_COMMAND_DIR= -DDEF_SAMPLE_DIR= -DDEF_SENDMAIL_PATH= -DDEF_CONFIG_DIR= -DDEF_DAEMON

Re: Mail sits in queue

2009-02-03 Thread Wietse Venema
Victor Duchovni: > On Tue, Feb 03, 2009 at 01:34:10PM -0500, Brian Evans - Postfix List wrote: > > > The php mail() command (on *nix) defaults to come in through the pickup > > daemon (using the sendmail(1) command). > > It can also be sent in via the smtpd daemon. > > > > Intentionally send a me

Re: Mail sits in queue

2009-02-03 Thread Victor Duchovni
On Tue, Feb 03, 2009 at 01:34:10PM -0500, Brian Evans - Postfix List wrote: > The php mail() command (on *nix) defaults to come in through the pickup > daemon (using the sendmail(1) command). > It can also be sent in via the smtpd daemon. > > Intentionally send a message through your app and imme

Re: Mail sits in queue

2009-02-03 Thread Melvyn Sopacua
On Tuesday 03 February 2009 09:34:10 Brian Evans - Postfix List wrote: > Doug Jaquays wrote: > On Tue, Feb 3, 2009 at 12:33 PM, Brian Evans - Postfix List > > > > wrote: > >> I hope you have more in your master.cf than listed in that pastebin. > >> It is severely lacking some entries. > >> >

Re: Mail sits in queue

2009-02-03 Thread Brian Evans - Postfix List
Doug Jaquays wrote: On Tue, Feb 3, 2009 at 12:33 PM, Brian Evans - Postfix List > wrote: > >> I hope you have more in your master.cf than listed in that pastebin. >> It is severely lacking some entries. >> >> Logs for a transaction entering to delivery would help as well. >>

Re: Mail sits in queue

2009-02-03 Thread Doug Jaquays
>>> On Tue, Feb 3, 2009 at 12:33 PM, Brian Evans - Postfix List wrote: > Doug Jaquays wrote: >> >> Hello, >> >> >> We recently moved our anti-virus server to Linux, eTrust ITM and >> SLES10sp1 with all available updates without going to sp2. When our >> clients have notifications that match o

Re: SMTP AUTH failing

2009-02-03 Thread punit jain
OK managed to solve the issue. :-) Thanks On Tue, Feb 3, 2009 at 4:42 PM, Patrick Ben Koetter wrote: > * punit jain : > > Ok I have changed password and also tested from outside. Relaying is > denied > > but SMTP AUTH doesnt work. In outlook i can send mail w/o clicking on "My > > server requir

Re: Mail sits in queue

2009-02-03 Thread Brian Evans - Postfix List
Doug Jaquays wrote: > > Hello, > > > We recently moved our anti-virus server to Linux, eTrust ITM and > SLES10sp1 with all available updates without going to sp2. When our > clients have notifications that match our policy, they are forwarded > to the server, which then sends the notification t

Re: Virtual Mailboxes

2009-02-03 Thread Brian Evans - Postfix List
carconni wrote: > Hi, > > I'm having a problem with virtual mailboxes. I need to create a > catchall mailbox. One of my engineers wants to run a script on the > mailbox so I really don't want to create an alias to a mailbox in the > /var/spool/imap/user directory. My engineer needs access to thi

Mail sits in queue

2009-02-03 Thread Doug Jaquays
Hello, We recently moved our anti-virus server to Linux, eTrust ITM and SLES10sp1 with all available updates without going to sp2. When our clients have notifications that match our policy, they are forwarded to the server, which then sends the notification to a php script that parses the

Re: Queue id

2009-02-03 Thread Noel Jones
Michael Fernández M wrote: Hi Checking the logs i've noticed that i have the same Queue Id for two connections... this could be? I Ask because i was looking for some specific entry and i found more than one entry Here is the log The QueueID is not, and is not intended to be, a

Introduction: pfxpold "extensible policy daemon"

2009-02-03 Thread Martin Schmitt
Hi all! I have created a "pluggable" policy server for Postfix and made it available at: https://sourceforge.net/projects/pfxpold/ http://pfxpold.wiki.sourceforge.net is a documentation fragment. The long story: It's really just a humble forking server written in Perl, wrapped around a check ro

Re: Queue id

2009-02-03 Thread Michael Fernández M
On Tue, 2009-02-03 at 17:09 +0100, Martin Schmitt (Schmitt Systemberatung) wrote: > Michael, > > From http://www.postfix.org/faq.html: > > "Postfix names a queue file after its inode number and after the > microsecond part of the time of day. Thus, if a queue file has a name > based on someone el

Re: strict domain

2009-02-03 Thread Noel Jones
bharathan kailath wrote: hi the following implemented on the postfix relay for stopping forgery and it work great! but from one of our subsidiary company's mail server one of the email id forwarding thru this postfix relay; whatever comes from yahoo/hotmail get rejected; can we put some except

Re: Queue id

2009-02-03 Thread Martin Schmitt (Schmitt Systemberatung)
Michael, From http://www.postfix.org/faq.html: "Postfix names a queue file after its inode number and after the microsecond part of the time of day. Thus, if a queue file has a name based on someone elses inode number there is a small chance that the file name will collide with another queue file

Virtual Mailboxes

2009-02-03 Thread carconni
Hi, I'm having a problem with virtual mailboxes. I need to create a catchall mailbox. One of my engineers wants to run a script on the mailbox so I really don't want to create an alias to a mailbox in the / var/spool/imap/user directory. My engineer needs access to this mailbox, but asi

Queue id

2009-02-03 Thread Michael Fernández M
Hi Checking the logs i've noticed that i have the same Queue Id for two connections... this could be? I Ask because i was looking for some specific entry and i found more than one entry Here is the log Feb 2 11:33:13 newcosmos postfix/smtpd[11863]: 54EF440BF: client=localhost[127

postfix + maillist + "return receipt"

2009-02-03 Thread maximatt
hi... i have the following request, that i couldnt resolve yet the context is (for example): - some mailusers like: us...@maximatt.com, us...@maximatt.com,..., use...@maximatt.com - maillist like: li...@maximatt.com that content the users us...@maximatt.com to us...@maximatt.com so.. if i

Postfix mail archiving with maildrop

2009-02-03 Thread Gabor Hasenfrasz
Dear All, A company asked me to configure an archiving system on a postfix server. After a little i've made a choice to maildrop as an archiving solution. I've configured main.cf to forward mails to a virtual user which will be the collector. I've made a transport map to use maildrop for this user

Re: Strange behaviour of smtpd_mumble_restrictions

2009-02-03 Thread Martin Schmitt (Schmitt Systemberatung)
Ralf Hildebrandt schrieb: > smtpd_mumble_restrictions = hash:/foo > is equivalent to: > smtpd_mumble_restrictions = check_mumble_access hash:/foo Oh dear. :-/ Thanks for your time and your support! Kind regards, -martin -- Martin Schmitt - Schmitt Systemberatung - http://www.scsy.de DE 35415

Re: Strange behaviour of smtpd_mumble_restrictions

2009-02-03 Thread Ralf Hildebrandt
* Martin Schmitt (Schmitt Systemberatung) : > But still: > > smtpd_client_restrictions = hash:/etc/postfix/clients > > Is this valid configuration syntax? According to what part of the docs? It's deprecated. I complain about this once in a while here and am being ignored (more or less) :) It's

Re: Strange behaviour of smtpd_mumble_restrictions

2009-02-03 Thread Martin Schmitt (Schmitt Systemberatung)
Ralf Hildebrandt schrieb: > * Martin Schmitt (Schmitt Systemberatung) : > >> smtpd_client_restrictions = hash:/etc/postfix/clients > > What about this one? This points into the right direction: 192.168.1 HOLD 127 HOLD Thanks for that. But still: smtpd_client_restrictions = hash:/et

Re: Strange behaviour of smtpd_mumble_restrictions

2009-02-03 Thread Ralf Hildebrandt
* Martin Schmitt (Schmitt Systemberatung) : > My current theory is that this might not be the configuration of the > running postfix instance. What does the log say when a mail is being held? -- Ralf Hildebrandt (ralf.hildebra...@charite.de) snick...@charite.de Postfix - Einrichtung, B

Re: Strange behaviour of smtpd_mumble_restrictions

2009-02-03 Thread Ralf Hildebrandt
* Martin Schmitt (Schmitt Systemberatung) : > My current theory is that this might not be the configuration of the > running postfix instance. :) -- Ralf Hildebrandt (ralf.hildebra...@charite.de) snick...@charite.de Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 57

Re: Strange behaviour of smtpd_mumble_restrictions

2009-02-03 Thread Martin Schmitt (Schmitt Systemberatung)
Ralf Hildebrandt schrieb: >> smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination >> smtpd_sender_restrictions = hash:/etc/postfix/access > > check master.cf? I've already done that. master.cf does not contain any smtpd clones or -o options. >> transport_maps = hash:/etc/p

Re: SMTP AUTH failing

2009-02-03 Thread Patrick Ben Koetter
* punit jain : > Ok I have changed password and also tested from outside. Relaying is denied > but SMTP AUTH doesnt work. In outlook i can send mail w/o clicking on "My > server requires authentication" . Also attached are logs: - Nothing in your log indicates you use SMTP AUTH. p...@rick > >

Re: SMTP AUTH failing

2009-02-03 Thread punit jain
On Tue, Feb 3, 2009 at 4:22 PM, punit jain wrote: > Ok I have changed password and also tested from outside. Relaying is denied > but SMTP AUTH doesnt work. In outlook i can send mail w/o clicking on "My > server requires authentication" . Also attached are logs: - > > Feb 3 15:41:10 mail imap-lo

Re: Strange behaviour of smtpd_mumble_restrictions

2009-02-03 Thread Ralf Hildebrandt
* Martin Schmitt (Schmitt Systemberatung) : > Hi all! > > I'm confronted with a legacy system (/etc/postfix has not received any > edits since 2006, current uptime is 150 days) that looks like this: > > # grep -v '^#' /etc/postfix/access > 0.0.0.0/0 HOLD > > # postconf -n | grep access > smt

Re: Sending hangs for no apparent reason..

2009-02-03 Thread Gaute Amundsen
On Monday 02 February 2009 17:45:15 Victor Duchovni wrote: > > > > Apparently nothing in particular: > > > > http://pastebin.ca/1325397 > > Jan 25 00:56:53 hotell01 postfix/qmgr[738]: B75CA147967: > from=, size=29074, nrcpt=1 (queue active) > > The delivery agent scheduled to handle this

Strange behaviour of smtpd_mumble_restrictions

2009-02-03 Thread Martin Schmitt (Schmitt Systemberatung)
Hi all! I'm confronted with a legacy system (/etc/postfix has not received any edits since 2006, current uptime is 150 days) that looks like this: # grep -v '^#' /etc/postfix/access 0.0.0.0/0 HOLD # postconf -n | grep access smtpd_sender_restrictions = hash:/etc/postfix/access # postconf

Re: SMTP AUTH failing

2009-02-03 Thread Charles Marcus
On 2/3/2009, punit jain (contactpunitj...@gmail.com) wrote: > But when i use telnet to send mail , it goes w/o authentication: - You forgot logs of the session... -- Best regards, Charles

Re: SMTP AUTH failing

2009-02-03 Thread Patrick Ben Koetter
* punit jain : > Hi All, > > I have a mailserver which is getting abused by spammers. It is right now an > open relay and has been blocked by major sites. > > naughtygoo...@yahoo.in > (host f.mx.mail.yahoo.com[209.191.88.247] refused to talk to me: 421 4.7

SMTP AUTH failing

2009-02-03 Thread punit jain
Hi All, I have a mailserver which is getting abused by spammers. It is right now an open relay and has been blocked by major sites. naughtygoo...@yahoo.in (host f.mx.mail.yahoo.com[209.191.88.247] refused to talk to me: 421 4.7.1 [TS03] All messages from 1