postfix-2.7.1 mail_params.c:531: error: expected expression before '/' token

2010-07-12 Thread Dennis Clarke
I attempted to build from sources and was stopped by an odd error : /opt/csw/gcc4/bin/gcc -DDEF_COMMAND_DIR=/usr/local/sbin -DDEF_DAEMON_DIR=/usr/local/libexec/postfix -DDEF_DATA_DIR=/var/lib/postfix -DDEF_MAILQ_PATH=/usr/local/bin/mailq -DDEF_NEWALIAS_PATH=/usr/local/bin/newaliases -DHAS_DB

Maildir permissions

2010-07-12 Thread Eddy Ilg
Hi, I'd like postfix to create files in maildirs with permission bits 660, instead it creates them with 600. I need the group access for a backup user. I am using virtual mailboxes with virtual_uid_maps = static:5000 virtual_gid_maps = static:5000 How can I configure the permissions?

Re: private/smtp-amavis: No such file or directory helps for master.cf

2010-07-12 Thread David Touzeau
On 12/07/2010 03:44, Sahil Tandon wrote: On Mon, 2010-07-12 at 02:55:40 +0200, David Touzeau wrote: Jul 12 02:48:31 appliance postfix-mail.touzeau.biz/qmgr[15659]: warning: connect to transport private/smtp-amavis: No such file or directory

Re: private/smtp-amavis: No such file or directory helps for master.cf

2010-07-12 Thread Wietse Venema
David Touzeau: Jul 12 02:48:31 appliance postfix-mail.touzeau.biz/qmgr[15659]: warning: connect to transport private/smtp-amavis: No such file or directory It looks for the name /var/spool/postfix.../private/smtp-amavis r...@appliance:/var/spool/postfix-mail.touzeau.biz/private# ls -la ...

Re: postfix-2.7.1 mail_params.c:531: error: expected expression before '/' token

2010-07-12 Thread Wietse Venema
Dennis Clarke: I attempted to build from sources and was stopped by an odd error : /opt/csw/gcc4/bin/gcc -DDEF_COMMAND_DIR=/usr/local/sbin That is not what the INSTALL instructions tell you to do. Wietse

Re: private/smtp-amavis: No such file or directory helps for master.cf

2010-07-12 Thread Sahil Tandon
On Mon, 2010-07-12 at 10:19:34 +0200, David Touzeau wrote: On 12/07/2010 03:44, Sahil Tandon wrote: Why are you using 'inet' service name syntax with the 'unix' service type? Remove ':127.0.0.1:1026' and restart Postfix. And unless you want chroot, you can change the third '-' to 'n'. To

Re: Maildir permissions

2010-07-12 Thread Wietse Venema
Eddy Ilg: Hi, I'd like postfix to create files in maildirs with permission bits 660, instead it creates them with 600. I need the group access for a backup user. I am using virtual mailboxes with virtual_uid_maps = static:5000 virtual_gid_maps = static:5000 How can I configure

Re: private/smtp-amavis: No such file or directory helps for master.cf

2010-07-12 Thread David Touzeau
On 12/07/2010 12:49, Wietse Venema wrote: David Touzeau: Jul 12 02:48:31 appliance postfix-mail.touzeau.biz/qmgr[15659]: warning: connect to transport private/smtp-amavis: No such file or directory It looks for the name /var/spool/postfix.../private/smtp-amavis

Re: postfix-2.7.1 mail_params.c:531: error: expected expression before '/' token

2010-07-12 Thread Dennis Clarke
Dennis Clarke: I attempted to build from sources and was stopped by an odd error : /opt/csw/gcc4/bin/gcc -DDEF_COMMAND_DIR=/usr/local/sbin That is not what the INSTALL instructions tell you to do. Wietse :-O oh .. let me look closely ... 4.4 - Overriding built-in

sender restrictions based on IP of sender

2010-07-12 Thread Wojtek Bogusz
hi, could you please help me to understand is this possible with postfix configuration: i have postfix installed on the gateway computer and also on the internal mail server. the internal mail server accepts emails only from LAN addresses and does not require authentication from users to send

Relaying mail from the same domain to another server

2010-07-12 Thread John A.
Hi. I'm trying to setup a multi-server mail architecture with a mail gateway and 2 final dest. servers hosting mailboxes, all on the same domain. I'm using virtual mailboxes wih MySQL backend (same for the 3 servers). I set up the gateway which forwards to end servers. The problem is that I

Re: private/smtp-amavis: No such file or directory helps for master.cf

2010-07-12 Thread Victor Duchovni
On Mon, Jul 12, 2010 at 03:17:49PM +0200, David Touzeau wrote: smtp-amavis unix- - n - 7 smtp -o smtp_data_done_timeout=1200 -o smtp_send_xforward_command=yes -o disable_dns_lookups=yes I notice people still using disable_dns_lookups=yes long after the

Re: Relaying mail from the same domain to another server

2010-07-12 Thread Jeroen Geilman
On 07/12/2010 04:41 PM, John A. wrote: Hi. I'm trying to setup a multi-server mail architecture with a mail gateway and 2 final dest. servers hosting mailboxes, all on the same domain. I'm using virtual mailboxes wih MySQL backend (same for the 3 servers). I set up the gateway which forwards

Re: private/smtp-amavis: No such file or directory helps for master.cf

2010-07-12 Thread Michael Orlitzky
On 07/12/2010 10:58 AM, Victor Duchovni wrote: On Mon, Jul 12, 2010 at 03:17:49PM +0200, David Touzeau wrote: smtp-amavis unix- - n - 7 smtp -o smtp_data_done_timeout=1200 -o smtp_send_xforward_command=yes -o disable_dns_lookups=yes I notice people

Re: private/smtp-amavis: No such file or directory helps for master.cf

2010-07-12 Thread Wietse Venema
Michael Orlitzky: On 07/12/2010 10:58 AM, Victor Duchovni wrote: On Mon, Jul 12, 2010 at 03:17:49PM +0200, David Touzeau wrote: smtp-amavisunix- - n - 7 smtp -o smtp_data_done_timeout=1200 -o smtp_send_xforward_command=yes -o

where to put domain name that's only it virtual map

2010-07-12 Thread Phil Howard
I've added a domain name which has email addresses that are only in the virtual map. There are no real mailboxes over on Dovecot (via transport) for this one. Attempts to send mail to postmas...@newdomain.example.com gets Relay access denied, so it clearly doesn't recognize the domain (I didn't

Re: where to put domain name that's only it virtual map

2010-07-12 Thread Jeroen Geilman
On 07/12/2010 09:53 PM, Phil Howard wrote: I've added a domain name which has email addresses that are only in the virtual map. There are no real mailboxes over on Dovecot (via transport) for this one. Attempts to send mail to postmas...@newdomain.example.com gets Relay access denied, so it

Re: postfix-2.7.1 mail_params.c:531: error: expected expression before '/' token

2010-07-12 Thread Stan Hoeppner
Maybe putting them side-by-side will help. Docs: make makefiles CCARGS='-DDEF_CONFIG_DIR=\/some/where\' You: make makefiles CCARGS='-DDEF_COMMAND_DIR=\/usr/local/sbin\ Let's see what I did wrong : You spotted the leading squote but you missed the trailing squote. -- Stan

Re: where to put domain name that's only it virtual map

2010-07-12 Thread Phil Howard
On Mon, Jul 12, 2010 at 16:25, Jeroen Geilman jer...@adaptr.nl wrote: On 07/12/2010 09:53 PM, Phil Howard wrote: I've added a domain name which has email addresses that are only in the virtual map. There are no real mailboxes over on Dovecot (via transport) for this one. Attempts to send mail

Re: where to put domain name that's only it virtual map

2010-07-12 Thread Wietse Venema
Phil Howard: On Mon, Jul 12, 2010 at 16:25, Jeroen Geilman jer...@adaptr.nl wrote: On 07/12/2010 09:53 PM, Phil Howard wrote: I've added a domain name which has email addresses that are only in the virtual map. There are no real mailboxes over on Dovecot (via transport) for this one.