Jump to content

Postfix OUT OK - IN KO


garrop
 Share

Recommended Posts

Hi to everyone,

 

I am trying to run my own mail server. Installed postfix with 10.1. Outbound emails work fine after I tunned the main.cf file. However, when I reply to my emails, this is what I get:

 

 

--------------------------------------------

 

This is an automatically generated Delivery Status Notification

 

THIS IS A WARNING MESSAGE ONLY.

 

YOU DO NOT NEED TO RESEND YOUR MESSAGE.

 

Delivery to the following recipient has been delayed:

 

capncrunch@xxxxxxx.com

 

Message will be retried for 2 more day(s)

 

 

 

Technical details of temporary failure:

TEMP_FAILURE: Could not initiate SMTP conversation with any hosts:

[ruby.xxxxxxxx.com (1): Connection timed out]

 

----- Message header follows -----

 

Received: by 10.38.101.54 with SMTP id y54mr6104rnb;

Sat, 12 Feb 2005 08:07:49 -0800 (PST)

Received: by 10.38.97.27 with HTTP; Sat, 12 Feb 2005 08:07:49 -0800 (PST)

Message-ID: <c7200bce050212080755700167@mail.gmail.com>

Date: Sat, 12 Feb 2005 11:07:49 -0500

From: Richard <yyyyyyyyy@gmail.com>

Reply-To: Richard <yyyyyyyyyyy@gmail.com>

To: capncrunch@xxxxxxx.com

Subject: Here it is

Mime-Version: 1.0

 

--------------------------------------------------------------

 

 

I have opened the ports on my router and redirected them to my PC. My ISP claims they have not closed either 25 or 110.

 

I have checked the postfix documetnation, but I have been unable to find any similar problems there. Can anybody help me?

 

Many thanks. :help:

Content-Type: text/plain; charset=US-ASCII

Content-Transfer-Encoding: 7bit

Edited by garrop
Link to comment
Share on other sites

Check your firewall  allows the ports.

Check your config file and make sure the MTA  is listening to your IP address and not  just your local address (127.0.0.1)

 

 

Sorry to ask again. I have checked my firewall and all ports are open.

 

The problem must be in the conf file. In fact, I can not send email to local users. Although emails to outside peolple goes through ok, when sending email to local users all email stays on the mail queue I see with webmin.

 

On the other hand, when sending mails from the outside, the sender gets the error:

 

Technical details of permanent failure:

TEMP_FAILURE: Could not initiate SMTP conversation with any hosts:

 

I have configured the main.cf according to postfix.org, but I must have something wrong there. Any help would be extremely appreciated, for I have spent the whole evening trying to figure this out.

 

:thanks::thanks:

Link to comment
Share on other sites

maybe you can try to add this to your main.cf

inet_interfaces = 192.168.1.1 127.0.0.1

#note: 192.168.1.1 - this should be ur local IP, so change this to whatever ur local IP and of course 127 is ur loopback

mynetworks_style = host

mynetworks = 127.0.0.0/8 192.168.1.0/24 xxx.xxx.xxx.0/24

# xxx.xxx.xxx.0/24 assumes to be ur isp network

Link to comment
Share on other sites

maybe you can try to add this to your main.cf

inet_interfaces = 192.168.1.1 127.0.0.1

#note: 192.168.1.1 - this should be ur local IP, so change this to whatever ur local IP and of course 127 is ur loopback

mynetworks_style = host

mynetworks = 127.0.0.0/8 192.168.1.0/24 xxx.xxx.xxx.0/24

# xxx.xxx.xxx.0/24 assumes to be ur isp network

Thanks for your help. main.cf included the info you are suggesting.

 

In the meantime, I found where the main problem was: A typo in the MX redirection at zoneedti.com (I have dynamic IP)

 

Now the emails arrive ok, but they are not delivered to the local user. They instead are queued within the macine (I can see them at webmin / postfix / queue)

 

So my big question is: why local email does not work. I include about what is going on:

 

--------------------------------

Feb 21 20:01:17 webmaster postfix/pickup[24913]: 25980985D: uid=0 from=<root>

Feb 21 20:01:17 webmaster postfix/cleanup[26867]: 25980985D: message-id=<20050221190117.25980985D@localhost>

Feb 21 20:01:17 webmaster postfix/qmgr[25806]: 25980985D: from=<root@xxxxx.com>, size=2043, nrcpt=1 (queue active)

Feb 21 20:04:24 webmaster postfix/smtpd[27023]: connect from webmail-out.tiscali.fr[213.36.80.105]

Feb 21 20:04:24 webmaster postfix/smtpd[27023]: 562969853: client=webmail-out.tiscali.fr[213.36.80.105]

Feb 21 20:04:24 webmaster postfix/cleanup[27024]: 562969853: message-id=<IC9ZBS$D7EA95D8178A7FF7DD67821615AEC27A@tiscali.fr>

Feb 21 20:04:24 webmaster postfix/qmgr[25806]: 562969853: from=<jerry@libertysurf.fr>, size=1265, nrcpt=1 (queue active)

Feb 21 20:04:47 webmaster postfix/smtpd[27023]: disconnect from webmail-out.tiscali.fr[213.36.80.105]

 

-------------------------------

 

 

Many thanks in advance.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...