🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.privacy.anon-server
7 messages
7 total messages Started by Jack Ryan Mon, 20 Apr 2015 19:36
postfix question
#273398
Author: Jack Ryan
Date: Mon, 20 Apr 2015 19:36
6 lines
1091 bytes
  I have removed an alias from my postfix alias file, done a 'sudo 
newaliases', 'postfix reload', restarted postfix.  Mail to that 
alias is still being accepted by postfix and being sent to the 
user, as well as being forwarded to an email address used by the 
user.  How do you get rid of an alias?
Re: postfix question
#273392
Author: Randolph Henry Ash
Date: Mon, 20 Apr 2015 22:23
14 lines
1424 bytes
On 20/04/15 03:36 PM, Jack Ryan wrote:

>   I have removed an alias from my postfix alias file, done a 'sudo 
> newaliases', 'postfix reload', restarted postfix.  Mail to that 
> alias is still being accepted by postfix and being sent to the 
> user, as well as being forwarded to an email address used by the 
> user.  How do you get rid of an alias?

After making changes to your /etc/aliases file do this:

sudo newaliases
sudo postalias /etc/aliases
sudo postfix reload
Re: postfix question
#273395
Author: Jeremy Bentham
Date: Mon, 20 Apr 2015 23:52
21 lines
1615 bytes
> On 20/04/15 03:36 PM, Jack Ryan wrote:
>
>
>>   I have removed an alias from my postfix alias file, done a 'sudo
>> newaliases', 'postfix reload', restarted postfix.  Mail to that
>> alias is still being accepted by postfix and being sent to the
>> user, as well as being forwarded to an email address used by the
>> user.  How do you get rid of an alias?
>
> After making changes to your /etc/aliases file do this:
>
> sudo newaliases
> sudo postalias /etc/aliases
> sudo postfix reload

  Thought I had tried that, but did it again in that order.  Same 
results, mail not bounced.  It comes to the formerly directed 
addresses.  osection: bill, bill@bill.com

  It seems that to DB might not be updating correctly.
Re: postfix question
#273397
Author: Randolph Henry Ash
Date: Tue, 21 Apr 2015 02:08
28 lines
1898 bytes
On 20/04/15 07:52 PM, Jeremy Bentham wrote:

>> On 20/04/15 03:36 PM, Jack Ryan wrote:
>>
>>
>>>   I have removed an alias from my postfix alias file, done a 'sudo
>>> newaliases', 'postfix reload', restarted postfix.  Mail to that
>>> alias is still being accepted by postfix and being sent to the
>>> user, as well as being forwarded to an email address used by the
>>> user.  How do you get rid of an alias?
>>
>> After making changes to your /etc/aliases file do this:
>>
>> sudo newaliases
>> sudo postalias /etc/aliases
>> sudo postfix reload
> 
>   Thought I had tried that, but did it again in that order.  Same 
> results, mail not bounced.  It comes to the formerly directed 
> addresses.  osection: bill, bill@bill.com
> 
>   It seems that to DB might not be updating correctly.

Confirm that you have these lines in your /etc/postfix/main.cf

alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
Re: postfix question
#273413
Author: Jack Ryan
Date: Tue, 21 Apr 2015 13:07
31 lines
1889 bytes
> On 20/04/15 07:52 PM, Jeremy Bentham wrote:
>
>
>>> On 20/04/15 03:36 PM, Jack Ryan wrote:
>>>
>>>
>>>>   I have removed an alias from my postfix alias file, done a 'sudo
>>>> newaliases', 'postfix reload', restarted postfix.  Mail to that
>>>> alias is still being accepted by postfix and being sent to the
>>>> user, as well as being forwarded to an email address used by the
>>>> user.  How do you get rid of an alias?
>>>
>>> After making changes to your /etc/aliases file do this:
>>>
>>> sudo newaliases
>>> sudo postalias /etc/aliases
>>> sudo postfix reload
>>
>>   Thought I had tried that, but did it again in that order.  Same
>> results, mail not bounced.  It comes to the formerly directed
>> addresses.  osection: bill, bill@bill.com
>>
>>   It seems that to DB might not be updating correctly.
>
> Confirm that you have these lines in your /etc/postfix/main.cf
>
> alias_maps = hash:/etc/aliases
> alias_database = hash:/etc/aliases

  Yes, they are both in there.
Re: postfix question
#273434
Author: Randolph Henry Ash
Date: Tue, 21 Apr 2015 22:24
13 lines
1345 bytes
On 21/04/15 09:07 AM, Jack Ryan wrote:
>> Confirm that you have these lines in your /etc/postfix/main.cf

>> alias_maps = hash:/etc/aliases
>> alias_database = hash:/etc/aliases

>   Yes, they are both in there.

I dunno what else to suggest. Do you happen to use Dovecot and
virtual domains & users? I remember when I had that type of
setup Postfix would totally ignore my /etc/aliases file.
Maybe that is what is going on.
Re: postfix question
#273437
Author: Jack Ryan
Date: Tue, 21 Apr 2015 23:37
21 lines
1684 bytes
> On 21/04/15 09:07 AM, Jack Ryan wrote:
>
>>> Confirm that you have these lines in your /etc/postfix/main.cf
>
>
>>> alias_maps = hash:/etc/aliases
>>> alias_database = hash:/etc/aliases
>
>
>>   Yes, they are both in there.
>
> I dunno what else to suggest. Do you happen to use Dovecot and
> virtual domains & users? I remember when I had that type of
> setup Postfix would totally ignore my /etc/aliases file.
> Maybe that is what is going on.

  I do have one virtual domain but it isn't the one I am trying to 
get rid of.  I tried ' postmap /etc/postfix/virtual', but that 
didn't do anything either.  Possibly if I were to reboot, but I am 
not in a position to do that now.  Thanks for your assistance.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads