junfan
25th February 2009, 12:38
Hello,
I'm glad to register here and i hope you'll can help me...
I follow this howto: http://www.howtoforge.com/virtual-users-and-domains-with-postfix-ubuntu-7.10
if i test postfix with "telnet mydomain.com 25" i have some logs into /var/log/mail.log :
Feb 25 09:50:25 ks2****2 postfix/smtpd[31519]: connect from localhost.localdomain[127.0.0.1]
Feb 25 09:51:27 ks2****2 postfix/smtpd[31519]: 286BB99293: client=localhost.localdomain[127.0.0.1]
Feb 25 09:51:46 ks2****2 postfix/cleanup[31694]: 286BB99293: message-id=<20090225085127.286BB99293@ks2****2.kimsufi.com>
Feb 25 09:51:46 ks2****2 postfix/qmgr[30868]: 286BB99293: from=<postmaster@mondomaine.com>, size=396, nrcpt=1 (queue active)
Feb 25 09:51:46 ks2****2 postfix/smtp[31695]: 286BB99293: to=<contact@mondomaine.com>, relay=none, delay=54, delays=54/0.01/0/0, dsn=5.4.6, status=bounced (mail for ks2****2.kimsufi.com loops back to myself)
Feb 25 09:51:46 ks2****2 postfix/cleanup[31694]: 23E9D99298: message-id=<20090225085146.23E9D99298@ks2****2.kimsufi.com>
Feb 25 09:51:46 ks2****2 postfix/qmgr[30868]: 23E9D99298: from=<>, size=2249, nrcpt=1 (queue active)
Feb 25 09:51:46 ks2****2 postfix/bounce[31696]: 286BB99293: sender non-delivery notification: 23E9D99298
Feb 25 09:51:46 ks2****2 postfix/qmgr[30868]: 286BB99293: removed
Feb 25 09:51:46 ks2****2 postfix/smtp[31695]: 23E9D99298: to=<postmaster@graphik-3d.com>, relay=none, delay=0.01, delays=0.01/0/0/0, dsn=5.4.6, status=bounced (mail for ks2****2.kimsufi.com loops back to myself)
Feb 25 09:51:46 ks2****2 postfix/qmgr[30868]: 23E9D99298: removed
Feb 25 09:52:00 ks2****2 postfix/smtpd[31519]: disconnect from localhost.localdomain[127.0.0.1]
Is it normal ?
With Thunderbird, I receive notifications like "Undelivered Mail Returned to Sender" when i try to send an email from an other mailbox toward my mailbox@mydomaine.com ...
tail -f /var/log/mail.log
return :
Feb 25 09:52:00 ks2****2 postfix/smtpd[31519]: disconnect from localhost.localdomain[127.0.0.1]
Feb 25 09:58:12 ks2****2 imapd: Connection, ip=[::ffff:1**.*3.*.**6]
Feb 25 09:58:13 ks2****2 authdaemond: authmysql: MYSQL_SERVER nor MYSQL_SOCKET set in/etc/courier/authmysqlrc.
Feb 25 09:58:13 ks2****2 imapd: LOGIN FAILED, method=PLAIN, ip=[::ffff:1**.*3.*.**6]
Feb 25 09:58:13 ks2****2 imapd: authentication error: Input/output error
Feb 25 09:59:37 ks2****2 postfix/smtpd[31965]: connect from mx2.machin.***.fr[1**.**4.1**.6]
Feb 25 09:59:37 ks2****2 postfix/smtpd[31965]: EF21699293: client=mx2.machin.***.fr[1**.**4.1**.6]
Feb 25 09:59:37 ks2****2 postfix/cleanup[31969]: EF21699293: message-id=<49A468C6.1050607@gmail.com>
Feb 25 09:59:38 ks2****2 postfix/qmgr[30868]: EF21699293: from=<netwebnet@gmail.com>, size=1295, nrcpt=1 (queue active)
Feb 25 09:59:38 ks2****2 postfix/smtpd[31965]: disconnect from mx2.machin.***.fr[1**.**4.1**.6]
Feb 25 09:59:38 ks2****2 postfix/smtp[31970]: EF21699293: to=<contact@mondomaine.com>, relay=none, delay=0.04, delays=0.04/0.01/0/0, dsn=5.4.6, status=bounced (mail for ks2****2.kimsufi.com loops back to myself)
Feb 25 09:59:38 ks2****2 postfix/cleanup[31969]: 049B999298: message-id=<20090225085938.049B999298@ks2****2.kimsufi.com>
Feb 25 09:59:38 ks2****2 postfix/qmgr[30868]: 049B999298: from=<>, size=3218, nrcpt=1 (queue active)
Feb 25 09:59:38 ks2****2 postfix/bounce[31971]: EF21699293: sender non-delivery notification: 049B999298
Feb 25 09:59:38 ks2****2 postfix/qmgr[30868]: EF21699293: removed
Feb 25 09:59:38 ks2****2 postfix/smtp[31970]: 049B999298: to=<netwebnet@gmail.com>, relay=gmail-smtp-in.l.google.com[66.249.93.114]:25, delay=0.65, delays=0.01/0/0.14/0.5, dsn=2.0.0, status=sent (250 2.0.0 OK 1235552379 j27si777949ugc.12)
any idea ?
THANK YOU !
EDIT :
In my admin mailbox, i receive from CRON this message : "/usr/share/sendmail/sendmail: line 826: /usr/sbin/sendmail-msp: Aucun fichier ou répertoire de ce type (in english: no files or folder like this)"
Normal ?
EDIT2 :
With tail -f /var/log/mail.err
There is this log :
Feb 25 10:38:13 ks2****2 authdaemond: authmysql: MYSQL_SERVER nor MYSQL_SOCKET set in/etc/courier/authmysqlrc.
Feb 25 10:38:13 ks2****2 imapd: authentication error: Input/output error
Feb 25 10:48:13 ks2****2 authdaemond: authmysql: MYSQL_SERVER nor MYSQL_SOCKET set in/etc/courier/authmysqlrc.
Feb 25 10:48:13 ks2****2 imapd: authentication error: Input/output error
Feb 25 10:51:12 ks2****2 authdaemond: authmysql: MYSQL_SERVER nor MYSQL_SOCKET set in/etc/courier/authmysqlrc.
Feb 25 10:51:12 ks2****2 imapd: authentication error: Input/output error
Feb 25 10:52:47 ks2****2 authdaemond: authmysql: MYSQL_SERVER nor MYSQL_SOCKET set in/etc/courier/authmysqlrc.
Feb 25 10:52:47 ks2****2 imapd: authentication error: Input/output error
Feb 25 11:49:59 ks2****2 postfix/smtpd[4588]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Feb 25 11:51:00 ks2****2 postfix/smtpd[4633]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Probleme come from main.cf ?! I don't understand ...
I'm glad to register here and i hope you'll can help me...
I follow this howto: http://www.howtoforge.com/virtual-users-and-domains-with-postfix-ubuntu-7.10
if i test postfix with "telnet mydomain.com 25" i have some logs into /var/log/mail.log :
Feb 25 09:50:25 ks2****2 postfix/smtpd[31519]: connect from localhost.localdomain[127.0.0.1]
Feb 25 09:51:27 ks2****2 postfix/smtpd[31519]: 286BB99293: client=localhost.localdomain[127.0.0.1]
Feb 25 09:51:46 ks2****2 postfix/cleanup[31694]: 286BB99293: message-id=<20090225085127.286BB99293@ks2****2.kimsufi.com>
Feb 25 09:51:46 ks2****2 postfix/qmgr[30868]: 286BB99293: from=<postmaster@mondomaine.com>, size=396, nrcpt=1 (queue active)
Feb 25 09:51:46 ks2****2 postfix/smtp[31695]: 286BB99293: to=<contact@mondomaine.com>, relay=none, delay=54, delays=54/0.01/0/0, dsn=5.4.6, status=bounced (mail for ks2****2.kimsufi.com loops back to myself)
Feb 25 09:51:46 ks2****2 postfix/cleanup[31694]: 23E9D99298: message-id=<20090225085146.23E9D99298@ks2****2.kimsufi.com>
Feb 25 09:51:46 ks2****2 postfix/qmgr[30868]: 23E9D99298: from=<>, size=2249, nrcpt=1 (queue active)
Feb 25 09:51:46 ks2****2 postfix/bounce[31696]: 286BB99293: sender non-delivery notification: 23E9D99298
Feb 25 09:51:46 ks2****2 postfix/qmgr[30868]: 286BB99293: removed
Feb 25 09:51:46 ks2****2 postfix/smtp[31695]: 23E9D99298: to=<postmaster@graphik-3d.com>, relay=none, delay=0.01, delays=0.01/0/0/0, dsn=5.4.6, status=bounced (mail for ks2****2.kimsufi.com loops back to myself)
Feb 25 09:51:46 ks2****2 postfix/qmgr[30868]: 23E9D99298: removed
Feb 25 09:52:00 ks2****2 postfix/smtpd[31519]: disconnect from localhost.localdomain[127.0.0.1]
Is it normal ?
With Thunderbird, I receive notifications like "Undelivered Mail Returned to Sender" when i try to send an email from an other mailbox toward my mailbox@mydomaine.com ...
tail -f /var/log/mail.log
return :
Feb 25 09:52:00 ks2****2 postfix/smtpd[31519]: disconnect from localhost.localdomain[127.0.0.1]
Feb 25 09:58:12 ks2****2 imapd: Connection, ip=[::ffff:1**.*3.*.**6]
Feb 25 09:58:13 ks2****2 authdaemond: authmysql: MYSQL_SERVER nor MYSQL_SOCKET set in/etc/courier/authmysqlrc.
Feb 25 09:58:13 ks2****2 imapd: LOGIN FAILED, method=PLAIN, ip=[::ffff:1**.*3.*.**6]
Feb 25 09:58:13 ks2****2 imapd: authentication error: Input/output error
Feb 25 09:59:37 ks2****2 postfix/smtpd[31965]: connect from mx2.machin.***.fr[1**.**4.1**.6]
Feb 25 09:59:37 ks2****2 postfix/smtpd[31965]: EF21699293: client=mx2.machin.***.fr[1**.**4.1**.6]
Feb 25 09:59:37 ks2****2 postfix/cleanup[31969]: EF21699293: message-id=<49A468C6.1050607@gmail.com>
Feb 25 09:59:38 ks2****2 postfix/qmgr[30868]: EF21699293: from=<netwebnet@gmail.com>, size=1295, nrcpt=1 (queue active)
Feb 25 09:59:38 ks2****2 postfix/smtpd[31965]: disconnect from mx2.machin.***.fr[1**.**4.1**.6]
Feb 25 09:59:38 ks2****2 postfix/smtp[31970]: EF21699293: to=<contact@mondomaine.com>, relay=none, delay=0.04, delays=0.04/0.01/0/0, dsn=5.4.6, status=bounced (mail for ks2****2.kimsufi.com loops back to myself)
Feb 25 09:59:38 ks2****2 postfix/cleanup[31969]: 049B999298: message-id=<20090225085938.049B999298@ks2****2.kimsufi.com>
Feb 25 09:59:38 ks2****2 postfix/qmgr[30868]: 049B999298: from=<>, size=3218, nrcpt=1 (queue active)
Feb 25 09:59:38 ks2****2 postfix/bounce[31971]: EF21699293: sender non-delivery notification: 049B999298
Feb 25 09:59:38 ks2****2 postfix/qmgr[30868]: EF21699293: removed
Feb 25 09:59:38 ks2****2 postfix/smtp[31970]: 049B999298: to=<netwebnet@gmail.com>, relay=gmail-smtp-in.l.google.com[66.249.93.114]:25, delay=0.65, delays=0.01/0/0.14/0.5, dsn=2.0.0, status=sent (250 2.0.0 OK 1235552379 j27si777949ugc.12)
any idea ?
THANK YOU !
EDIT :
In my admin mailbox, i receive from CRON this message : "/usr/share/sendmail/sendmail: line 826: /usr/sbin/sendmail-msp: Aucun fichier ou répertoire de ce type (in english: no files or folder like this)"
Normal ?
EDIT2 :
With tail -f /var/log/mail.err
There is this log :
Feb 25 10:38:13 ks2****2 authdaemond: authmysql: MYSQL_SERVER nor MYSQL_SOCKET set in/etc/courier/authmysqlrc.
Feb 25 10:38:13 ks2****2 imapd: authentication error: Input/output error
Feb 25 10:48:13 ks2****2 authdaemond: authmysql: MYSQL_SERVER nor MYSQL_SOCKET set in/etc/courier/authmysqlrc.
Feb 25 10:48:13 ks2****2 imapd: authentication error: Input/output error
Feb 25 10:51:12 ks2****2 authdaemond: authmysql: MYSQL_SERVER nor MYSQL_SOCKET set in/etc/courier/authmysqlrc.
Feb 25 10:51:12 ks2****2 imapd: authentication error: Input/output error
Feb 25 10:52:47 ks2****2 authdaemond: authmysql: MYSQL_SERVER nor MYSQL_SOCKET set in/etc/courier/authmysqlrc.
Feb 25 10:52:47 ks2****2 imapd: authentication error: Input/output error
Feb 25 11:49:59 ks2****2 postfix/smtpd[4588]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Feb 25 11:51:00 ks2****2 postfix/smtpd[4633]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Probleme come from main.cf ?! I don't understand ...