Re: Ubuntu, dynamicmaps?

2009-03-12 Thread Patrick Ben Koetter
* KLaM Postmaster postmas...@klam.ca: I am thinking of switching to Ubuntu 8.10 LTS server, however when I look at the Postfix configuration it seems somewhat odd. I don't want to start a flame war, but I would like to hear what people think about things like dynamicmaps and other oddities of

Re: hold all relayed mail by default

2009-03-12 Thread Costin Guşă
On Mon, Mar 9, 2009 at 6:49 PM, Noel Jones njo...@megan.vbhcs.org wrote: Costin Guşă wrote: however i'm wondering if my proposed implementation would *really* catch not only all relayed mail but also internal clients sending mail to internal clients ? To only catch outbound mail, use

DNS setting

2009-03-12 Thread Alberto Lepe
Hello! I have 2 servers (with external IP each of them) and 1 domain:    domain.tld - A: 100.200.30.1 (Server1-Ubuntu) running a Web Server mail.domain.tld - A: 100.200.30.2 (Server2-Ubuntu) running postfix/dovecot MX: 10 All the setup seems to work fine. but when I

Re: Blocking certain users from sending to certain internal mail addresses

2009-03-12 Thread mouss
j...@bordengrammar.kent.sch.uk a écrit : Hi List, I have Postfix 2.3.3 with amavis-new, spamassassin and clamav and am trying to block a group of users from sending to two internal maillists called staff and pupils. I have two files, restricted_maillists which is in the format:

Re: DNS setting

2009-03-12 Thread mouss
Alberto Lepe a écrit : Hello! I have 2 servers (with external IP each of them) and 1 domain: domain.tld - A: 100.200.30.1 (Server1-Ubuntu) running a Web Server mail.domain.tld - A: 100.200.30.2 (Server2-Ubuntu) running postfix/dovecot MX: 10 All the

Receive all for postmaster

2009-03-12 Thread Sergey
Hello. First of all, sorry for my poor english. How can I cofigure my postfix to receive all messages for postmaster and not apply smtpd_*_restrictions for it? Currently I see in my log: Mar 12 09:18:17 zero postfix/smtpd[31761]: NOQUEUE: reject: RCPT from unknown[94.121.227.110]: 450 4.7.1

Re: relayhost

2009-03-12 Thread Ralf Hildebrandt
* Rocco Scappatura rocco.scappat...@infracom.it: Hello, I need to use 'mail()' PHP function on a UNIX system, which uses Postfix as MTA. On Linux systems, mail() function use the 'sendmail' program to transmit messages. And so, my PHP program uses postfix setup to transmit the messages.

Re: relayhost

2009-03-12 Thread Ralf Hildebrandt
* Ralf Hildebrandt ralf.hildebra...@charite.de: * Rocco Scappatura rocco.scappat...@infracom.it: Hello, I need to use 'mail()' PHP function on a UNIX system, which uses Postfix as MTA. On Linux systems, mail() function use the 'sendmail' program to transmit messages. And so, my

Re: Ubuntu, dynamicmaps?

2009-03-12 Thread Ralf Hildebrandt
* Victor Duchovni victor.ducho...@morganstanley.com: No, it is a fine Postfix port. There is no reason to avoid it. Indeed! The dynamic tables make it easy to add additional table types without re-installing Postfix or building a Postfix that supports all possible table types. This Postfix

Re: Ubuntu, dynamicmaps?

2009-03-12 Thread Ralf Hildebrandt
* KLaM Postmaster postmas...@klam.ca: From the replies that I have received so far, I get the impression that while no one has anything bad to say about the Ubuntu implementation of Postfix, nobody is very enthusiastic. Well, it works OK and doesn't generate any problems. For me. -- Ralf

RE: relayhost

2009-03-12 Thread Rocco Scappatura
Noel, I need to use 'mail()' PHP function on a UNIX system, which uses Postfix as MTA. On Linux systems, mail() function use the 'sendmail' program to transmit messages. And so, my PHP program uses postfix setup to transmit the messages. In particular, it looks up DNS for MX of

Re: Ubuntu, dynamicmaps?

2009-03-12 Thread Barney Desmond
2009/3/12 Ralf Hildebrandt ralf.hildebra...@charite.de: The dynamic tables make it easy to add additional table types without re-installing Postfix or building a Postfix that supports all possible table types. This Postfix is at least as good as that on other Linux systems. Actually, it's

Re: Ubuntu, dynamicmaps?

2009-03-12 Thread Ralf Hildebrandt
* Barney Desmond barneydesm...@gmail.com: Bingo, RHEL5 comes with Postfix 2.3.3 and doesn't have support for mysql/pgsql tables - which are kinda popular, y'know. E in RHEL5 stands for except *sql, not enterprise -- Ralf Hildebrandt (ralf.hildebra...@charite.de) snick...@charite.de

User unknown in virtual alias table (with only one domain)

2009-03-12 Thread mhbeyle
Dear postfix users, I have a mail-server with postfix 2.5 configured and working without problems. I only have an error witn one domain: [cdpoolmusic.com] . When I send messages to that domain, I received this log notice: postfix/error[21456]: 656B03A404D: to=[us...@cdpoolmusic.com, relay=none,

Re: User unknown in virtual alias table (with only one domain)

2009-03-12 Thread Wietse Venema
mhbe...@gmail.com: Dear postfix users, I have a mail-server with postfix 2.5 configured and working without problems. I only have an error witn one domain: [cdpoolmusic.com] . When I send messages to that domain, I received this log notice: postfix/error[21456]: 656B03A404D:

Graphing Individual Mail Domains

2009-03-12 Thread Warren @ Cape Innovations
Hi, Run 70+ Virtual Domains in POSTFIX Postfix logs to /var/log/mail.log Would like to see graphs stats separately for each domain. I have been attempting to use Awstats with included maillogconvert.pl script. Since I use amavisd-new I first process the mail.log with prepflog.pl The

ldap searches with null user

2009-03-12 Thread Angel L. Mateo
Hello, We have a postfix servers' backend for our domain (debian etch servers, postfix 2.3.8). We have several domains and its users are in a ldap database. So we have defined several ldap maps in postfix to check relocated users, mail aliases and virtual users. With this

Re: ldap searches with null user

2009-03-12 Thread Wietse Venema
Angel L. Mateo: Hello, We have a postfix servers' backend for our domain (debian etch servers, postfix 2.3.8). We have several domains and its users are in a ldap database. So we have defined several ldap maps in postfix to check relocated users, mail aliases and virtual users.

Re: ldap searches with null user

2009-03-12 Thread Angel L. Mateo
El jue, 12-03-2009 a las 09:00 -0400, Wietse Venema escribió: Postfix virtual alias table lookups are documented in virtual(5). http://www.postfix.org/virtual.5.html. See also ldap_table(5) for details specific to LDAP lookups. http://www.postfix.org/ldap_table.5.html I know them.

Re: ldap searches with null user

2009-03-12 Thread Brian Evans - Postfix List
Angel L. Mateo wrote: El jue, 12-03-2009 a las 09:00 -0400, Wietse Venema escribió: Postfix virtual alias table lookups are documented in virtual(5). http://www.postfix.org/virtual.5.html. See also ldap_table(5) for details specific to LDAP lookups.

2 ports ans 2 configurations for SMTP

2009-03-12 Thread fmgre-liste01
Hello we have a in house mail system based on postfix. We would like to optionnaly integrate AUTH for SMTP I wonder if it would be possible to have SMTP/postfix listen on port 25 and say port 26 with the following setttings * port 25 does not require AUTH * port 26 requires AUTH (

Re: 2 ports ans 2 configurations for SMTP

2009-03-12 Thread Brian Evans - Postfix List
fmgre-list...@yahoo.fr wrote: Hello we have a in house mail system based on postfix. We would like to optionnaly integrate AUTH for SMTP I wonder if it would be possible to have SMTP/postfix listen on port 25 and say port 26 with the following setttings * port 25 does not

Re: 2 ports ans 2 configurations for SMTP

2009-03-12 Thread Harry Hoffman
you are probably better just using port 587 (submission) for auth as it's a common thing to expect. for example, master.cf comes pre-setup for enabling smtp auth on the submission port. Cheers, Harry On Thu, 2009-03-12 at 13:30 +, fmgre-list...@yahoo.fr wrote: Hello we have a in

Policy server as bash-script

2009-03-12 Thread Andre Hübner
Hello, i try to create a small policy server as a bash script. The script is alsmost done and is working. the only problem i have is the correct reply to postfix. http://www.postfix.org/SMTPD_POLICY_README.html shows: The policy server replies with any action that is allowed in a Postfix

Re: 2 ports ans 2 configurations for SMTP

2009-03-12 Thread Warren @ Cape Innovations
in master.cf file by default only the normal smtp service is enabled. You can enable submission on port 587 Sometimes people enable smtps service (port 465), for some compatibility with some older clients (outlook express etc) although most new clients you can define the port. my config

Re: Policy server as bash-script

2009-03-12 Thread Wietse Venema
Andre H?bner: Hello, i try to create a small policy server as a bash script. The script is alsmost done and is working. the only problem i have is the correct reply to postfix. http://www.postfix.org/SMTPD_POLICY_README.html shows: The policy server replies with any action that is

Re: Blocking certain users from sending to certain internal mail addresses

2009-03-12 Thread jpb
Hi Again, Sorry to be a pain but I'm stuck again. If I try to send to the maillists from any account, I get blocked instead of only the pupils so it seems that the restricted user list is being ignored when applying the rules. I've tried all sorts of combinations of restrictions but it's either

Re: override the catch-all ?

2009-03-12 Thread Noel Jones
Victor Duchovni wrote: On Wed, Mar 11, 2009 at 05:21:25PM -0500, Noel Jones wrote: Curtis wrote: On Tue, Mar 10, 2009 at 8:43 PM, Victor Duchovni transport: bo...@example.com error:5.1.1 Invalid recipient address address.invalid error:5.1.1 Invalid recipient

RE: User unknown in virtual alias table (with only one domain)

2009-03-12 Thread mhbeyle
Ok, sorry, another list-newbie :) The problem (User unknown in virtual alias table)only happens with one rcpt domain [cdpoolmusic.com]: Log at /var/log/maillog : Mar 12 15:32:30 host01 postfix/smtpd[23592]: connect from unknown[127.0.0.1] Mar 12 15:32:30 host01 postfix/smtpd[23592]:

virtual aliases/mailbox mx records

2009-03-12 Thread Marc Jauvin
I've been using Postfix for 9 years, and I really like it. There is still one thing I can't seem to be able to do: I' using the following config options: virtual_mailbox_domains = proxy:mysql:virtual_mailbox_domains.sql virtual_mailbox_maps = proxy:mysql:virtual_mailbox_maps.sql

Re: User unknown in virtual alias table (with only one domain)

2009-03-12 Thread Wietse Venema
Which smtpd services in master.cf have receive_override_options and what are the receive_override_options settings there? Wietse

Rerouting bounce messages

2009-03-12 Thread George Forman
All, If I am a secondary server hosting part of a domain. I must route all bounce messages back to the primary service for delivery. Does Postfix have this capability? George _ Hotmail® is up to 70% faster. Now good news travels

Re: Ubuntu, dynamicmaps?

2009-03-12 Thread KLaM Postmaster
KLaM Postmaster wrote: I am thinking of switching to Ubuntu 8.10 LTS server, however when I look at the Postfix configuration it seems somewhat odd. I don't want to start a flame war, but I would like to hear what people think about things like dynamicmaps and other oddities of the Ubuntu

Re: virtual aliases/mailbox mx records

2009-03-12 Thread Wietse Venema
Marc Jauvin: I've been using Postfix for 9 years, and I really like it. There is still one thing I can't seem to be able to do: I' using the following config options: virtual_mailbox_domains = proxy:mysql:virtual_mailbox_domains.sql virtual_mailbox_maps =

Re: virtual aliases/mailbox mx records

2009-03-12 Thread Marc Jauvin
Hi Wietse, I understand this. Here is a more complete description of my problems: We're offering mail services for our clients, we also provide dns services for them. So in practice, most of our customers will have their MX record point to our mail servers by default while we provide the

Re: virtual aliases/mailbox mx records

2009-03-12 Thread LuKreme
On Mar 12, 2009, at 9:56, Marc Jauvin m...@r4l.com wrote: So how can we configure postfix so that it will realize that the mail should be routed to the NEW MX host? 1) don't top post. 2) Remove the domain from your maps.

RE: User unknown in virtual alias table (with only one domain)

2009-03-12 Thread mhbeyle
Amavisd filters smtp mail over 10025 port on localhost: Settings for receive_override_options are equal to no_header_body_checks,no_unknown_recipient_checks /etc/postfix/master.cf : smtp inet n - n - - smtpd #smtp inet n - n - -

Re: virtual aliases/mailbox mx records

2009-03-12 Thread Noel Jones
Marc Jauvin wrote: Now, at some point if the customer decides to point their MX records to an external mail server (whether it handles the final delivery of the email is of no concern to us at this point), but our mail server is not aware of the change (and still has mapping in the internal

Re: ldap searches with null user

2009-03-12 Thread Victor Duchovni
On Thu, Mar 12, 2009 at 02:16:22PM +0100, Angel L. Mateo wrote: El jue, 12-03-2009 a las 09:00 -0400, Wietse Venema escribi??: Postfix virtual alias table lookups are documented in virtual(5). http://www.postfix.org/virtual.5.html. See also ldap_table(5) for details specific to LDAP

Re: User unknown in virtual alias table (with only one domain)

2009-03-12 Thread Wietse Venema
mhbe...@gmail.com: Mar 12 15:32:30 host01 postfix/error[23595]: 616CE3A40CD: to=u...@cdpoolmusic.com, relay=none, delay=0.23, delays=0.03/0.12/0/0.07, dsn=5.0.0, status=bounced (User unknown in virtual alias table) cdpoolmusic.com matches virtual_alias_domains Should it match

Re: virtual aliases/mailbox mx records

2009-03-12 Thread Wietse Venema
Marc Jauvin: virtual maps. So at this point, if we send this customer an email at his domain, the email will be delivered internally instead of being sent to his NEW external MX host. So how can we configure postfix so that it will realize that the mail should be routed to the NEW MX

Looking for advice on setting up a mailing list

2009-03-12 Thread Jeremy Nicoll
How do I go about setting up something where the to field shows the address of the list but is still delivered to each individual user? I'm also wondering how I preserve the original message id and reply-to-id (or whatever that header was called).

Re: virtual aliases/mailbox mx records

2009-03-12 Thread Marc Jauvin
Well, other than postfix's virtual mapping rules, that's what I mean: postfix has no idea if he's supposed to be MX host or not, because it's treating the virtual mapping rules as authoritative, as far as I know. Since we have no means to know that the MX records were modified, then we

Re: virtual aliases/mailbox mx records

2009-03-12 Thread Noel Jones
Marc Jauvin wrote: Well, other than postfix's virtual mapping rules, that's what I mean: postfix has no idea if he's supposed to be MX host or not, because it's treating the virtual mapping rules as authoritative, as far as I know. Postfix doesn't care if it's the MX host or not, because

Re: virtual aliases/mailbox mx records

2009-03-12 Thread Marc Jauvin
That's what I was afraid of... when you're hosting multi-thousands of domains, that's not an easy task... :( Noel Jones njo...@megan.vbhcs.org wrote: Marc Jauvin wrote: Well, other than postfix's virtual mapping rules, that's what I mean: postfix has no idea if he's supposed to be MX host

Re: Looking for advice on setting up a mailing list

2009-03-12 Thread Brian Evans
Jeremy Nicoll wrote: How do I go about setting up something where the to field shows the address of the list but is still delivered to each individual user? I'm also wondering how I preserve the original message id and reply-to-id (or whatever that header was called). I highly recommend a

Re: virtual aliases/mailbox mx records

2009-03-12 Thread Wietse Venema
Marc Jauvin: virtual maps. So at this point, if we send this customer an email at his domain, the email will be delivered internally instead of being sent to his NEW external MX host. So how can we configure postfix so that it will realize that the mail should be routed to the NEW MX host?

Re: Looking for advice on setting up a mailing list

2009-03-12 Thread Jeremy Nicoll
I am a web programmer (dealing in Ruby/Merb). I've got most of it worked out now, including VERP (which is redirected to my own email until things get big). I'm manually putting the headers in each email, but the Message-Id is getting set to something else even though I included it already.

Re: virtual aliases/mailbox mx records

2009-03-12 Thread LuKreme
On 12-Mar-2009, at 10:50, Marc Jauvin wrote: Since we have no means to know that the MX records were modified, then we can't remove those virtual mapping rules from our database. $ dig mx example.com | grep -A1 ANSWER SECTION | grep MX I suppose you could run that each day and flag domains

Adding information to Return-Path

2009-03-12 Thread Chris Dos
What would be the best way to add a bounce+ to the beginning of every Return-Path address for outgoing e-mail? I've been digging for two days and have not found a workable solution. Chris

Re: Adding information to Return-Path

2009-03-12 Thread Wietse Venema
Chris Dos: What would be the best way to add a bounce+ to the beginning of every Return-Path address for outgoing e-mail? I've been digging for two days and have not found a workable solution. http://www.postfix.org/ADDRESS_REWRITING_README.html#canonical

Discard bounce

2009-03-12 Thread Alexandre Carlim
Hi, What i have to do for discard email when reverse name is google.com and from is , Currently i''m receive 1.200 millions for email per seconds, a bounce atack. Thanks Alexandre Carlim

Re: Discard bounce

2009-03-12 Thread Alexandre Carlim
Thanks, We succeeded to solve this problem in this way, I create in main.cf smtpd_client_restrictions = check_sender_access hash:/etc/postfix/check_bounce_sender, cat /etc/postfix/check_bounce_sender check_no-bounce_domains And: smtpd_restriction_classes =

Re: Adding information to Return-Path

2009-03-12 Thread Wietse Venema
Chris Dos: Jeremy Nicoll wrote: It won't add bounce+ to the beginning of every email, but you can use VERP. It might prove more useful anyways as hosts don't always include the to email address when sending back bounced messages. The format is like this:

Re: Blocking certain users from sending to certain internal mail addresses

2009-03-12 Thread mouss
j...@bordengrammar.kent.sch.uk a écrit : Hi Again, Sorry to be a pain but I'm stuck again. If I try to send to the maillists from any account, I get blocked instead of only the pupils so it seems that the restricted user list is being ignored when applying the rules. I've tried all sorts of

Re: Receive all for postmaster

2009-03-12 Thread mouss
Sergey a écrit : Hello. First of all, sorry for my poor english. How can I cofigure my postfix to receive all messages for postmaster and not apply smtpd_*_restrictions for it? Currently I see in my log: Mar 12 09:18:17 zero postfix/smtpd[31761]: NOQUEUE: reject: RCPT from

Re: Rerouting bounce messages

2009-03-12 Thread mouss
George Forman a écrit : All, If I am a secondary server hosting part of a domain. I must route all bounce messages back to the primary service for delivery. Does Postfix have this capability? this is unclear. which bounce messages? please clarify (explict examples). also explain what

Re: Rerouting bounce messages

2009-03-12 Thread Barney Desmond
2009/3/13 George Forman georgeforma...@hotmail.com: If I am a secondary server hosting part of a domain. I must route all bounce messages back to the primary service for delivery. Does Postfix have this capability? Setting the primary service as the relayhost should do this on the secondary

Re: Looking for advice on setting up a mailing list

2009-03-12 Thread mouss
Jeremy Nicoll a écrit : I am a web programmer (dealing in Ruby/Merb). I've got most of it worked out now, including VERP (which is redirected to my own email until things get big). I'm manually putting the headers in each email, but the Message-Id is getting set to something else even though

Re: virtual aliases/mailbox mx records

2009-03-12 Thread Barney Desmond
2009/3/13 Marc Jauvin m...@r4l.com: Since we have no means to know that the MX records were modified, then we can't remove those virtual mapping rules from our database. As others have said, you need to make sure your postfix configuration matches the reality of the situation. As I work at a