This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

MTA to ext. srv some mail are bounced

So I set up the MTA and got it working generally good. I'm having some bounced mail though, some of which are of great importance(eg.bank)

Setup is as follows:

Server is on another provider (lets say mail.org is the domain)

The XG ip is, of course, different (eg. sfosxg.net) with no rdns

On the XG:

SMTP hostname: mail.org

 

SMTP TLS Configuration

Certificate : Appliance certificate

Allow invalid: yes

Skip tls negotiation: mail.org

 

POP & IMAP TLS

Certificate : Default

Allow invalid: yes

 

Use smarthost: yes

hostname: mail.org port 25 (telnet to port 25 works ok from xg console)

Authenicate smarthost: yes

user - password ***

 

hostbased relay

allow: mail.org & local xg network

deny: all

 

upstream host

allow:any

 

When I am on the XG network and I send an email to myself (eg. panos@mail.org) it is delivered correctly. If I send an email from OSticket for example which is on the same network and has an authenicated user(eg. support@mail.org) it gets bounced and I get an email 

 SMTP error from remote mail server after end of data:
   550 5.7.1 Command rejected
Reporting-MTA: dns; mail.org

This e-mail is directly from my provider.

With the bank I see on the mail  log that it's bounced but no reason why and I never get an e-mail.  Also awarrenmta.log hasn't logged any e-mail these 2 days of using it.

I'm suspecting it has to do with the certificate between XG and mail.org to communicate, but could be wrong.

I have requested the mail provider to give me the log for 2 specific mail that have been bounced from OSTicket to see why.

Any thoughts?



This thread was automatically locked due to age.
Parents
  • Update:

    Found out why my internal mail were not sent. I had to change the smtp port on the OSTicket to 587 and voila!

    The only problem I got and for the moment I disabled the MTA is why I got bounced mail from my bank and 2-3 others. 

    Also awarrenmta.log does not log mail! Why's that?

  • Update 2: Just got a reply from provider saying for the time I used the MTA, their server didn't log anything. It's if the MTA was working as a standalone mail server. On top of that, I still don't have any logs from awarrenmta.log for the time I used it.

    The only thing I changed in the dns host is the MX record to point to the XG first, with another one pointing to the ISP in case something goes wrong with my network. TTL on my XG is 10, to the ISP is 20.

    It's really weird and I really loved the simplicity of the filtering of the MTA, in contrast to my providers which is close to none. 

    If anyone has any idea, I'd be gratefull.

     

    Edit: Ok just got a clarification from the provider. Only the bounced mail were not logged, which means the MTA was dropping or couldn't deliver them. 

Reply
  • Update 2: Just got a reply from provider saying for the time I used the MTA, their server didn't log anything. It's if the MTA was working as a standalone mail server. On top of that, I still don't have any logs from awarrenmta.log for the time I used it.

    The only thing I changed in the dns host is the MX record to point to the XG first, with another one pointing to the ISP in case something goes wrong with my network. TTL on my XG is 10, to the ISP is 20.

    It's really weird and I really loved the simplicity of the filtering of the MTA, in contrast to my providers which is close to none. 

    If anyone has any idea, I'd be gratefull.

     

    Edit: Ok just got a clarification from the provider. Only the bounced mail were not logged, which means the MTA was dropping or couldn't deliver them. 

Children
No Data