"J. Roeleveld" <jo...@antarean.org> wrote: > On March 29, 2017 7:24:15 AM GMT+02:00, the...@sys-concept.com wrote: > >On 03/28/2017 10:57 PM, the...@sys-concept.com wrote: > >[snip > >>>>[69.49.....] said: 550 5.7.1 <>... Too many > >>>> invalid recipients. (in reply to MAIL FROM command)) > >>>> > >>>> How to setup postfix correctly? > >>>> > >>>> The only syscon7.localdomain is the entry from /etc/hosts > >>>> > >>>> in: /etc/mail/aliases I have: > >>>> root: the...@sys-concept.com > >>>> > >>>> So why postfix is sending it to: <root@syscon7.localdomain> > >>> > >>> "man aliases" will probably give you the answer. > >>> > >>> -- > >>> Regards > >>> wabe > >> > >> No, it will not! > >> > >> The explanation is here: > >> > >https://www.experts-exchange.com/questions/21895287/SMTP-550-Too-many-invalid-recipients.html > > > >> > >> -- > >> Thelma > > > >I don't run an internal mail server but was wondering is there an > >easy way to configure the postfix so it will keep local mail (portage > >notifications, hylafax etc) away from system provider. > >My boxes are connected over VPN. > > > >When I was setting up a new box today, something happen to cron email > >notification I started receiving bunch of emails like: > >Cron <root@i5> root test -x /usr/sbin/run-crons > >&& /usr/sbin/run-crons > > > >So provide mail server block my internal system emails from passing > >through their server. > > > >-- > >Thelma > > There are plenty of howtos, guides and documents online detailing how > to do this with a variety of mail servers. > > Please use Google.
Hint: Search for "postfix mydestination" -- Regards wabe