LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to configure exim on multiple Ip address (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-configure-exim-on-multiple-ip-address-4175630093/)

HarishMooly 05-20-2018 11:25 AM

How to configure exim on multiple Ip address
 
Hello Guys

Now i post the new query

I was install the exim on my server , i followed following steps

yum install exim -y
alternatives --config mta
in /etc/exim/exim.conf file i changed the following contents

primary_hostname = abc.com
remote_smtp:
driver = smtp
interface = x.x.x.xa
message_size_limit = ${if > {$max_received_linelength}{998} {1}{0}}


my questions is
In my server i have five ip address i did rdns and fdns everything.

I want to configure the exim on all five address

please give me the steps how can i do, i serach on google but am not able to find out the solutions

and also faced the one issue

by command line i can send mail
mail -s "mooly4" xxxxx@gmail.com </dev/null

in telnet i got errors
telnet abc.com 2525
Trying x.x.x.x...
Connected to abc.com.
Escape character is '^]'.
220 abc.com ESMTP Exim 4.90_1 Sun, 20 May 2018 12:20:59 -0400
ehlo abc.com
250-abc.com Hello abc.com [x.x.x.x]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-CHUNKING
250-STARTTLS
250-PRDR
250 HELP
mail from:contact@abc.com
250 OK
rcpt to:abc@gmail.com
550-Verification failed for <contact@abc.com>
550-Unknown user
550 Sender verify failed


and changed the port number 2525 instead 25
but its does't listening on particuler IP address
netstat -nlp | grep 2525
tcp 0 0 0.0.0.0:2525 0.0.0.0:* LISTEN 27469/exim
tcp6 0 0 :::2525

please advice me , how can i solve this issue

AwesomeMachine 05-20-2018 07:36 PM

Why are you trying telnet into a mail server? If the server is not running telnet, which is pretty likely, it won't work. I don't believe you looked on google, because if you did you would have found the answer to your questions. If you want five email servers on five IPs, just put five relevant paragraphs in the config file.

This is ambiguous: In my server i have five ip address i did rdns and fdns everything.

So, this time, search google for real and then ask intelligent, informed questions. I'm not here as a substitute for your own mind.

HarishMooly 05-21-2018 03:57 AM

Hello

Thanks for your reply..

I search this query in Google and am not able to find out the proper solutions thats why i asked you.

I already told you what i did

please tell me how can i setup the exim on multiple IP address and how can i resolve the telnet issue.

In postfix its working fine but where i did wrong in exim

am using telnet becuase of my php code send the mail through telnet.

and setup the port number in particuler IP address now its showing properly

netstat -nlp | grep 2525
tcp 0 0 x.x.x.x:2525 0.0.0.0:* LISTEN 28030/exim


but when i send the mail through telnet then i got the error like this

sender verify fail for <contact@abc.com>: Unknown user
2018-05-21 05:13:14 H=(abc.com) [x.x.x.x] F=<contact@abc.com> rejected RCPT abc@gmail.com: Sender verify failed

AwesomeMachine 05-21-2018 06:30 AM

Here: https://www.question-defense.com/201...ion-send-email

HarishMooly 05-21-2018 06:37 AM

I know how to use telnet

please see my error

exim -bvs abc.com
contact@abc.com failed to verify: Unknown user

TB0ne 05-21-2018 07:02 AM

Quote:

Originally Posted by HarishMooly (Post 5857368)
Hello
Thanks for your reply..

I search this query in Google and am not able to find out the proper solutions thats why i asked you. I already told you what i did please tell me how can i setup the exim on multiple IP address and how can i resolve the telnet issue.

In postfix its working fine but where i did wrong in exim am using telnet becuase of my php code send the mail through telnet. and setup the port number in particuler IP address now its showing properly

netstat -nlp | grep 2525
tcp 0 0 x.x.x.x:2525 0.0.0.0:* LISTEN 28030/exim

but when i send the mail through telnet then i got the error like this

sender verify fail for <contact@abc.com>: Unknown user
2018-05-21 05:13:14 H=(abc.com) [x.x.x.x] F=<contact@abc.com> rejected RCPT abc@gmail.com: Sender verify failed

...and you were given a search term in your OTHER thread, where you also claimed to be able to find nothing, and wanted a 'proper solution ASAP'. Wanting to use five IP addresses certainly seems like you're trying to set up a spam email server...meaning you're not likely to get much help.

You don't say what you're doing to try to connect, but did you try to follow the advice that AwesomeMachine looked up and handed to you? The parts about encrypting your user ID/password? The "Unknown user" error is very plain, and would indicate you did NOT follow the guide that we (again) looked up for you, or you haven't configured things correctly. Did you pay attention to the parts of exim, that do DNS, and are you REALLY trying to send to/from abc.com? You *DO* realize that abc.com is the domain of a television network, right?

rtmistler 05-21-2018 08:06 AM

HarishMooly,

You are repeatedly opening new threads with similar questions and failing to properly do any research. The questions you are asking are fairly advanced, however you seem to have not done much research for them, but continually ask for entire guides to accomplish the unclear things you are asking about.

Please refrain from this behavior moving forwards. The various threads on these topics have been closed.

If you choose to start a new thread, please be cognizant of the fact that all LQ members are no different from you, they are free volunteers, not paid support. Also the LQ site prefers that you do research for your problem and clearly explain it when you ask your questions. Meanwhile some proper follow-up is polite to members, versus ignoring their recommendations. If you find that their recommendations do not match what you are looking for, consider that your questions are very unclear and this may be why they have misinterpreted your question. Please refer to the LQ Site FAQ for information about how to ask a clear question.


All times are GMT -5. The time now is 04:43 PM.