Sorry, I forgot that after edit
/etc/postfix/virtual
and
/etc/postfix/aliases
you must do as root:

postmap /etc/postfix/virtual

newaliases

postfix reload

Cheers.

El 10.08.31 10:08:11 ->- j...@telefonica.net dijo:
> As two friends ask about config to take notes, here, it is.
> 
> Postfix:
>     /etc/postfix/main.cf
>         relayhost = [smtp.xxxxxxx.com]:submission
>         alias_maps = hash:/etc/aliases
>         virtual_alias_maps = hash:/etc/postfix/virtual
>     /etc/postfix/virtual    
>         @notes.localdomain    blackh...@localhost
>     /etc/postfix/aliases
>         blackhole:  /dev/null
> 
> Mutt
>     ~/.muttrc
>         # Macro to choose notes identity
>         macro index,pager <f1> "\
>         <enter-command> set from=notes_u...@notes.localdomain<Enter>\
>         <enter-command> set realname=notes_user<Enter>\
>         <enter-command> unset signature<Enter>\
>         <enter-command> set include=no<Enter>\
>         <enter-command> set status_format=\"%r-apuntes_j...@localhost: \
>         <%f> [%M/%m] [N=%n,*=%t,post=%p,new=%b]\"<Enter>" \
>         "Switch to notes_u...@localhost"
>         # Copy to notes mailbox
>         fcc-hook '~t \\<notes_u...@notes\.localdomain\\>' ~/mail/notes
> 
> I hope not forget something.
> 
> Best regards.
> 
> -- 
> Jose Angel Navarro Cortes
> email: j...@telefonica.net
> web: http://janc.es/
> Usuario Linux: #49178

-- 
Jose Angel Navarro Cortes
email: j...@telefonica.net
web: http://janc.es/
Usuario Linux: #49178

Reply via email to