virtual domains for wildcard MX records?

2009-12-30 Thread Bob Eastbrook
Forgive me if this is a FAQ, but I've looked all over and I don't see it addressed. I have a wildcard MX record for *.example.com which points to mail.example.com. I know how to configure postfix to accept individual virtual domains such as host1.example.com, but how can I set it up to handle any

Re: How to ensure that either FROM or TO is local

2009-12-30 Thread Serge Fonville
I was wondering... >>> smtpd_banner = Infracom Mail Server >>> >> Don't change this unless you have a really good reason. >> Some functionality can be lost by those connecting to you and the >> current line breaks the SMTP standard. > Ok, thx I'll revert this to the default then ;-) > >> There are

About reject_authenticated_sender_login_mismatch

2009-12-30 Thread Jeff Huang
Hi All. I want to restrict the smtpd with reject_authenticated_sender_login_mismatch when the sasl login name and the sender mismatch. So I need to set a lookup tables for the smtpd_sender_login_maps. But I only want to check if the login name and the user that the first part of the sender(u..

Re: sender-dependent default_transport using FILTER

2009-12-30 Thread ram
On Wed, 2009-12-30 at 20:43 -0500, Wietse Venema wrote: > ram: > > I need a sender dependent smtp service for my shared postfix servers > > This is similar to what was discussed in the thread a month ago > > http://www.mail-archive.com/postfix-users@postfix.org/msg18419.html > > > > > > This i

Re: sender-dependent default_transport using FILTER

2009-12-30 Thread Wietse Venema
ram: > I need a sender dependent smtp service for my shared postfix servers > This is similar to what was discussed in the thread a month ago > http://www.mail-archive.com/postfix-users@postfix.org/msg18419.html > > > This is because some of our clients require a dedicated outgoing IP > ( for se

Re: postscreen: refresh of stored entries?

2009-12-30 Thread Wietse Venema
Stefan Foerster: > from /var/log/mail.log: > Dec 31 01:49:47 nemea postfix/postscreen[2994]: PASS OLD 168.100.1.4 > > # postmap -q 168.100.1.4 btree:/var/lib/postfix/ps_cache > 1262188493 > > # date --date "Dec 31 01:49:47" "+%s" > 1262220587 > > # echo $(((1262220587-1262188493)/3600)) > 8 > >

postscreen: refresh of stored entries?

2009-12-30 Thread Stefan Foerster
from /var/log/mail.log: Dec 31 01:49:47 nemea postfix/postscreen[2994]: PASS OLD 168.100.1.4 # postmap -q 168.100.1.4 btree:/var/lib/postfix/ps_cache 1262188493 # date --date "Dec 31 01:49:47" "+%s" 1262220587 # echo $(((1262220587-1262188493)/3600)) 8 If a client that has passed postscreen in

Re: Code burn-in: postscreen/verify cache cleanup

2009-12-30 Thread Stefan Foerster
* Wietse Venema : > Systems that run close to the capacity limit probably should not > expire caches but simply rotate them. I already have a version of > Postfix that allows you to turn off cache cleanup. I deployed 20091230-nonprod before I went to town this evening and until now, the

Re: Code burn-in: postscreen/verify cache cleanup

2009-12-30 Thread Stefan Foerster
As a side note: * Stefan F??rster : I took care of that problem - permanently. I understand that an UTF-8 encoded realname might pose serious problems to some MUAs and I don't want to cause any, erm, "inconveniences". Stefan

Re: Code burn-in: postscreen/verify cache cleanup

2009-12-30 Thread Stefan F??rster
* Victor Duchovni : > On Wed, Dec 30, 2009 at 05:08:23PM +0100, Stefan F??rster wrote: > > > > What database type are you using? > > > > Berkeley DB 4.6.21-11 from libdb4.6_4.6.21-11_amd64.deb. > > That's software package not database type. Is it "hash" or "btree"? $ postconf postscreen_cache_m

Re: virtual_alias_domains vs. virtual_mailbox_domains

2009-12-30 Thread Victor Duchovni
On Wed, Dec 30, 2009 at 11:49:24PM +0100, Philippe Cerfon wrote: > When havin a domain that hast just aliases on no real maliboxes, on > could either use virtual_alias_domains or virtual_mailbox_domains and > in the later case simply not creating any mailboxes but just > configuring addresses in v

virtual_alias_domains vs. virtual_mailbox_domains

2009-12-30 Thread Philippe Cerfon
Hi. When havin a domain that hast just aliases on no real maliboxes, on could either use virtual_alias_domains or virtual_mailbox_domains and in the later case simply not creating any mailboxes but just configuring addresses in virtual_alias_maps. Is there any performance benfit or something like

Re: Email service providers

2009-12-30 Thread Jorge Armando Medina
Bryan Allen wrote: +-- | On 2009-12-30 10:43:48, Port Able wrote: | | I am currently consulting for a small retailer. They have been using | an online email service provider for the past few years to blast | personaliz

Re: In-queue rejections

2009-12-30 Thread Brian Evans - Postfix List
On 12/30/2009 3:19 PM, Daniel L. Miller wrote: > Geert Hendrickx wrote: >> Then do the recipient domain validity check *before* accepting and >> queuing the message: put "reject_unknown_recipient_domain" in your >> smtpd_recipient_restrictions. This will make Postfix respond with: >> >> 450 4.1.2

Re: Email service providers

2009-12-30 Thread Port Able
--- On Wed, 12/30/09, Bryan Allen wrote: [a lot of useful points] -- bda cyberpunk is dead. long live cyberpunk. This is very helpful information - thanks a bunch!  This gives me the confidence to go ahead to build a test environment based on Postfix. 

Re: Email service providers

2009-12-30 Thread Port Able
--- On Wed, 12/30/09, Stan Hoeppner wrote: You really should ask this question on spam-l.  There is an ESP discussion currently taking place.  Would be perfect timing. Far more important that the software platform you choose to do this is your deliverability.  Good ESPs know how to keep their cu

Re: Email service providers

2009-12-30 Thread Port Able
--- On Wed, 12/30/09, Eero Volotinen wrote: > Software such as mailman or ezmlm is more suited to mailing lists. > All such software can use Postfix to do the delivery. Well. usually people use sql+php style software for generating this kind of spam messages ;) -- Eero That is a good point. 

Re: In-queue rejections

2009-12-30 Thread Daniel L. Miller
Geert Hendrickx wrote: On Tue, Dec 29, 2009 at 04:07:01PM -0800, Daniel L. Miller wrote: My understanding is a MUA (for convenience, call it Thunderbird) will talk to a local MTA (Postfix, of course!) to send mail. After authentication and any other local checks, the local MTA accepts respon

Re: How to ensure that either FROM or TO is local

2009-12-30 Thread Serge Fonville
Thx for the reply. >> postconf -n >> >> smtpd_banner = Infracom Mail Server >> > Don't change this unless you have a really good reason. > Some functionality can be lost by those connecting to you and the > current line breaks the SMTP standard. Ok, thx I'll revert this to the default then ;-) >

Re: Email service providers

2009-12-30 Thread Eero Volotinen
On 12/30/09 8:49 PM, Brian Evans - Postfix List wrote: On 12/30/2009 1:43 PM, Port Able wrote: I am currently consulting for a small retailer. They have been using an online email service provider for the past few years to blast personalized emails to their customers (opt-in, and 100-200 thousa

Re: Email service providers

2009-12-30 Thread Bryan Allen
+-- | On 2009-12-30 10:43:48, Port Able wrote: | | I am currently consulting for a small retailer. They have been using | an online email service provider for the past few years to blast | personalized emails to their cus

Re: Email service providers

2009-12-30 Thread Stan Hoeppner
Port Able put forth on 12/30/2009 12:43 PM: > I am currently consulting for a small retailer. They have been using an > online email service provider for the past few years to blast > personalized emails to their customers (opt-in, and 100-200 thousand > emails at a time). They have asked me to s

Re: Email service providers

2009-12-30 Thread Brian Mathis
On Wed, Dec 30, 2009 at 1:43 PM, Port Able wrote: > I am currently consulting for a small retailer.  They have been using an > online email service provider for the past few years to blast personalized > emails to their customers (opt-in, and 100-200 thousand emails at a time). > They have asked m

Re: Code burn-in: postscreen/verify cache cleanup

2009-12-30 Thread Victor Duchovni
On Wed, Dec 30, 2009 at 05:08:23PM +0100, Stefan F??rster wrote: > > What database type are you using? > > Berkeley DB 4.6.21-11 from libdb4.6_4.6.21-11_amd64.deb. That's software package not database type. Is it "hash" or "btree"? -- Viktor. Disclaimer: off-list followups get on-list

Re: Transport sintax for 2 backend servers of the same domain

2009-12-30 Thread /dev/rob0
On Wed, Dec 30, 2009 at 07:42:28PM +0530, ram wrote: > use in your transport file > domain.comsmtp:mailhost.domain.com > > for mailhost.domain.com , create 2 MX records At that rate the OP could simply use an alternate DNS view, set the MX for the parent domain as needed, and skip the trans

Re: How to ensure that either FROM or TO is local

2009-12-30 Thread Brian Evans - Postfix List
On 12/30/2009 1:45 PM, Brian Evans - Postfix List wrote: > This only changes if *you* tell Postfix not to. The config below does > not follow this. Should read: This only changes if *you* tell Postfix not to. The config below does not show any such weakness.

Re: Email service providers

2009-12-30 Thread Brian Evans - Postfix List
On 12/30/2009 1:43 PM, Port Able wrote: > I am currently consulting for a small retailer. They have been using > an online email service provider for the past few years to blast > personalized emails to their customers (opt-in, and 100-200 thousand > emails at a time). They have asked me to see i

Re: Email service providers

2009-12-30 Thread Matt Hayes
On 12/30/2009 1:43 PM, Port Able wrote: > I am currently consulting for a small retailer. They have been using an > online email service provider for the past few years to blast > personalized emails to their customers (opt-in, and 100-200 thousand > emails at a time). They have asked me to see i

Re: How to ensure that either FROM or TO is local

2009-12-30 Thread Brian Evans - Postfix List
On 12/30/2009 11:21 AM, Serge Fonville wrote: > Hi, > > I'm trying to install a postfix server and everything seemed to work ok. > Until I tried to mail from a remote domain to a remote domain, but > from 'telnet localhost 25' > I understand (suspect) this works because 127.0.0.0/8 is in mynetworks

Email service providers

2009-12-30 Thread Port Able
I am currently consulting for a small retailer. They have been using an online email service provider for the past few years to blast personalized emails to their customers (opt-in, and 100-200 thousand emails at a time). They have asked me to see if we can install an email server in house to acc

How to ensure that either FROM or TO is local

2009-12-30 Thread Serge Fonville
Hi, I'm trying to install a postfix server and everything seemed to work ok. Until I tried to mail from a remote domain to a remote domain, but from 'telnet localhost 25' I understand (suspect) this works because 127.0.0.0/8 is in mynetworks. How do I ensure that my mail server can only send mail

Re: Code burn-in: postscreen/verify cache cleanup

2009-12-30 Thread Stefan Förster
* Victor Duchovni : > On Wed, Dec 30, 2009 at 08:26:45AM +0100, Stefan F??rster wrote: > > I've noticed a vast deterioration of the databases's performance, > > though. 20091209 only emitted some timing warnings for updates from > > time to time (database rotated every Saturday as per your > > reco

Re: Code burn-in: postscreen/verify cache cleanup

2009-12-30 Thread Wietse Venema
Stefan F?rster: > * Ralf Hildebrandt : > > * Wietse Venema : > > > Dec 29 04:20:17 spike postfix/postscreen[44900]: cache > > > /var/lib/postfix/ps_cache.db full cleanup: retained=134 dropped=19 entries > > > Dec 29 06:19:33 spike postfix/verify[46072]: cache > > > /var/lib/postfix/verify.db full

Re: address rewriting

2009-12-30 Thread Victor Duchovni
On Wed, Dec 30, 2009 at 01:58:32AM +0100, Christoph Anton Mitterer wrote: > - When validating the recipients, normalisation and all other rewritings > (canonical and virtual aliases) are taken into account? > Is it here where the probe messages are sent? No probe messages. Don't confuse passive t

Re: Code burn-in: postscreen/verify cache cleanup

2009-12-30 Thread Victor Duchovni
On Wed, Dec 30, 2009 at 08:26:45AM +0100, Stefan F??rster wrote: > I've noticed a vast deterioration of the databases's performance, > though. 20091209 only emitted some timing warnings for updates from > time to time (database rotated every Saturday as per your > recommendation). With the new cod

RE: Transport sintax for 2 backend servers of the same domain

2009-12-30 Thread ram
On Wed, 2009-12-30 at 16:38 +0300, Luis Conrado Andrade wrote: > Hi Ralf, > > But my server use an DNS server where the MX for domain.com points to them. > In the relay_domain, I have domain.com and to send this message I have to use > the transport file. How can I set internal MX servers and

sender-dependent default_transport using FILTER

2009-12-30 Thread ram
I need a sender dependent smtp service for my shared postfix servers This is similar to what was discussed in the thread a month ago http://www.mail-archive.com/postfix-users@postfix.org/msg18419.html This is because some of our clients require a dedicated outgoing IP ( for sender accreditation

RE: Transport sintax for 2 backend servers of the same domain

2009-12-30 Thread Luis Conrado Andrade
Hi Ralf, But my server use an DNS server where the MX for domain.com points to them. In the relay_domain, I have domain.com and to send this message I have to use the transport file. How can I set internal MX servers and set postfix to check the domain again? Thanks.

Re: Transport sintax for 2 backend servers of the same domain

2009-12-30 Thread Ralf Hildebrandt
* Ralf Hildebrandt : > * Luis Conrado Andrade : > > > > Hi, > > > > I have this situation > > > > 2 postfix accting as a relay for  domain.com and 2 internal exchange > > servers as mailbox server. I have MX records pointing to both postfix > > servers, so if one is down the message is sent to t

Re: Transport sintax for 2 backend servers of the same domain

2009-12-30 Thread Ralf Hildebrandt
* Luis Conrado Andrade : > > Hi, > > I have this situation > > 2 postfix accting as a relay for  domain.com and 2 internal exchange > servers as mailbox server. I have MX records pointing to both postfix > servers, so if one is down the message is sent to the other. I want to > do the same for i

Transport sintax for 2 backend servers of the same domain

2009-12-30 Thread Luis Conrado Andrade
Hi, I have this situation 2 postfix accting as a relay for  domain.com and 2 internal exchange servers as mailbox server. I have MX records pointing to both postfix servers, so if one is down the message is sent to the other. I want to do the same for internal servers, so I would like to now

Re: In-queue rejections

2009-12-30 Thread Geert Hendrickx
On Tue, Dec 29, 2009 at 04:07:01PM -0800, Daniel L. Miller wrote: > My understanding is a MUA (for convenience, call it Thunderbird) will talk > to a local MTA (Postfix, of course!) to send mail. After authentication and > any other local checks, the local MTA accepts responsibility for the messag

Re: Rejecting invalid email addresses with SMTP relay/forward

2009-12-30 Thread Eero Volotinen
Quoting Michael : I have a couple of mail servers that act only as SMTP relay, and SMTP backup servers. How can I reject invalid recipient addresses at these servers? I have investigated the manual on local_recipient_maps, however it appears that this is only useful for email where the machine

Re: Rejecting invalid email addresses with SMTP relay/forward

2009-12-30 Thread Martijn de Munnik
On Wed, 2009-12-30 at 22:09 +1300, Michael wrote: > I have a couple of mail servers that act only as SMTP relay, and SMTP backup > servers. > > How can I reject invalid recipient addresses at these servers? > > I have investigated the manual on local_recipient_maps, however it appears > that th

Rejecting invalid email addresses with SMTP relay/forward

2009-12-30 Thread Michael
I have a couple of mail servers that act only as SMTP relay, and SMTP backup servers. How can I reject invalid recipient addresses at these servers? I have investigated the manual on local_recipient_maps, however it appears that this is only useful for email where the machine involved is the fi