Re: [gentoo-user] Too many invalid recipients. (in reply to MAIL FROM command))

2017-03-29 Thread Neil Bothwick
On Wed, 29 Mar 2017 10:53:35 -0600, the...@sys-concept.com wrote:

> I don't have anything in "mydestination" it is commented out and I think
> it should be. When I put my in mydestination=my domain
> in outgoing email syslog was showing: relay=local
> and I never got the email the relayhost= as below wasn't working
> 
> relayhost = mail.shawhosting.ca
> 
> commenting out #mydestination solved the problems.
> 
> However, when I get an email from portage (emerge) it is to:
> r...@mail101c7.megamailservers.com
> 
> where is: "mail101c7.megamailservers.com" coming from and how to change
> it/control it?

I take it you have already tried

grep -r mail101c7 /etc


-- 
Neil Bothwick

Idaho - It's not the end of the world, but you can see it from there.


pgpPHbxOZKnud.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Too many invalid recipients. (in reply to MAIL FROM command))

2017-03-29 Thread J. Roeleveld
On March 29, 2017 5:34:48 PM GMT+02:00, wabe  wrote:
>"J. Roeleveld"  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:   
>> >>>
>> >>> "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 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.



Re: [gentoo-user] Too many invalid recipients. (in reply to MAIL FROM command))

2017-03-29 Thread thelma
On 03/29/2017 09:34 AM, wabe wrote:
> "J. Roeleveld"  wrote:
> 
[snip]
>>
>> 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

I don't have anything in "mydestination" it is commented out and I think
it should be. When I put my in mydestination=my domain
in outgoing email syslog was showing: relay=local
and I never got the email the relayhost= as below wasn't working

relayhost = mail.shawhosting.ca

commenting out #mydestination solved the problems.

However, when I get an email from portage (emerge) it is to:
r...@mail101c7.megamailservers.com

where is: "mail101c7.megamailservers.com" coming from and how to change
it/control it?

--
Thelma



Re: [gentoo-user] Too many invalid recipients. (in reply to MAIL FROM command))

2017-03-29 Thread wabe
"J. Roeleveld"  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:   
> >>>
> >>> "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  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



Re: [gentoo-user] Too many invalid recipients. (in reply to MAIL FROM command))

2017-03-28 Thread J. Roeleveld
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: 
>>>
>>> "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  roottest -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.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Too many invalid recipients. (in reply to MAIL FROM command))

2017-03-28 Thread thelma
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: 
>>
>> "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 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



Re: [gentoo-user] Too many invalid recipients. (in reply to MAIL FROM command))

2017-03-28 Thread thelma
On 03/28/2017 10:40 PM, wabe wrote:
> the...@sys-concept.com wrote:
> 
>> My system mail is not going out via my system provider "shaw".
>>
>> postfix/smtp[24664]: 8E00D202543: to=,
>> relay=mail.sys-concept.com[69.49]:1025, delay=1.4,
>> delays=0.03/0/1.3/0.05, dsn=5.7.1, status=bounced (host
>> mail.sys-concept.com[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: 
> 
> "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



Re: [gentoo-user] Too many invalid recipients. (in reply to MAIL FROM command))

2017-03-28 Thread wabe
the...@sys-concept.com wrote:

> My system mail is not going out via my system provider "shaw".
> 
> postfix/smtp[24664]: 8E00D202543: to=,
> relay=mail.sys-concept.com[69.49]:1025, delay=1.4,
> delays=0.03/0/1.3/0.05, dsn=5.7.1, status=bounced (host
> mail.sys-concept.com[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: 

"man aliases" will probably give you the answer.

--
Regards
wabe



[gentoo-user] Too many invalid recipients. (in reply to MAIL FROM command))

2017-03-28 Thread thelma
My system mail is not going out via my system provider "shaw".

postfix/smtp[24664]: 8E00D202543: to=, 
relay=mail.sys-concept.com[69.49]:1025, delay=1.4, delays=0.03/0/1.3/0.05, 
dsn=5.7.1, status=bounced (host mail.sys-concept.com[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: 

-- 
Thelma