#1 Le 21/05/2007, à 10:45
- compte supprimé
[résolu] postfix me rajoute mail à utilisateur@mail.machine
Bonjour
Quand je m'envoie un mail en local ou à un user il me rajoute le préfixe mail devant le nom de la machine. Donc au lieu d'avoir un mail weenu@serveur1 j'ai weenu@mail.serveur1
C'est normal ?
J'ai modifié le /etc/aliases mais ça semble pas changer (j'ai pas encore rebooté mais j'ai redémarré postfix)
/etc/aliases
# Added by installer for initial user
root: weenu@serveur1
Comment changer ça svp. Merci.
Dernière modification par weenu (Le 21/05/2007, à 10:55)
#2 Le 21/05/2007, à 10:49
- toniotonio
Re : [résolu] postfix me rajoute mail à utilisateur@mail.machine
fais voir ton postconf -n
Tutoriaux Postfix sur www.starbridge.org/spip
Messagerie Dédiée, Relais Mail Antispam/Antivirus, Infogérance 24/7: http://www.eole-its.com
Hors ligne
#3 Le 21/05/2007, à 10:55
- compte supprimé
Re : [résolu] postfix me rajoute mail à utilisateur@mail.machine
$ postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
home_mailbox = Maildir/
inet_interfaces = all
inet_protocols = all
mailbox_command = maildrop
mailbox_size_limit = 0
mydestination = serveur1, localhost, localhost.localdomain, localhost
myhostname = serveur1
mynetworks = 127.0.0.0/8 192.168.1.2/24
myorigin = /etc/mailname
recipient_delimiter = +
relayhost =
smtp_tls_note_starttls_offer = yes
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
Et c'est là que je tombe sur la ligne /etc/mailname :
$ cat /etc/mailname
mail.serveur1
Merci toniotonio
#4 Le 21/05/2007, à 10:59
- toniotonio
Re : [résolu] postfix me rajoute mail à utilisateur@mail.machine
oui c'est myorigin le parametre en question
Tutoriaux Postfix sur www.starbridge.org/spip
Messagerie Dédiée, Relais Mail Antispam/Antivirus, Infogérance 24/7: http://www.eole-its.com
Hors ligne