Just for the record using a flat "file" for aliases you don't need to run 
newaliases.

⁣Sent from BlueMail ​

On May 11, 2017, 2:30 AM, at 2:30 AM, Gilles Chehade <gil...@poolp.org> wrote:
>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 <ajitabhpan...@gmail.com>
>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 <gil...@poolp.org>
>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

Reply via email to