Re: preference transport_maps and alias_maps

2015-06-18 Thread Steve Zeng
smartphone on the Bell network. Original Message From: Viktor Dukhovni Sent: Thursday, June 18, 2015 5:54 PM To: postfix-users@postfix.org Reply To: postfix-users@postfix.org Subject: Re: preference transport_maps and alias_maps On Thu, Jun 18, 2015 at 07:53:58PM +, Steve Zeng wrote

preference transport_maps and alias_maps

2015-06-18 Thread Steve Zeng
Greetings! I implemented a rule with transport_maps to block all public email delivery except whitelisted domains as below: /etc/postfix/main.cf = transport_maps = hash:/etc/postfix/transport /etc/postfix/transport == trustedcompany.com : mycompany.com : * error

RE: smtpd_recipient_restrictions to restrict outbound email to selected domains

2015-02-17 Thread Steve Zeng
: Tuesday, February 17, 2015 1:09 PM To: postfix-users@postfix.org Subject: Re: smtpd_recipient_restrictions to restrict outbound email to selected domains On Tue, Feb 17, 2015 at 07:03:39PM +, Steve Zeng wrote: > Thanks for the hint. The transport map seems do the trick... > > /et

RE: smtpd_recipient_restrictions to restrict outbound email to selected domains

2015-02-17 Thread Steve Zeng
, Feb 17, 2015 at 06:35:11PM +, Steve Zeng wrote: > > Via SMTP from outside, or via sendmail(1) locally? > > I run mail locally as below: > mail -s "hotmail" myusern...@hotmail.com < /etc/hosts Well, smtpd(8) restrictions don't apply to locally submitted email.

RE: smtpd_recipient_restrictions to restrict outbound email to selected domains

2015-02-17 Thread Steve Zeng
hash:/etc/postfix/local_domains, reject Thanks, Steve -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Steve Zeng Sent: Tuesday, February 17, 2015 10:35 AM To: postfix-users@postfix.org Subject: RE: smtpd_recipient_re

RE: smtpd_recipient_restrictions to restrict outbound email to selected domains

2015-02-17 Thread Steve Zeng
...@postfix.org] On Behalf Of Viktor Dukhovni Sent: Monday, February 16, 2015 5:16 PM To: postfix-users@postfix.org Subject: Re: smtpd_recipient_restrictions to restrict outbound email to selected domains On Tue, Feb 17, 2015 at 12:48:45AM +, Steve Zeng wrote: > I am running postfix 2.3

smtpd_recipient_restrictions to restrict outbound email to selected domains

2015-02-16 Thread Steve Zeng
Greetings! I am running postfix 2.3.3 on Redhat RHEL 5 for a local SMTP MTA. For security purpose, we need to restrict its outbound emails to selected destination domains only. http://www.postfix.org/postconf.5.html#smtpd_recipient_restrictions The default is: smtpd_recipient_restrictions = pe

RE: 5.5.4 Unsupported option:

2014-12-24 Thread steve zeng
eve -Original essage- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of li...@rhsoft.net Sent: Tuesday, December 23, 2014 5:42 PM To: postfix-users@postfix.org Subject: Re: 5.5.4 Unsupported option: Am 24.12.2014 um 02:32 schrieb steve zeng: >

RE: 5.5.4 Unsupported option:

2014-12-23 Thread steve zeng
iginal Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Nick Sent: Monday, December 22, 2014 4:50 PM To: postfix-users@postfix.org >> Postfix users Cc: steve zeng Subject: Re: 5.5.4 Unsupported option: Hi! On 2014-12-22 7:06 PM, stev

5.5.4 Unsupported option:

2014-12-22 Thread steve zeng
Greetings! We switched from Exim 4.6.3 to postfix 2.3.3 as mail relay host on RHEL 5. We start getting report that email are rejected. We did a telnet emulation and found that postfix reject email header as below: MAIL FROM: "My Company Support" If I simply change it to: MAIL FROM: "My Company