ispCP - Board - Support
postfix ne marche pas ? - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega International Area (/forum-22.html)
+--- Forum: French Corner (/forum-25.html)
+--- Thread: postfix ne marche pas ? (/thread-4890.html)



postfix ne marche pas ? - Tom. - 11-10-2008 08:29 AM

bonjour je viens d'installer ispcp sur un serveur debian etch mais je ne peux pas envoyer des mails sur mon serveur. Par contre j peux en envoyer depuis mon serveur.

Qunand j'essaye d'envoyer un mail sur mail@mondomaine.com il me dis:
<mail@mondomaine.com>: unknown user: "mail".

Des idees ?


RE: postfix ne marche pas ? - Juz - 11-10-2008 07:58 PM

Bonjour,

Tu as quoi dans tes logs ?


RE: postfix ne marche pas ? - Tom. - 11-10-2008 08:20 PM

Ypo, je ne savais pas trop ou chercher/quoi mettre dans les logs donc voici mon fichier log:
http://www.theonegri.com/mail.log

Le message d'erreur est arrive le 09/11/2008 a 23:48


RE: postfix ne marche pas ? - lepetitalbert - 11-11-2008 02:10 AM

Salut,

et tu as un utilisateur qui s'appelle mail ?


RE: postfix ne marche pas ? - Tom. - 11-11-2008 02:38 AM

j'ai un mail genre mail@mondomaine.com

et voici mon cat /etc/passwd:
theonegri:/# cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/bin/sh
bin:x:2:2:bin:/bin:/bin/sh
sys:x:3:3:sys:/dev:/bin/sh
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/bin/sh
man:x:6:12:man:/var/cache/man:/bin/sh
lp:x:7:7:lp:/var/spool/lpd:/bin/sh
mail:x:8:8:mail:/var/mail:/bin/sh
news:x:9:9:news:/var/spool/news:/bin/sh
uucp:x:10:10:uucp:/var/spool/uucp:/bin/sh
proxy:x:13:13:proxy:/bin:/bin/sh
www-data:x:33:33:www-data:/var/www:/bin/sh
backup:x:34:34:backup:/var/backups:/bin/sh
list:x:38:38:Mailing List Manager:/var/list:/bin/sh
irc:x:39:39:ircd:/var/run/ircd:/bin/sh
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
sshd:x:100:65534::/var/run/sshd:/usr/sbin/nologin
Debian-exim:x:101:103::/var/spool/exim4:/bin/false
bind:x:102:104::/var/cache/bind:/bin/false
mysql:x:103:105:MySQL Server,,,:/var/lib/mysql:/bin/false
postfix:x:104:107::/var/spool/postfix:/bin/false
polw:x:105:109:policy-weight user,,,:/var/lib/polw:/bin/false
postgrey:x:106:110::/var/lib/postgrey:/bin/false
proftpd:x:107:65534::/var/run/proftpd:/bin/false
ftp:x:108:65534::/home/ftp:/bin/false
vmail:x:1000:8:vmail-user:/home/vmail:/bin/false
vu2000:x:2000:2000:vu-master:/var/www/fcgi/master:/bin/false
vu2001:x:2001:2001:virtual-user:/var/www/virtual/theonegri.com:/bin/false
Ceci dit, qund je tente d'envoyer un mail a root@mondomaine.com ou abuse@mondomaine.com (des mails que j'ai cree), le resultat est le meme. Unknow user root ou abuse.


RE: postfix ne marche pas ? - Tom. - 11-12-2008 06:49 PM

Up !

Je bloque toujours


RE: postfix ne marche pas ? - joximu - 11-12-2008 07:39 PM

cat /etc/postfix/ispcp/mailboxes
ou
cat /etc/postfix/ispcp/aliases

/?


RE: postfix ne marche pas ? - Tom. - 11-12-2008 09:50 PM

theonegri:~# cat /etc/postfix/ispcp/mailboxes
#
# MTA Managment Mailboxes List;
#
# Please do NOT edit it manually;
#
webmaster@theonegri.com theonegri.com/webmaster/
postmaster@theonegri.com theonegri.com/postmaster/
abuse@theonegri.com theonegri.com/abuse/
theo@theonegri.com theonegri.com/theo/
bordel@theonegri.com theonegri.com/bordel/
buzz@theonegri.com theonegri.com/buzz/
job@theonegri.com theonegri.com/job/
newsletter@theonegri.com theonegri.com/newsletter/
poker@theonegri.com theonegri.com/poker/
school@theonegri.com theonegri.com/school/
redirect@theonegri.com theonegri.com/redirect/
mail@theonegri.com theonegri.com/mail/



theonegri:~# cat /etc/postfix/ispcp/aliases
#
# MTA Managment Virtual Aliases List;
#
# Please do NOT edit it manually;
#
webmaster@theonegri.com spami@spami.net
postmaster@theonegri.com spami@spami.net
abuse@theonegri.com spami@spami.net
theo@theonegri.com theo@theonegri.com
bordel@theonegri.com bordel@theonegri.com
buzz@theonegri.com bordel@theonegri.com
job@theonegri.com bordel@theonegri.com
newsletter@theonegri.com bordel@theonegri.com
poker@theonegri.com bordel@theonegri.com
school@theonegri.com bordel@theonegri.com
redirect@theonegri.com bordel@theonegri.com
mail@theonegri.com mail@theonegri.com
theonegri:~# cat /etc/postfix/ispcp/mailboxes
#
# MTA Managment Mailboxes List;
#
# Please do NOT edit it manually;
#
webmaster@theonegri.com theonegri.com/webmaster/
postmaster@theonegri.com theonegri.com/postmaster/
abuse@theonegri.com theonegri.com/abuse/
theo@theonegri.com theonegri.com/theo/
bordel@theonegri.com theonegri.com/bordel/
buzz@theonegri.com theonegri.com/buzz/
job@theonegri.com theonegri.com/job/
newsletter@theonegri.com theonegri.com/newsletter/
poker@theonegri.com theonegri.com/poker/
school@theonegri.com theonegri.com/school/
redirect@theonegri.com theonegri.com/redirect/
mail@theonegri.com theonegri.com/mail/



theonegri:~# cat /etc/postfix/ispcp/aliases
#
# MTA Managment Virtual Aliases List;
#
# Please do NOT edit it manually;
#
webmaster@theonegri.com spami@spami.net
postmaster@theonegri.com spami@spami.net
abuse@theonegri.com spami@spami.net
theo@theonegri.com theo@theonegri.com
bordel@theonegri.com bordel@theonegri.com
buzz@theonegri.com bordel@theonegri.com
job@theonegri.com bordel@theonegri.com
newsletter@theonegri.com bordel@theonegri.com
poker@theonegri.com bordel@theonegri.com
school@theonegri.com bordel@theonegri.com
redirect@theonegri.com bordel@theonegri.com
mail@theonegri.com mail@theonegri.com


RE: postfix ne marche pas ? - joximu - 11-12-2008 09:58 PM

warning: do not list domain theonegri.com in BOTH mydestination and virtual_mailbox_domains

-> main.cf
mydestination = admin.theonegri.com


/J