hostname in aliases.db

2017-08-05 Thread Marat Khalili
I've got the following problem which is not critical but still interesting. I'm cloning an LXC container which optionally can contain postfix installation. After cloning the filesystem there's a number of places I need to change the hostname in. I used grep to search for these places and

Re: hostname in aliases.db

2017-08-05 Thread Marat Khalili
You might indeed want to generate your aliases.db for each container, and chroot(1) might be a means to do that. Completely forgot about chroot, much better than starting whole container. See also postalias(1), but I'm still not sure that this is a real problem. Does something in the

Re: setup for personal computer, no domain, smarthost

2017-08-05 Thread reader
Wietse wrote: > I forgot about authentication. > > relayhost = [smtp.newsguy.com]:587 > > See http://www.postfix.org/SOHO_README.html for this and other > information of interest. That doesn't seem to work yet at least not by itself but could also be seriuosly inept pilot error. But before

Re: setup for personal computer, no domain, smarthost

2017-08-05 Thread reader
Sorry about the delay, I tried to reply on: gmane.mail.postfix.user but never say my replies appear so now trying to reply thru the mailing list. Marat Khalili writes: > On 05/08/17 17:05, rea...@newsguy.com wrote: >> Details: >> Setup: Newish install of ubuntu-26 (still making

Re: setup for personal computer, no domain, smarthost

2017-08-05 Thread reader
>Wietse wrote: >> I forgot about authentication. >> >> relayhost = [smtp.newsguy.com]:587 >> >> See http://www.postfix.org/SOHO_README.html for this and other >> information of interest. > >That doesn't seem to work yet at least not by itself but could also be >seriuosly inept pilot error.

DKIM-Signing forwarded email

2017-08-05 Thread Marco Pizzoli
Hi all, I have a postfix instance dedicated to being the main MX (IN). I normally use other postfix instances for sending emails out (OUT). Of course, even this "IN" instance needs to send emails out, mainly bounces. Now I am also implementing forwarding rules: "if you receive an email destined

Re: hostname in aliases.db

2017-08-05 Thread /dev/rob0
On Sat, Aug 05, 2017 at 07:58:19PM +0300, Marat Khalili wrote: > > See also postalias(1), but I'm still not sure that this is a > > real problem. Does something in the container not work > > properly with host-generated aliases.db? > > That's what I'd like to know to, is this hostname mention

Re: hostname in aliases.db

2017-08-05 Thread /dev/rob0
On Sat, Aug 05, 2017 at 07:11:08PM +0300, Marat Khalili wrote: > I'm cloning an LXC container which optionally can contain postfix > installation. After cloning the filesystem there's a number of > places I need to change the hostname in. > > I used grep to search for these places and

Re: Why there is no `reject_rbl_sender` restriction?

2017-08-05 Thread Martin Jiřička
> What I was trying to say is that (if there was 1 A record per domain), the > number of spamhaus lookups would increase two times. > If you check MX records, number of lookups can increase even more. I am afraid I still do not understand how you count it :-( But it does not matter, thank you

setup for personal computer, no domain, smarthost

2017-08-05 Thread reader
Summary: Setup postfix for single user home machine. Receive mail for single user Send out mail from single user (Thru smarthost) (I do have credentials for a few online smtp servers) Details: Setup: Newish install of ubuntu-26 (still making settings etc) I'm a long time sendmail user but

Re: setup for personal computer, no domain, smarthost

2017-08-05 Thread Marat Khalili
On 05/08/17 17:05, rea...@newsguy.com wrote: Details: Setup: Newish install of ubuntu-26 (still making settings etc) Not sure what ubuntu-26 is, but I'm using smarthost configuration in Ubuntu. Local gurus can advice on installing from source, but it is not necessary. I want to be able to

Re: setup for personal computer, no domain, smarthost

2017-08-05 Thread Richard
> Date: Saturday, August 05, 2017 07:05:22 -0700 > From: rea...@newsguy.com > > Single user home machine on home lan. > No real domain (my ISP is comcast but does not offer Static IP for > its users .. or any kind of personal domain name). > > I want to be able to pull mail from various pop3

Re: setup for personal computer, no domain, smarthost

2017-08-05 Thread Wietse Venema
rea...@newsguy.com: > Single user home machine on home lan. > No real domain (my ISP is comcast but does not offer Static IP for its > users .. or any kind of personal domain name) /etc/postfix/main.cf: myhostname = localhost.localdomain myorigin = localhost.localdomain See

Re: setup for personal computer, no domain, smarthost

2017-08-05 Thread Wietse Venema
Wietse Venema: > rea...@newsguy.com: > > Single user home machine on home lan. > > No real domain (my ISP is comcast but does not offer Static IP for its > > users .. or any kind of personal domain name) > > /etc/postfix/main.cf: > myhostname = localhost.localdomain > myorigin =