Current time: 12-26-2024, 03:02 AM Hello There, Guest! (LoginRegister)


Thread Closed 
[SOLVED] Postfix Problems
Author Message
davtex Offline


Posts: 3
Joined: Feb 2009
Reputation: 0
Post: #1
[SOLVED] Postfix Problems
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
(This post was last modified: 02-20-2009 08:20 PM by BeNe.)
02-19-2009 10:24 AM
Find all posts by this user
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: Postfix Problems
"do not list domain mydomain.sk in BOTH mydestination and virtual_mailbox_domains"

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

/Joxi
02-19-2009 04:43 PM
Visit this user's website Find all posts by this user
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #3
RE: Postfix Problems
--> http://www.isp-control.net/documentation...l_problems

Greez BeNe
02-19-2009 04:52 PM
Visit this user's website Find all posts by this user
RodNoc Offline
Junior Member
*

Posts: 64
Joined: Sep 2008
Reputation: 0
Post: #4
RE: Postfix Problems
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)
02-19-2009 06:05 PM
Find all posts by this user
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #5
RE: Postfix Problems
(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...
02-20-2009 12:39 AM
Visit this user's website Find all posts by this user
davtex Offline


Posts: 3
Joined: Feb 2009
Reputation: 0
Post: #6
RE: Postfix Problems
Joximu: Thank you.
Solution was very easy, I just changed myhostname in main.cf from mydomain.sk to mail.mydomain.sk.
02-20-2009 08:08 AM
Find all posts by this user
Thread Closed 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)