Re: check_sender_access and pattern matching

2015-12-28 Thread Alex
Hi, On Mon, Dec 28, 2015 at 12:17 AM, Bill Cole wrote: > On 27 Dec 2015, at 22:48, Alex wrote: > >> Hopefully the smtpd_sender_restrictions I posted above is correct, but >> I will also have to either add the IPs to mynetworks or duplicate the >> check_sender_access map in smtpd_recipient_restric

Save outgoing messages

2015-12-28 Thread Gilberto Nunes
Hello List Is there some way to store sent mail in a folder, using procmail or whatever? I try search in google but found nothing... Thanks a lot for any kind of help. -- Gilberto Ferreira

Re: Save outgoing messages

2015-12-28 Thread @lbutlr
On 28 Dec 2015, at 09:29, Gilberto Nunes wrote: > Is there some way to store sent mail in a folder, using procmail or whatever? Proemial is an LDA, so not with proemial. However, Postfix has an always bcc setting. Always_bcc = back...@mydomain.tld -- On 20-12-2013 Wes Groleau wrote: >On 12-2

Re: Save outgoing messages

2015-12-28 Thread Robert Schetterer
Am 28.12.2015 um 17:29 schrieb Gilberto Nunes: > Hello List > > Is there some way to store sent mail in a folder, using procmail or > whatever? > I try search in google but found nothing... > > > Thanks a lot for any kind of help. > > -- > > Gilberto Ferreira > > in the future there maybe

Re: Save outgoing messages

2015-12-28 Thread Mike Coddington
> On Dec 28, 2015, at 11:29 AM, Gilberto Nunes > wrote: > > Hello List > > Is there some way to store sent mail in a folder, using procmail or whatever? > I try search in google but found nothing… I would think that this is generally a function of your mail client (MUA) as opposed to Postfix

Re: Save outgoing messages

2015-12-28 Thread Gilberto Nunes
Well... I will try always_bcc... Thanks for all answers... And happy New Year for everybody. 2015-12-28 14:58 GMT-02:00 Mike Coddington : > > > On Dec 28, 2015, at 11:29 AM, Gilberto Nunes > wrote: > > > > Hello List > > > > Is there some way to store sent mail in a folder, using procmail or

RE: combined backup and primary MX config

2015-12-28 Thread Dave Lewis - Mailinglist
Sorry for the late reply Thanks for the info, I appreciate it ! Dave. -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Wietse Venema Sent: Sunday, November 29, 2015 12:15 PM To: Postfix users Subject: Re: combined backup and p

allow by IP?

2015-12-28 Thread Gomes, Rich
Good day, I am making the switch from running Sendmail as an internal relay to using Postfix. With Sendmail, I can restrict relaying by IP using the /etc/mail/access file. I cannot seem to find an equivalent of this in Postfix. I have read about using smtpd_client_restrictions = check_client_ac

Re: allow by IP?

2015-12-28 Thread Noel Jones
On 12/28/2015 3:08 PM, Gomes, Rich wrote: > Good day, > > I am making the switch from running Sendmail as an internal relay to using > Postfix. > With Sendmail, I can restrict relaying by IP using the /etc/mail/access file. > > I cannot seem to find an equivalent of this in Postfix. > > I have

Re: allow by IP?

2015-12-28 Thread Wietse Venema
Gomes, Rich: > Good day, > > I am making the switch from running Sendmail as an internal relay to using > Postfix. > With Sendmail, I can restrict relaying by IP using the /etc/mail/access file. > > I cannot seem to find an equivalent of this in Postfix. http://www.postfix.org/BASIC_CONFIGURATI

SV: allow by IP?

2015-12-28 Thread Sebastian Nielsen
You could use smtpd_client_restrictions = check_client_access cidr:/etc/postfix/access , and then use DUNNO For each allowed IP/subnet (note the "cidr" db type) This will pass on the restriction to next stack. Then you finalize with 0.0.0.0/0 REJECT I would suggest putting check_client_access in r

RE: allow by IP?

2015-12-28 Thread Gomes, Rich
Thanks to everyone for the informed and speedy replies! They definitely put me in the right direction. This worked perfectly: mynetworks = hash:/etc/postfix/access -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Noel Jones

Re: allow by IP?

2015-12-28 Thread Wietse Venema
Gomes, Rich: > Thanks to everyone for the informed and speedy replies! > They definitely put me in the right direction. > > This worked perfectly: > > mynetworks = hash:/etc/postfix/access Just be aware that this form only matches complete IP addresses. The form "mynetworks = /file/name" suppor

myhostname = ptr?

2015-12-28 Thread Dennis Steinkamp
Hey there, i read many times that 'myhostname' in the postfix configuration should be the same as the ptr and some say even the same as the mx record. So i played around with it a little bit and figured, that even though i ve set the 'myhostname' to mail.greatserver.com, whereas the hostname of

Re: myhostname = ptr?

2015-12-28 Thread Peter
On 29/12/15 13:15, Dennis Steinkamp wrote: > i read many times that 'myhostname' in the postfix configuration should > be the same as the ptr Yes. > and some say even the same as the mx record. No, the MX of your domains is irrelevant to the ptr of your server. The MX is only ever used for othe

RE: myhostname = ptr?

2015-12-28 Thread Wolfe, Robert
If I recall correctly, a lot of MTAs check to see that the PTR of your mail server machine matches the FQDN of your mail server. If they don’t, the connection would be terminated unless some sort of exception is entered in the remote server’s configuration files. I worked for a company that di

Re: myhostname = ptr?

2015-12-28 Thread Bill Cole
On 28 Dec 2015, at 19:15, Dennis Steinkamp wrote: Hey there, i read many times that 'myhostname' in the postfix configuration should be the same as the ptr and some say even the same as the mx record. So i played around with it a little bit and figured, that even though i ve set the 'myhostn

Re: myhostname = ptr?

2015-12-28 Thread Dennis Steinkamp
Thanks to all of you for your detailed explanations, this was indeed very helpful. :) Have a happy new year guys. Thank you. Dennis Am 29.12.2015 um 03:01 schrieb Bill Cole: On 28 Dec 2015, at 19:15, Dennis Steinkamp wrote: Hey there, i read many times that 'myhostname' in the postfix conf