ispCP - Board - Support
[SOLVED] Postfix Problems - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: [SOLVED] Postfix Problems (/thread-5763.html)



[SOLVED] Postfix Problems - davtex - 02-19-2009 10:24 AM

I can send emails through SMTP but I cant recieve them because Postfix removes them. Here is the log:

postfix/smtpd[4915]: 8FDEA228B0: client=some.mailserver.sk[xxx.xxx.xxx.xxx]
postfix/cleanup[4921]: 8FDEA228B0: message-id=<001901c99225$02f0cab0$08d26010$@sk>
postfix/smtpd[4915]: disconnect from some.mailserver.sk[213.81.191.123]
postfix/qmgr[3447]: 8FDEA228B0: from=<myfriend@email.com>, size=3976, nrcpt=1 (queue active)
postfix/trivial-rewrite[4918]: warning: do not list domain mydomain.sk in BOTH mydestination and virtual_mailbox_domains
postfix/local[4922]: 8FDEA228B0: to=<admin@mydomain.sk>, relay=local, delay=2.5, delays=2.4/0.01/0/0.04, dsn=5.1.1, status=bounced (unknown user: "admin")
postfix/cleanup[4921]: AB390229BB: message-id=<20090218235937.AB390229BB@blitz.sk>
postfix/qmgr[3447]: AB390229BB: from=<>, size=5673, nrcpt=1 (queue active)
postfix/bounce[4923]: 8FDEA228B0: sender non-delivery notification: AB390229BB
postfix/qmgr[3447]: 8FDEA228B0: removed
postfix/smtp[4924]: AB390229BB: to=<myfriend@email.com>, relay=some.mailserver.sk[xxx.xxx.xxx.xxx]:25, delay=0.18, delays=0/0.03/0.07/0.08, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as D6AD3CF38C)
postfix/qmgr[3447]: AB390229BB: removed

I think it worked before I removed some file in /etc/postfix/sasl/, I think the file's name was smtpd.conf. I removed it because somewhere I read it will help me with sending mails through SMTP. Before I removed it I think mails worked fine except Outlook couldn't get through SMTP authorisation.

Sorry for my english.

P.S.
I don't speak german. Smile


RE: Postfix Problems - joximu - 02-19-2009 04:43 PM

"do not list domain mydomain.sk in BOTH mydestination and virtual_mailbox_domains"

please fix this (search the forum for more info).

/Joxi


RE: Postfix Problems - BeNe - 02-19-2009 04:52 PM

--> http://www.isp-control.net/documentation/debugging_e-mail_problems

Greez BeNe


RE: Postfix Problems - RodNoc - 02-19-2009 06:05 PM

Code:
postfix/local[4922]: 8FDEA228B0: to=<admin@mydomain.sk>, relay=local, delay=2.5, delays=2.4/0.01/0/0.04, dsn=5.1.1, status=bounced (unknown user: "admin")

you don't have any user named "admin" in your alias-table for mydomain.sk. So it couldn't be delivered.

The second message
Code:
postfix/smtp[4924]: AB390229BB: to=<myfriend@email.com>, relay=some.mailserver.sk[xxx.xxx.xxx.xxx]:25, delay=0.18, delays=0/0.03/0.07/0.08, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as D6AD3CF38C)
postfix/qmgr[3447]: AB390229BB: removed
was sent to the next mailserver with MessageID D6AD3CF38C. So it was deleted from your queue (qmgr = Queuemanager)


RE: Postfix Problems - rbtux - 02-20-2009 12:39 AM

(02-19-2009 06:05 PM)RodNoc Wrote:  
Code:
postfix/local[4922]: 8FDEA228B0: to=<admin@mydomain.sk>, relay=local, delay=2.5, delays=2.4/0.01/0/0.04, dsn=5.1.1, status=bounced (unknown user: "admin")

you don't have any user named "admin" in your alias-table for mydomain.sk. So it couldn't be delivered.

wrong... See relay... its local. That means that there is no user admin in /etc/aliases for the domain configured as mydestination. In the link that bene has postet the solution is mentioned...

and about 50 time here in the forum...


RE: Postfix Problems - davtex - 02-20-2009 08:08 AM

Joximu: Thank you.
Solution was very easy, I just changed myhostname in main.cf from mydomain.sk to mail.mydomain.sk.