MYNETS not working for mails send from shell

Gary V mr88talent at gmail.com
Sun Oct 16 16:49:12 CEST 2011


On Sun, Oct 16, 2011 at 7:46 AM, Christian Scholz wrote:
> Thanks, it works!
>
> Am 16.10.2011 14:50, schrieb Michael Scheidell:
>>
>> On 10/16/11 6:59 AM, Christian Scholz wrote:
>>>
>>> Hello together,
>>>
>>> I've configured the mynets policy and it is working for e-mails send from
>>> the webserver. But when I send an e-mail from the shell,
>>> the e-mail runs throught the prequeue filter. Is there something to take
>>> care of?
>>>
>>> @mynetworks = qw( 127.0.0.0 [::1] [FE80::]/10 [FEC0::]/10 10.8.0.0/24)
>>>
>> shell might be 'special'. try adding 0.0.0.0/32
>>
>> --
>> Michael Scheidell, CTO

I can see how 0.0.0.0/32 would mean 'this computer', but possibly
changing 127.0.0.0 to 127.0.0.0/8 would be another solution.

-- 
Gary V


More information about the amavis-users mailing list