On March 29, 2017 5:34:48 PM GMT+02:00, wabe <[email protected]> wrote: >"J. Roeleveld" <[email protected]> wrote: > >> On March 29, 2017 7:24:15 AM GMT+02:00, [email protected] wrote: >> >On 03/28/2017 10:57 PM, [email protected] 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: [email protected] >> >>>> >> >>>> So why postfix is sending it to: <[email protected]> >> >>> >> >>> "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
That will only work when postfix knows where to send local mail to. As I said, there are plenty of howtos on how to setup a local mailserver. It will require more software, Postfix is only part of the solution. -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity.

