PDA

View Full Version : postfix smtp problem


hammer
3rd June 2006, 12:55
I cant receive any mail, but i can send mail ?!? Why is that ... HELP?!
My domain is opasnivremena.com

Here is what i get from gmail:


Delivery to the following recipient failed permanently:

hammer@opasnivremena.com

Technical details of permanent failure:
PERM_FAILURE: SMTP Error (state 9): 554 <hammer@opasnivremena.com>: Relay access denied

----- Original message -----

Received: by 10.66.216.20 with SMTP id o20mr1535875ugg;
Sat, 03 Jun 2006 02:37:34 -0700 (PDT)
Received: by 10.66.245.8 with HTTP; Sat, 3 Jun 2006 02:37:34 -0700 (PDT)
Message-ID: <7e0505cf0606030237t3c1e39fegf9c60780d9fb7adf@mail. gmail.com>
Date: Sat, 3 Jun 2006 12:37:34 +0300
From: "Hristo Mitev" <duronrulez@gmail.com>
To: hammer@opasnivremena.com
Subject: nmm
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_Part_1237_24385481.1149327454035"

------=_Part_1237_24385481.1149327454035
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

nmmm

------=_Part_1237_24385481.1149327454035
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

----- Message truncated -----

falko
3rd June 2006, 14:31
It seems as if the receiving mail server doesn't know that it is responsible for emails for the domain opasnivremena.com.

The receiving mail server is relaymx.bgdns.net:

dig mx opasnivremena.com

; <<>> DiG 9.2.1 <<>> mx opasnivremena.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59268
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;opasnivremena.com. IN MX

;; ANSWER SECTION:
opasnivremena.com. 86400 IN MX 10 relaymx.bgdns.net.
opasnivremena.com. 86400 IN MX 20 mx2.bgdns.net.

;; Query time: 80 msec
;; SERVER: 81.169.163.104#53(81.169.163.104)
;; WHEN: Sat Jun 3 13:28:52 2006
;; MSG SIZE rcvd: 88

hammer
3rd June 2006, 18:35
which means that it should be opasnivremena.com instead of relaymx.bgdns.net right?

falko
3rd June 2006, 23:00
If you want to receive emails for opasnivremena.com on the opasnivremena.com server, then yes. :)

hammer
3rd June 2006, 23:21
okay thanks :) i will update my mx record. Can you tell me also why i cant login to my pop3 server? I connect to localhost on 110 and pass user and password as needed but i get login failed allways :(

falko
3rd June 2006, 23:30
Do you use the correct username (something like web1_user) and password?

hammer
3rd June 2006, 23:36
web1_user?!!?

I use my user and password which i use when i connect via ssh.
Hm ... i am guessing that this is not possible, so can you tell me where can i administer the pop3 accounts? i am using postfix+courier_auth/pop3

hammer
4th June 2006, 16:15
okay i've set up the postfix to look for my pop3 accounts via authshadow and authpwd (which was exactly what i wanted) so i can login now. But i still cant recieve or send(from another pc, works only on localhost) any mail! HELP?!

falko
4th June 2006, 16:47
What's in your mail log? Have you configured Postfix to deliver mails to Maildir?

hammer
4th June 2006, 17:05
home_mailbox = .maildir/

http://opasnivremena.com/mail.log - and here is my mail log.

falko
5th June 2006, 15:42
home_mailbox = .maildir/
It must be home_mailbox = Maildir/ instead.