fully-qualified hostname issue

Hi All
I am running OTRS version 3.2.2 on Ubuntu 12.04 Server.
I have an issue with mails going out to some client. I suspect their mailers
are doing a DNS lookup or verifying for a valid or FSDN from/return address.
When I mail the clients from my own mail client (outlook or thunderbird) it
works fine.
When I respond to the client from OTRS the mails are rejected by the remote
mailer. See error below:
----------------------------------------------------------------------------
--------------------------------

How is OTRS configured to deliver email? Sendmail or SMTP?
Steve
On 25 June 2013 14:46, Jason Marshall
Hi All
I am running OTRS version 3.2.2 on Ubuntu 12.04 Server.
I have an issue with mails going out to some client. I suspect their mailers are doing a DNS lookup or verifying for a valid or FSDN from/return address.
When I mail the clients from my own mail client (outlook or thunderbird) it works fine.
When I respond to the client from OTRS the mails are rejected by the remote mailer. See error below:
------------------------------------------------------------------------------------------------------------
: host anubis.se.axis.com[195.60.68.12] said: 504 5.5.2 <Ubuntu-OTRS>: Helo command rejected: need fully-qualified hostname (in reply to RCPT TO command) ----------------------------------------------------------------------------------------------------------
I tried changing the actual Ubuntu host name to a FQDN but it still does not work.
I tried looked in the admin - framework settings for any way of sending mails out with ha FSQN but I cannot find any settings there.
Our mailer has a valid MX record, so I am not sure where to start looking.
If any person can direct me in the right direction I would highly appreciate it.
Kind Regards Jason
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Not entirely sure, but I used the standard Ubuntu installation, so it would be Postfix which SMTP I guess.
-----Original Message-----
From: Steven Carr [mailto:sjcarr@gmail.com]
Sent: 25 June 2013 03:51 PM
To: jasonm@cat.co.za; User questions and discussions about OTRS.
Subject: Re: [otrs] fully-qualified hostname issue
How is OTRS configured to deliver email? Sendmail or SMTP?
Steve
On 25 June 2013 14:46, Jason Marshall
Hi All
I am running OTRS version 3.2.2 on Ubuntu 12.04 Server.
I have an issue with mails going out to some client. I suspect their mailers are doing a DNS lookup or verifying for a valid or FSDN from/return address.
When I mail the clients from my own mail client (outlook or thunderbird) it works fine.
When I respond to the client from OTRS the mails are rejected by the remote mailer. See error below:
---------------------------------------------------------------------- --------------------------------------
: host anubis.se.axis.com[195.60.68.12] said: 504 5.5.2 <Ubuntu-OTRS>: Helo command rejected: need fully-qualified hostname (in reply to RCPT TO command) ---------------------------------------------------------------------- ------------------------------------
I tried changing the actual Ubuntu host name to a FQDN but it still does not work.
I tried looked in the admin - framework settings for any way of sending mails out with ha FSQN but I cannot find any settings there.
Our mailer has a valid MX record, so I am not sure where to start looking.
If any person can direct me in the right direction I would highly appreciate it.
Kind Regards Jason
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

"Out the box" OTRS will be using sendmail (which in turn will pass it
to postfix).
Check /etc/postfix/main.cf and look for the value myhostname or
myorigin and see what the values are. myorigin is usually configured
to point to /etc/mailname which is a text file that will contain the
FQDN of your server which postfix uses when it performs HELO (don't
forget to restart postfix after making any changes).
Steve
On 25 June 2013 15:05, Jason Marshall
Not entirely sure, but I used the standard Ubuntu installation, so it would be Postfix which SMTP I guess.
-----Original Message----- From: Steven Carr [mailto:sjcarr@gmail.com] Sent: 25 June 2013 03:51 PM To: jasonm@cat.co.za; User questions and discussions about OTRS. Subject: Re: [otrs] fully-qualified hostname issue
How is OTRS configured to deliver email? Sendmail or SMTP?
Steve
On 25 June 2013 14:46, Jason Marshall
wrote: Hi All
I am running OTRS version 3.2.2 on Ubuntu 12.04 Server.
I have an issue with mails going out to some client. I suspect their mailers are doing a DNS lookup or verifying for a valid or FSDN from/return address.
When I mail the clients from my own mail client (outlook or thunderbird) it works fine.
When I respond to the client from OTRS the mails are rejected by the remote mailer. See error below:
---------------------------------------------------------------------- --------------------------------------
: host anubis.se.axis.com[195.60.68.12] said: 504 5.5.2 <Ubuntu-OTRS>: Helo command rejected: need fully-qualified hostname (in reply to RCPT TO command) ---------------------------------------------------------------------- ------------------------------------
I tried changing the actual Ubuntu host name to a FQDN but it still does not work.
I tried looked in the admin - framework settings for any way of sending mails out with ha FSQN but I cannot find any settings there.
Our mailer has a valid MX record, so I am not sure where to start looking.
If any person can direct me in the right direction I would highly appreciate it.
Kind Regards Jason
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Hi Steven
Thanks, I think I found the problem.
In the postfix config file (/etc/postfix/main.cf) there is a $myhostname variable that needs to be assigned to a FQDN. It was pointing to my unit name.
Regards
Jason
-----Original Message-----
From: Steven Carr [mailto:sjcarr@gmail.com]
Sent: 25 June 2013 03:51 PM
To: jasonm@cat.co.za; User questions and discussions about OTRS.
Subject: Re: [otrs] fully-qualified hostname issue
How is OTRS configured to deliver email? Sendmail or SMTP?
Steve
On 25 June 2013 14:46, Jason Marshall
Hi All
I am running OTRS version 3.2.2 on Ubuntu 12.04 Server.
I have an issue with mails going out to some client. I suspect their mailers are doing a DNS lookup or verifying for a valid or FSDN from/return address.
When I mail the clients from my own mail client (outlook or thunderbird) it works fine.
When I respond to the client from OTRS the mails are rejected by the remote mailer. See error below:
---------------------------------------------------------------------- --------------------------------------
: host anubis.se.axis.com[195.60.68.12] said: 504 5.5.2 <Ubuntu-OTRS>: Helo command rejected: need fully-qualified hostname (in reply to RCPT TO command) ---------------------------------------------------------------------- ------------------------------------
I tried changing the actual Ubuntu host name to a FQDN but it still does not work.
I tried looked in the admin - framework settings for any way of sending mails out with ha FSQN but I cannot find any settings there.
Our mailer has a valid MX record, so I am not sure where to start looking.
If any person can direct me in the right direction I would highly appreciate it.
Kind Regards Jason
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Hi,
If value of $Self->{CheckMXRecord} is equal to 1 (default),
OTRS lookup DNS and check MX record. An email address of invalid domain
will be rejected.
Regards,
Norihiro
On Tue, 25 Jun 2013 15:46:40 +0200
"Jason Marshall"
Hi All
I am running OTRS version 3.2.2 on Ubuntu 12.04 Server.
I have an issue with mails going out to some client. I suspect their mailers are doing a DNS lookup or verifying for a valid or FSDN from/return address.
When I mail the clients from my own mail client (outlook or thunderbird) it works fine.
When I respond to the client from OTRS the mails are rejected by the remote mailer. See error below:
---------------------------------------------------------------------------- --------------------------------
mailto:ettiene.vanderwatt@axis.com >: host anubis.se.axis.com[195.60.68.12] said: 504 5.5.2 <Ubuntu-OTRS>: Helo command rejected: need fully-qualified hostname (in reply to RCPT TO command) ---------------------------------------------------------------------------- ------------------------------
I tried changing the actual Ubuntu host name to a FQDN but it still does not work.
I tried looked in the admin - framework settings for any way of sending mails out with ha FSQN but I cannot find any settings there.
Our mailer has a valid MX record, so I am not sure where to start looking.
If any person can direct me in the right direction I would highly appreciate it.
Kind Regards Jason
participants (3)
-
Jason Marshall
-
Steven Carr
-
tanakan@intellilink.co.jp