Re: postfix-2.8.1 cc: acomp failed for postconf.c

2011-02-24 Thread Victor Duchovni
On Fri, Feb 25, 2011 at 01:17:08AM -0500, Dennis Clarke wrote: > >> $ ls -l /dev/urandom > >> lrwxrwxrwx 1 root root 34 Feb 19 2008 /dev/urandom -> > >> ../devices/pseudo/random@0:urandom > > > > Which version of SunOS first introduced unconditional support for > > /dev/urandom? >

Re: postfix-2.8.1 cc: acomp failed for postconf.c

2011-02-24 Thread Dennis Clarke
> On Fri, Feb 25, 2011 at 12:35:48AM -0500, Dennis Clarke wrote: > >> /opt/studio/SOS11/SUNWspro/bin/cc -DNO_CLOSEFROM -DNO_DEV_URANDOM >> -DNO_FUTIMESAT -Dstrcasecmp=fix_strcasecmp >> -Dstrncasecmp=fix_strncasecmp -g -O -I. -I../../include -DSUNOS5 -c >> postconf.c >> "str_table.h", line 46: non-

Re: postfix-2.8.1 cc: acomp failed for postconf.c

2011-02-24 Thread Victor Duchovni
On Fri, Feb 25, 2011 at 12:35:48AM -0500, Dennis Clarke wrote: > /opt/studio/SOS11/SUNWspro/bin/cc -DNO_CLOSEFROM -DNO_DEV_URANDOM > -DNO_FUTIMESAT -Dstrcasecmp=fix_strcasecmp > -Dstrncasecmp=fix_strncasecmp -g -O -I. -I../../include -DSUNOS5 -c > postconf.c > "str_table.h", line 46:

postfix-2.8.1 cc: acomp failed for postconf.c

2011-02-24 Thread Dennis Clarke
stock Solaris 8 with Sun Studio 11 fails build thus : $ env | sort CC=/opt/studio/SOS11/SUNWspro/bin/cc CFLAGS=-erroff -xstrconst -xildoff -xarch=386 -xnolibmil -Xa -KPIC -xregs=no%frameptr -xlibmieee -mc -xs -g -nofstore -ftrap=%none -fsimple=0 -Qy -V -xbuiltin=%none -xchip=pentium_pro -xdebugfo

Re: Starting postfix

2011-02-24 Thread Victor Duchovni
On Fri, Feb 25, 2011 at 12:58:22AM +0100, Christian Roessner wrote: > I am currently preparing an upstart script for Ubuntu. I tried several > ways do use /usr/sbin/postfix, but I never would get the master PID. So > I looked at the postfix.c code. There is a no single "master pid". A fully-gener

Re: Starting postfix

2011-02-24 Thread Wietse Venema
Christian Roessner: > > If you must persist along this path then I request that you stop > > distributing Postfix. I will get all the complaints about the things > > that you break, and I will have to deal with the consequences for > > Postfix's reputation. > > Don't fear it. I am not going to do

Re: Starting postfix

2011-02-24 Thread Christian Roessner
> If you must persist along this path then I request that you stop > distributing Postfix. I will get all the complaints about the things > that you break, and I will have to deal with the consequences for > Postfix's reputation. Don't fear it. I am not going to do something that breaks postfix. T

Re: Starting postfix

2011-02-24 Thread Wietse Venema
Christian Roessner: > Hi, > > > The only supported way to start Postfix is "postfix start", using > > the commands provided with /etc/postfix/postfix-script. > > > > DO NOT TINKER WITH THIS. > > > > SUSE people discovered years ago that their home-grown approach to > > stop Postfix would termi

Re: Starting postfix

2011-02-24 Thread Christian Roessner
Hi, > The only supported way to start Postfix is "postfix start", using > the commands provided with /etc/postfix/postfix-script. > > DO NOT TINKER WITH THIS. > > SUSE people discovered years ago that their home-grown approach to > stop Postfix would terminate a lot more processes than just Po

Re: Starting postfix

2011-02-24 Thread Wietse Venema
Christian Roessner: > > I am currently preparing an upstart script for Ubuntu. I tried several way >-s do use /usr/sbin/postfix, but I never would get the master PID. So I looke >-d at the postfix.c code. The only supported way to start Postfix is "postfix start", using the commands provided with

Starting postfix

2011-02-24 Thread Christian Roessner
Hi, I am currently preparing an upstart script for Ubuntu. I tried several ways do use /usr/sbin/postfix, but I never would get the master PID. So I looked at the postfix.c code. Is it a problem to start /usr/lib/postfix/master -c /etc/postfix from the init system? I believe I have seen in ups

Re: Update Postfix transport file on multiple servers

2011-02-24 Thread Victor Duchovni
On Thu, Feb 24, 2011 at 02:52:17PM -0800, Luis Esteves wrote: > > Many Thanks Victor for the answer. An answer anyway, there are a few ways to address this... Some people would use tools like "cfengine" or similar. Basically, anything that lets you manage configuration files on multiple Unix hos

Re: Update Postfix transport file on multiple servers

2011-02-24 Thread Luis Esteves
Many Thanks Victor for the answer. Luis Victor Duchovni wrote: > > On Thu, Feb 24, 2011 at 02:18:07PM -0800, Luis Esteves wrote: > >> In our organisation we have 4 postfix servers. >> >> Each time i need to add a new configuration to the transport file (for a >> new >> domain), i need to upd

Re: Update Postfix transport file on multiple servers

2011-02-24 Thread Victor Duchovni
On Thu, Feb 24, 2011 at 02:18:07PM -0800, Luis Esteves wrote: > In our organisation we have 4 postfix servers. > > Each time i need to add a new configuration to the transport file (for a new > domain), i need to update the transport file on each server. > This is cumbersome. Connect on each se

Update Postfix transport file on multiple servers

2011-02-24 Thread Luis Esteves
Hi everybody, In our organisation we have 4 postfix servers. Each time i need to add a new configuration to the transport file (for a new domain), i need to update the transport file on each server. This is cumbersome. Connect on each server with ssh, update the transport file, et run make to

Re: postscreen deep protocol tests without mail delays

2011-02-24 Thread Wietse Venema
Victor Duchovni: > On Thu, Feb 24, 2011 at 12:52:54PM -0500, Wietse Venema wrote: > > > Victor Duchovni: > > > If one wants to avoid whitelisting bots that only connect to backup MX > > > hosts, appropriate configuration in the backup MX postscreen. I am not > > > sure how this part of the design

Re: question about single user

2011-02-24 Thread Victor Duchovni
On Thu, Feb 24, 2011 at 12:47:16PM -0600, Stan Hoeppner wrote: > >> ~# postconf -d|grep default_database_type > >> > >> If that command returns "default_database_type = hash" then yes, you > >> should postmap the file. > > > > Not "postconf -d", just "postconf". The default database type should >

Re: postscreen deep protocol tests without mail delays

2011-02-24 Thread Victor Duchovni
On Thu, Feb 24, 2011 at 12:52:54PM -0500, Wietse Venema wrote: > Victor Duchovni: > > If one wants to avoid whitelisting bots that only connect to backup MX > > hosts, appropriate configuration in the backup MX postscreen. I am not > > sure how this part of the design works, is that we expect that

Re: question about single user

2011-02-24 Thread Stan Hoeppner
Victor Duchovni put forth on 2/23/2011 12:39 PM: > On Wed, Feb 23, 2011 at 12:17:18PM -0600, Stan Hoeppner wrote: > >> Matteo Cazzador put forth on 2/23/2011 11:49 AM: >>> Thank's a lot , i need to do the postmap command on sender_access files? >> >>> Il 22/02/2011 22:24, Victor Duchovni ha scrit

Re: postscreen deep protocol tests without mail delays

2011-02-24 Thread Wietse Venema
Victor Duchovni: > If one wants to avoid whitelisting bots that only connect to backup MX > hosts, appropriate configuration in the backup MX postscreen. I am not > sure how this part of the design works, is that we expect that bot to > fail the test via the backup IP, or are we trying to not white

Re: Rejected mails

2011-02-24 Thread Charles Marcus
On 2011-02-24 9:46 AM, sunhux G wrote: > I removed the "-D" from master.cf & restarted postfix You *still* have verbose logging enabled. No one is going to even *try* to help you if you cannot follow the simplest of instructions. If you are positive that you have removed the -v from the correct

Re: postscreen deep protocol tests without mail delays

2011-02-24 Thread Wietse Venema
Matthias Egger: > On 02/24/2011 05:29 PM, Wietse Venema wrote: > > Listening on primary and backup MX addresses > > > > This week I was doing some expiriments: I configured Postfix to > > make postscreen listen on both primary AND backup MX addresses. >

Re: postscreen deep protocol tests without mail delays

2011-02-24 Thread Victor Duchovni
On Thu, Feb 24, 2011 at 06:02:42PM +0100, Matthias Egger wrote: >> Listening on primary and backup MX addresses >> >> This week I was doing some expiriments: I configured Postfix to >> make postscreen listen on both primary AND backup MX addresses. >> T

Re: postscreen deep protocol tests without mail delays

2011-02-24 Thread Matthias Egger
On 02/24/2011 05:29 PM, Wietse Venema wrote: Listening on primary and backup MX addresses This week I was doing some expiriments: I configured Postfix to make postscreen listen on both primary AND backup MX addresses. This was a matter of adding a seco

Re: automatically rewrite sender address depending on RCPT TO

2011-02-24 Thread Victor Duchovni
On Thu, Feb 24, 2011 at 10:37:55AM -0600, Noel Jones wrote: > Some mail clients have similar features for mail list support. This isn't > something postfix can do. Indeed with just a bit of sweat, Mutt's list-reply feature and send-hooks get the job done: lists postfix-users@postfix.org

Re: automatically rewrite sender address depending on RCPT TO

2011-02-24 Thread Noel Jones
On 2/24/2011 10:06 AM, Victor Duchovni wrote: On Thu, Feb 24, 2011 at 05:00:47PM +0100, Christian Roessner wrote: In detail I have a couple of defined addresses that I all use for mailing lists. c+some_extens...@roessner-network-solutions.com There are two problems with it: 1. I must choose t

postscreen deep protocol tests without mail delays

2011-02-24 Thread Wietse Venema
Subject: postscreen deep protocol tests without mail delays The problem === The Postfix postscreen daemon is a light-weight front end that eliminates spambots before they can suck up limited Postfix SMTP server resources. This feature is available with the Postfix 2.8 stable release, and i

Re: automatically rewrite sender address depending on RCPT TO

2011-02-24 Thread Victor Duchovni
On Thu, Feb 24, 2011 at 05:00:47PM +0100, Christian Roessner wrote: > In detail I have a couple of defined addresses that I all use for > mailing lists. > > c+some_extens...@roessner-network-solutions.com > > There are two problems with it: > 1. I must choose the correct address that belongs to

automatically rewrite sender address depending on RCPT TO

2011-02-24 Thread Christian Roessner
Hi, since I started using mail addresses with an extension, it lately happened that I forgot to choose the "right" address for sending out mail. In detail I have a couple of defined addresses that I all use for mailing lists. c+some_extens...@roessner-network-solutions.com There are two problem

Re: Virtual Alias maps

2011-02-24 Thread Victor Duchovni
On Thu, Feb 24, 2011 at 09:52:30AM +0200, Etienne Pretorius wrote: > I have a email address say staff@domain that maps perfectly to all its > intended recipients, > but on the same machine I have user1@domain that is suppose to map to > user1@domain,user2@domain but it does not. Address mapping

Re: Send to other server

2011-02-24 Thread Victor Duchovni
On Thu, Feb 24, 2011 at 09:26:59AM +, Jonathan Tripathy wrote: > I have a postfix box which handles some smtp accounts for example.com. Not > all example.com accounts are located on this postfix box, but are located > elsewhere on another server. > > At the minute, for the accounts which are

Re: lost connection while sending end of data -- message may be sent more than once

2011-02-24 Thread Victor Duchovni
On Thu, Feb 24, 2011 at 10:29:50AM +0100, Stanis??aw Findeisen wrote: > The puzzling thing is also this one: > > $ host 74.125.43.27 > 27.43.125.74.in-addr.arpa domain name pointer bw-in-f27.1e100.net. Lets guess what "1e100.net" is: looks like "scientific notation" for 1 times 10 to the 100th p

Re: question about single user

2011-02-24 Thread Noel Jones
On 2/24/2011 9:00 AM, Matteo Cazzador wrote: Thank's ! but i don't need permit_sasl_authenticated,permit_mynetworks? it's default? [please bottom-post on this list] No, you don't need those in smtpd_sender_restrictions. -- Noel Jones

Re: Rejected mails

2011-02-24 Thread Noel Jones
On 2/24/2011 8:46 AM, sunhux G wrote: I removed the "-D" from master.cf& restarted postfix& stumble upon something weird just after the restart which made me believe there could be multiple smtp processes : I think you're wasting everyone's time, including your own. Provide the information yo

Re: question about single user

2011-02-24 Thread Matteo Cazzador
Thank's ! but i don't need permit_sasl_authenticated,permit_mynetworks? it's default? Il 24/02/2011 15:53, Noel Jones ha scritto: On 2/24/2011 6:35 AM, Matteo Cazzador wrote: I made this smtpd_sender_restrictions = hash:/etc/postfix/sender_access,permit_sasl_authenticated,permit_mynetworks,pe

Re: question about single user

2011-02-24 Thread Noel Jones
On 2/24/2011 6:35 AM, Matteo Cazzador wrote: I made this smtpd_sender_restrictions = hash:/etc/postfix/sender_access,permit_sasl_authenticated,permit_mynetworks,permit like this: smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_access You don't need the permit* here.

Re: Rejected mails

2011-02-24 Thread sunhux G
I removed the "-D" from master.cf & restarted postfix & stumble upon something weird just after the restart which made me believe there could be multiple smtp processes : (btw, the shutting down flashed out as "failed" in red, while the startup flashed out as "OK" in green) : # netstat -antp

Re: Virtual Alias maps

2011-02-24 Thread Etienne Pretorius
On 24/02/2011 09:57, Corey Quinn wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Feb 23, 2011, at 11:52 PM, Etienne Pretorius wrote: Hello List, I have a email address say staff@domain that maps perfectly to all its intended recipients, but on the same machine I have user1@domain th

Re: question about single user

2011-02-24 Thread Matteo Cazzador
I made this smtpd_sender_restrictions = hash:/etc/postfix/sender_access,permit_sasl_authenticated,permit_mynetworks,permit is it correct? in sender_access i wrote i...@myexample.com REJECT thank's Il 23/02/2011 19:39, Victor Duchovni ha scritto: On Wed, Feb 23, 2011 at 12:17:18PM -0600, S

Re: lost connection while sending end of data -- message may be sent more than once

2011-02-24 Thread Wietse Venema
Stanis??aw Findeisen: > Hi > > I am getting such errors in the log: > > Feb 24 10:03:21 * postfix/smtp[9203]: C2EFF1823C1: lost connection with > ASPMX.L.GOOGLE.COM[74.125.43.27] while sending end of data -- message > may be sent more than once > > This happens many times a day with various serv

Re: Send to other server

2011-02-24 Thread Jonathan Tripathy
On 24/02/11 09:58, Reindl Harald wrote: Am 24.02.2011 10:54, schrieb Jonathan Tripathy: On 24/02/11 09:42, Reindl Harald wrote: We implemented this in our postfix/dbmail-setup this way You can do this also with config-files but i never setup any server without mysql-backends transport_maps =

Re: Send to other server

2011-02-24 Thread Reindl Harald
Am 24.02.2011 10:54, schrieb Jonathan Tripathy: > > On 24/02/11 09:42, Reindl Harald wrote: >> We implemented this in our postfix/dbmail-setup this way >> You can do this also with config-files but i never setup >> any server without mysql-backends >> >> transport_maps = mysql:/etc/postfix/mysql

Re: Send to other server

2011-02-24 Thread Jonathan Tripathy
On 24/02/11 09:42, Reindl Harald wrote: We implemented this in our postfix/dbmail-setup this way You can do this also with config-files but i never setup any server without mysql-backends transport_maps = mysql:/etc/postfix/mysql-transport.cf cat /etc/postfix/mysql-transport.cf user =

Re: Send to other server

2011-02-24 Thread Reindl Harald
We implemented this in our postfix/dbmail-setup this way You can do this also with config-files but i never setup any server without mysql-backends transport_maps = mysql:/etc/postfix/mysql-transport.cf cat /etc/postfix/mysql-transport.cf user = dbmailro password = dbname

lost connection while sending end of data -- message may be sent more than once

2011-02-24 Thread Stanisław Findeisen
Hi I am getting such errors in the log: Feb 24 10:03:21 * postfix/smtp[9203]: C2EFF1823C1: lost connection with ASPMX.L.GOOGLE.COM[74.125.43.27] while sending end of data -- message may be sent more than once This happens many times a day with various servers --- not just google.com. Otherwise e

Send to other server

2011-02-24 Thread Jonathan Tripathy
Hi Everyone, I have a postfix box which handles some smtp accounts for example.com. Not all example.com accounts are located on this postfix box, but are located elsewhere on another server. At the minute, for the accounts which aren’t on this server, postfix is saying "user unknown in virtu