Much better :-)
You don’t need to restart the daemon, you simply need to tell it through
smtpctl that the table aliases needs to be reloaded:
$ doas smtpctl update table aliases
Gilles
> On 11 May 2017, at 08:17, Ajitabh Pandey <[email protected]> wrote:
>
> Hi Gilles,
>
> I did not change anything from the default. But I realise all may not be
> using default file like me and may not know what is in it. Here is a copy
> of the contents just for reference. The problem is solved by restarting the
> smtpd as sugested by Edgar.
>
> $ doas cat /etc/mail/smtpd.conf
>
> table aliases file:/etc/mail/aliases
> listen on lo0
> accept for local alias <aliases> deliver to mbox
> accept from local for any relay
>
> Regards.
> --
> ~ajitabhpandey
>
> On Wed, May 10, 2017 at 5:25 PM, Gilles Chehade <[email protected]> wrote:
>
>> On Wed, May 10, 2017 at 04:32:55PM +0530, Ajitabh Pandey wrote:
>>>
>>> If my understanding about how this should work incorrect? If not then
>> what
>>> am I doing wrong?
>>>
>>
>> What you are doing wrong is not showing your configuration file so we're
>> able to check if it does what you think it is doing
>>
>>
>> --
>> Gilles Chehade
>>
>> https://www.poolp.org @poolpOrg
>>
>
>
>
> --
> Ajitabh Pandey
> http://ajitabhpandey.info/ | http://unixclinic.net/ |
> http://buddingthoughts.info
> ICQ - 150615062
> Registered Linux User - 240748