about relay server

2009-03-10 Thread tom lee
hello, I checked the doc about the mail relay in postfix and still not clear about two issues. I have mail sending from machine A to machine B, machine B is a relay server forwarding the email to machine C (target machine). I want to make sure there is no emails bouncing back from either

Re: about relay server

2009-03-10 Thread ram
On Mon, 2009-03-09 at 23:40 -0700, tom lee wrote: hello, I checked the doc about the mail relay in postfix and still not clear about two issues. I have mail sending from machine A to machine B, machine B is a relay server forwarding the email to machine C (target machine). I want to

Re: virtual_alias_maps

2009-03-10 Thread LuKreme
On 9-Mar-2009, at 15:58, mouss wrote: you must understand the difference between virtual_mailbox_domains and virtual_alias_domains I understand the difference, I have virtual_mailbox_domains assigned and I don't have virtual_alias_domains :) Actually, isn't

send rate problems

2009-03-10 Thread Tony Liu
Hi , I've controlled the mails delivery rate( F.E hotmail ,1mail /10s) in postfix, when this mail is delivered the first time, this rate is okay, but there is another problem shows, if some mails are back into queue for reject reason from one ISP(hotmail), it looks like the re-sending rate is

Re: virtual_alias_maps

2009-03-10 Thread Wietse Venema
LuKreme: On 9-Mar-2009, at 15:58, mouss wrote: you must understand the difference between virtual_mailbox_domains and virtual_alias_domains I understand the difference, I have virtual_mailbox_domains assigned and I don't have virtual_alias_domains :) By default,

Re: virtual_alias_maps

2009-03-10 Thread Sahil Tandon
On Mar 10, 2009, at 4:29 AM, LuKreme krem...@kreme.com wrote: On 9-Mar-2009, at 15:58, mouss wrote: you must understand the difference between virtual_mailbox_domains and virtual_alias_domains I understand the difference, I have virtual_mailbox_domains assigned and I don't have

RE: Outbound mail routing

2009-03-10 Thread Zachary Fortna
Is it possible to do this on the domain level as opposed to the user level? That way everything from example.com goes to gateway 1 and everything from example.net goes to gateway 2? -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On

Re: hold all relayed mail by default

2009-03-10 Thread Charles Marcus
On 3/9/2009 6:12 PM, mouss wrote: It will never fail that the user will decide right after clicking the send button that they want to recall it, no matter how long they wait prior to sending... and they will also decide to recall it after it was released ;-p Of course... but all joking

Re: Sensible config?

2009-03-10 Thread Gaby Vanhegan
On 10 Mar 2009, at 13:24, Brian Evans - Postfix List wrote: Do not include virtual_alias_maps in local_recipient_maps. virtual_alias_maps are checked globally for all Address Classes. For more on Address Classes, see http://www.postfix.org/ADDRESS_CLASS_README.html That makes sense. I'm

Re: v2.5.5 showq and postcat date/time stamp discrepancy

2009-03-10 Thread Wietse Venema
Glen B: ? ? I'm running the commands from a SSH shell logged in as root. What do you mean by setuid wrapper? ? Type the following commands, and report the output: $ date $ mailq | grep DBBAD4A340AD $ date This may very well be a Debian bug where they run daemons chrooted but don't provide

RE: Outbound mail routing

2009-03-10 Thread J.P. Trosclair
On Tue, 10 Mar 2009 09:12:43 -0400, Zachary Fortna zfor...@cxtec.com wrote: Is it possible to do this on the domain level as opposed to the user level? That way everything from example.com goes to gateway 1 and everything from example.net goes to gateway 2? Have a look at:

RE: Outbound mail routing

2009-03-10 Thread J.P. Trosclair
On Tue, 10 Mar 2009 09:12:43 -0400, Zachary Fortna zfor...@cxtec.com wrote: Is it possible to do this on the domain level as opposed to the user level? That way everything from example.com goes to gateway 1 and everything from example.net goes to gateway 2? I may have goofed, I'm not sure

Re: about relay server

2009-03-10 Thread tom lee
On Tue, Mar 10, 2009 at 12:01 AM, ram r...@netcore.co.in wrote: On Mon, 2009-03-09 at 23:40 -0700, tom lee wrote: hello, I checked the doc about the mail relay in postfix and still not clear about two issues. I have mail sending from machine A to machine B,  machine B is a relay server

Re: The flow of messages through Postfix (Ref: Sensible config?)

2009-03-10 Thread Wietse Venema
Roderick A. Anderson: I keep seeing and having questions on valid parameters and valid values for them. The Postfix.org site and manual have great listings and this list has provided excellent info on them. Still I stay a bit confused as I started with an older version (could have been

Re: send rate problems

2009-03-10 Thread Victor Duchovni
On Tue, Mar 10, 2009 at 05:27:21PM +0800, Tony Liu wrote: I've controlled the mails delivery rate( F.E hotmail ,1mail /10s) in postfix, when this mail is delivered the first time, this rate is okay, but there is another problem shows, if some mails are back into queue for reject reason from

Multiple HOLD Queues?

2009-03-10 Thread Terry Carmen
Is it possible to implement multiple HOLD queues for different types of content that requires inspection (spam, file attachments, etc?) Thanks! Terry

smtpd_recipient_restrictions Check

2009-03-10 Thread Linux Addict
Dear Group, I am modifying my recipient restrictions to displayed below. I referred many documents to compile the options. I want you experts to once verify it for me. smtpd_recipient_restrictions = reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain,

Re: Multiple HOLD Queues?

2009-03-10 Thread Victor Duchovni
On Tue, Mar 10, 2009 at 11:52:07AM -0400, Terry Carmen wrote: Is it possible to implement multiple HOLD queues for different types of content that requires inspection (spam, file attachments, etc?) Yes, use FILTER rather than HOLD, and deliver the mail to separate Postfix quarantine instances

Re: The flow of messages through Postfix (Ref: Sensible config?)

2009-03-10 Thread Roderick A. Anderson
Wietse Venema wrote: Roderick A. Anderson: I keep seeing and having questions on valid parameters and valid values for them. The Postfix.org site and manual have great listings and this list has provided excellent info on them. Still I stay a bit confused as I started with an older version

Re: The flow of messages through Postfix (Ref: Sensible config?)

2009-03-10 Thread Victor Duchovni
On Tue, Mar 10, 2009 at 09:05:28AM -0700, Roderick A. Anderson wrote: smtpd_helo_restrictions = ... smtpd_data_restrictions = ... smtpd_recipient_restrictions = ... header_checks = ... I'm assuming smtpd_* means the the first three are handled by smtpd but in what order? Well, the only

Re: smtpd_recipient_restrictions Check

2009-03-10 Thread Matt Hayes
Linux Addict wrote: Dear Group, I am modifying my recipient restrictions to displayed below. I referred many documents to compile the options. I want you experts to once verify it for me. smtpd_recipient_restrictions = reject_non_fqdn_sender, reject_non_fqdn_recipient,

Re: smtpd_recipient_restrictions Check

2009-03-10 Thread Victor Duchovni
On Tue, Mar 10, 2009 at 11:59:22AM -0400, Linux Addict wrote: Dear Group, I am modifying my recipient restrictions to displayed below. I referred many documents to compile the options. I want you experts to once verify it for me. smtpd_recipient_restrictions = reject_non_fqdn_sender,

Re: smtpd_recipient_restrictions Check

2009-03-10 Thread Victor Duchovni
On Tue, Mar 10, 2009 at 12:17:29PM -0400, Matt Hayes wrote: Linux Addict wrote: Dear Group, I am modifying my recipient restrictions to displayed below. I referred many documents to compile the options. I want you experts to once verify it for me. smtpd_recipient_restrictions =

Re: The flow of messages through Postfix (Ref: Sensible config?)

2009-03-10 Thread Wietse Venema
Roderick A. Anderson: In a main.cf I have: smtpd_helo_restrictions = ... smtpd_data_restrictions = ... smtpd_recipient_restrictions = ... header_checks = ... I'm assuming smtpd_* means the the first three are handled by smtpd but in what order? I'm leaning towards helo, recipient,

Re: Multiple HOLD Queues?

2009-03-10 Thread Wietse Venema
Terry Carmen: Is it possible to implement multiple HOLD queues for different types of content that requires inspection (spam, file attachments, etc?) Yes. This functionality can be added to Postfix, by plugging an external information management system into the many standard message interfaces

Re: smtpd_recipient_restrictions Check

2009-03-10 Thread Linux Addict
On Tue, Mar 10, 2009 at 12:24 PM, Victor Duchovni victor.ducho...@morganstanley.com wrote: On Tue, Mar 10, 2009 at 12:17:29PM -0400, Matt Hayes wrote: Linux Addict wrote: Dear Group, I am modifying my recipient restrictions to displayed below. I referred many documents to compile the

Re: The flow of messages through Postfix (Ref: Sensible config?)

2009-03-10 Thread Roderick A. Anderson
Victor Duchovni wrote: On Tue, Mar 10, 2009 at 09:05:28AM -0700, Roderick A. Anderson wrote: snip / Well, the only opportunity to respond an SMTP command is in respnse to *that* command, so originally these took place at the time of the correspoding SMTP command. connect:

Fw: Re: v2.5.5 showq and postcat date/time stamp discrepancy

2009-03-10 Thread Glen B
--- On Tue, 3/10/09, Glen B batch...@bellsouth.net wrote: From: Glen B batch...@bellsouth.net Subject: Re: v2.5.5 showq and postcat date/time stamp discrepancy To: Wietse Venema wie...@porcupine.org Date: Tuesday, March 10, 2009, 1:16 PM --- On Tue, 3/10/09, Wietse Venema

Re: Fw: Re: v2.5.5 showq and postcat date/time stamp discrepancy

2009-03-10 Thread Victor Duchovni
On Tue, Mar 10, 2009 at 10:20:15AM -0700, Glen B wrote: box:/# mailq | grep DBBAD4A340AD postqueue: warning: Mail system is down -- accessing queue directly DBBAD4A340AD? 827 Mon Mar? 9 10:29:27? root box:/# date Tue Mar 10 12:39:03 EDT 2009 box:/# Perhaps the postfix user is

Re: smtpd_recipient_restrictions Check

2009-03-10 Thread Linux Addict
On Tue, Mar 10, 2009 at 12:22 PM, Victor Duchovni victor.ducho...@morganstanley.com wrote: On Tue, Mar 10, 2009 at 11:59:22AM -0400, Linux Addict wrote: Dear Group, I am modifying my recipient restrictions to displayed below. I referred many documents to compile the options. I want you

Re: v2.5.5 showq and postcat date/time stamp discrepancy

2009-03-10 Thread Wietse Venema
Wietse: Type the following commands, and report the output: $ date $ mailq | grep DBBAD4A340AD $ date This may very well be a Debian bug where they run daemons chrooted but don't provide the correct timezone file inside the jail. Glen B: box:/# date Tue Mar 10 12:38:51 EDT 2009 box:/# mailq

Re: smtpd_recipient_restrictions Check

2009-03-10 Thread Victor Duchovni
On Tue, Mar 10, 2009 at 01:37:07PM -0400, Linux Addict wrote: reject_unknown_reverse_client_hostname reject_rbl_client zen.spamhaus.org, reject_rbl_client bl.spamcop.net, permit Fairly sensible overall. Is it better to place rbl rejections under smtpd_client_restrictions? No,

Re: virtual_alias_maps

2009-03-10 Thread LuKreme
On 10-Mar-2009, at 06:44, Sahil Tandon wrote: On Mar 10, 2009, at 4:29 AM, LuKreme krem...@kreme.com wrote: On 9-Mar-2009, at 15:58, mouss wrote: you must understand the difference between virtual_mailbox_domains and virtual_alias_domains I understand the difference, I have

Re: virtual_alias_maps

2009-03-10 Thread Victor Duchovni
On Tue, Mar 10, 2009 at 12:33:52PM -0600, LuKreme wrote: Could I simply change my virtual_alias_maps definition above to virtual_alias_domains? I don't think so. At least how this is setup, the mysql_virtual_alias.maps.cf returns the alias (forwarding alias) of accounts that have an alias

Re: The flow of messages through Postfix (Ref: Sensible config?)

2009-03-10 Thread Charles Marcus
On 3/10/2009, Victor Duchovni (victor.ducho...@morganstanley.com) wrote: There are two decent books and I find that tabbed browsing makes it easy to not lose context. Certainly the links to postconf.5.html don't usually require too many levels of nesting, so first read the tutorial, open

Mac OSX error logs

2009-03-10 Thread Rupert Reid
Hello All, I am running postfix (apple version) with MAC OSX10.4.11 client. I found the following entries in the Console/501/console.log. I am concerned but do not know what it means. The var/log/mail.log does not show any errors and seem to be sending/receiving mail without problem.

Re: Mac OSX error logs

2009-03-10 Thread Victor Duchovni
On Tue, Mar 10, 2009 at 07:37:27PM +, Rupert Reid wrote: I am running postfix (apple version) with MAC OSX10.4.11 client. I found the following entries in the Console/501/console.log. I am concerned but do not know what it means. The var/log/mail.log does not show any errors and

Re: smtpd_recipient_restrictions Check

2009-03-10 Thread LuKreme
On 10-Mar-2009, at 09:59, Linux Addict wrote: smtpd_recipient_restrictions = reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, I have reject_invalid_hostname here as well (before permit_mynetworks) permit_mynetworks,

Re: v2.5.5 showq and postcat date/time stamp discrepancy

2009-03-10 Thread Ben Winslow
On Tue, 10 Mar 2009 10:36:25 -0400 (EDT) wie...@porcupine.org (Wietse Venema) wrote: This may very well be a Debian bug where they run daemons chrooted but don't provide the correct timezone file inside the jail. Just for reference, the postfix 2.5.5-1.1 package in Debian -- if any services in

Re: smtpd_recipient_restrictions Check

2009-03-10 Thread Victor Duchovni
On Tue, Mar 10, 2009 at 02:28:00PM -0600, LuKreme wrote: On 10-Mar-2009, at 09:59, Linux Addict wrote: smtpd_recipient_restrictions = reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, I have reject_invalid_hostname here as

Re: virtual_alias_maps

2009-03-10 Thread LuKreme
On 10-Mar-2009, at 12:41, Victor Duchovni wrote: On Tue, Mar 10, 2009 at 12:33:52PM -0600, LuKreme wrote: Could I simply change my virtual_alias_maps definition above to virtual_alias_domains? I don't think so. At least how this is setup, the mysql_virtual_alias.maps.cf returns the alias

Re: Mac OSX error logs

2009-03-10 Thread LuKreme
On 10-Mar-2009, at 13:37, Rupert Reid wrote: Hello All, I am running postfix (apple version) with MAC OSX10.4.11 client. I found the following entries in the Console/501/console.log. I am concerned but do not know what it means. The var/log/mail.log does not show any errors and seem

Re: virtual_alias_maps

2009-03-10 Thread Victor Duchovni
On Tue, Mar 10, 2009 at 02:46:29PM -0600, LuKreme wrote: The recommended approach for those ready to move beyond 1.1 compatible settings is: virtual_alias_domains = ... explicit list of domains or tables ... virtual_alias_maps = ... tables ... if the number of virtual alias domains

Re: v2.5.5 showq and postcat date/time stamp discrepancy

2009-03-10 Thread Wietse Venema
Ben Winslow: FWIW, my test system uses the system-wide timezone (US/Central) in the output from mailq and the timezone from $TZ (US/Eastern) for the output from postcat. This is, IMO, the correct behavior. I hadn't thought of that (system versus user time zone). It could explain the original

Re: virtual_alias_maps

2009-03-10 Thread LuKreme
On 10-Mar-2009, at 15:22, Victor Duchovni wrote: None, but the trivial-rewrite service will be saddled with one less MySQL lookup to determine the address class of a domain. Ideally you also move virtual_mailbox_domains to its own parameter also, and don't rely on implicit lookups of that in

Re: virtual_alias_maps

2009-03-10 Thread Victor Duchovni
On Tue, Mar 10, 2009 at 03:57:04PM -0600, LuKreme wrote: OK OK, so I go from this: virtual_alias_maps = hash:$config_directory/virtual, pcre:$config_directory/virtual.pcre, mysql:$config_directory/mysql_virtual_alias_maps.cf to this: virtual_alias_maps =

Re: virtual_alias_maps

2009-03-10 Thread LuKreme
On 10-Mar-2009, at 16:06, Victor Duchovni wrote: On Tue, Mar 10, 2009 at 03:57:04PM -0600, LuKreme wrote: virtual_alias_domains=[list of domains extracted from virtual] Yes, provided the latter contains only domain anything entries and no address rewrite-address entries.

Re: virtual_alias_maps

2009-03-10 Thread Victor Duchovni
On Tue, Mar 10, 2009 at 04:22:00PM -0600, LuKreme wrote: Yes, provided of course the hash table only contained domains. Or could just set: virtual_alias_domains = hash:$config_directory/virtual Ah... er... OK, now you lost me again. What in $DEITY's name would be the point of that?

Re: virtual_alias_maps

2009-03-10 Thread mouss
LuKreme a écrit : On 9-Mar-2009, at 15:58, mouss wrote: you must understand the difference between virtual_mailbox_domains and virtual_alias_domains I understand the difference, I have virtual_mailbox_domains assigned and I don't have virtual_alias_domains :) then set

Re: hold all relayed mail by default

2009-03-10 Thread mouss
Charles Marcus a écrit : On 3/9/2009 6:12 PM, mouss wrote: I only said it was an interesting idea, and wondered if it could be automated... I'm still not sure it *should* be done... :) it can be automated. the hard part is to define the criteria (when to keep, when to release) and how to

Re: about relay server

2009-03-10 Thread mouss
tom lee a écrit : On Tue, Mar 10, 2009 at 12:01 AM, ram r...@netcore.co.in wrote: On Mon, 2009-03-09 at 23:40 -0700, tom lee wrote: hello, I checked the doc about the mail relay in postfix and still not clear about two issues. I have mail sending from machine A to machine B, machine B is

Re: Sensible config?

2009-03-10 Thread mouss
Brian Evans - Postfix List a écrit : Gaby Vanhegan wrote: Is this sane or is it going to cause problems? /etc/postfix/main.cf: ... # Valid local users only exist in these locations local_recipient_maps = proxy:unix:passwd.byname $alias_maps $virtual_alias_maps ... # What are the domains

Re: virtual_alias_maps

2009-03-10 Thread LuKreme
On 10-Mar-2009, at 15:57, LuKreme wrote: virtual_alias_maps = pcre:$config_directory/virtual.pcre, mysql:$config_directory/mysql_virtual_alias_maps.cf virtual_alias_domains=[list of domains extracted from virtual] Ugh! Seems $config_directory/ is not liked by mysql: whew, it's always

Re: virtual_alias_maps

2009-03-10 Thread Victor Duchovni
On Tue, Mar 10, 2009 at 05:47:22PM -0600, LuKreme wrote: On 10-Mar-2009, at 15:57, LuKreme wrote: virtual_alias_maps = pcre:$config_directory/virtual.pcre, mysql:$config_directory/mysql_virtual_alias_maps.cf virtual_alias_domains=[list of domains extracted from virtual] Ugh! Seems

changing sender null address...

2009-03-10 Thread mmelyp
Hi, Let see how to explain this... The issue is that I'm using sieve for my filtering rules, one of my rules is to reject a message and notify sender, in this step, postfix uses as mail from, this is a normal behavior i think; but in my scenario where i have one fake domain and using

Re: changing sender null address...

2009-03-10 Thread Wietse Venema
mme...@gmail.com: Hi, Let see how to explain this... The issue is that I'm using sieve for my filtering rules, one of my rules is to reject a message and notify sender. Don't do that. By bouncing crap to the sender you are harassing innocent people about mail that they did not send. If

Re: about relay server

2009-03-10 Thread tom lee
On Tue, Mar 10, 2009 at 4:14 PM, mouss mo...@ml.netoyen.net wrote: All mails sending from machine A via relaying machine B will arrive in machine C. I think I need to set up something in machine B so that there will be no mails bounce back to machine A. if you want machine B to send no

override the catch-all ?

2009-03-10 Thread Curtis
I've got the catch-all feature explained here working just fine... http://www.postfix.org/VIRTUAL_README.html Is there an easy way to designate an explicit *invalid* email address so that even though the catch-all is enabled for a domain, a specific email address is considered invalid and is

Re: v2.5.5 showq and postcat date/time stamp discrepancy

2009-03-10 Thread Glen B
Wietse Venema wrote: Ben Winslow: FWIW, my test system uses the system-wide timezone (US/Central) in the output from mailq and the timezone from $TZ (US/Eastern) for the output from postcat. This is, IMO, the correct behavior. I hadn't thought of that (system versus user time zone).

Re: override the catch-all ?

2009-03-10 Thread Sahil Tandon
On Mar 10, 2009, at 9:27 PM, Curtis wrote: I've got the catch-all feature explained here working just fine... http://www.postfix.org/VIRTUAL_README.html Is there an easy way to designate an explicit *invalid* email address so that even though the catch-all is enabled for a domain, a

Re: override the catch-all ?

2009-03-10 Thread Victor Duchovni
On Tue, Mar 10, 2009 at 10:23:30PM -0400, Sahil Tandon wrote: On Mar 10, 2009, at 9:27 PM, Curtis wrote: I've got the catch-all feature explained here working just fine... http://www.postfix.org/VIRTUAL_README.html Is there an easy way to designate an explicit *invalid* email address so

Re: v2.5.5 showq and postcat date/time stamp discrepancy

2009-03-10 Thread Glen B
Glen B wrote: Wietse Venema wrote: Ben Winslow: FWIW, my test system uses the system-wide timezone (US/Central) in the output from mailq and the timezone from $TZ (US/Eastern) for the output from postcat. This is, IMO, the correct behavior. I hadn't thought of that (system versus

Re: virtual_alias_maps

2009-03-10 Thread LuKreme
With these settings virtual_alias_maps = pcre:$config_directory/virtual.pcre, mysql:$config_directory/mysql_virtual_alias_maps.cf virtual_alias_domains = hash:/usr/local/etc/postfix/virtual I get mail postfix/smtpd[36156]: NOQUEUE: reject: RCPT from lists.php.net[216.92.131.4]: 450

Re: virtual_alias_maps

2009-03-10 Thread Victor Duchovni
On Tue, Mar 10, 2009 at 09:30:01PM -0600, LuKreme wrote: With these settings virtual_alias_maps = pcre:$config_directory/virtual.pcre, mysql:$config_directory/mysql_virtual_alias_maps.cf virtual_alias_domains = hash:/usr/local/etc/postfix/virtual I get mail postfix/smtpd[36156]:

Re: virtual_alias_maps

2009-03-10 Thread Sahil Tandon
On Mar 10, 2009, at 11:48 PM, Sahil Tandon wrote: [...] so with the above change to your main.cf, Postfix no longer accepts mail from krem...@kreme.com. s/from/for/ -- Sahil Tandon sa...@tandon.net