LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 05-20-2018, 11:25 AM   #1
HarishMooly
LQ Newbie
 
Registered: May 2018
Posts: 19

Rep: Reputation: Disabled
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
 
Old 05-20-2018, 07:36 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
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.
 
2 members found this post helpful.
Old 05-21-2018, 03:57 AM   #3
HarishMooly
LQ Newbie
 
Registered: May 2018
Posts: 19

Original Poster
Rep: Reputation: Disabled
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

Last edited by HarishMooly; 05-21-2018 at 04:22 AM. Reason: Extra content
 
Old 05-21-2018, 06:30 AM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Here: https://www.question-defense.com/201...ion-send-email
 
2 members found this post helpful.
Old 05-21-2018, 06:37 AM   #5
HarishMooly
LQ Newbie
 
Registered: May 2018
Posts: 19

Original Poster
Rep: Reputation: Disabled
I know how to use telnet

please see my error

exim -bvs abc.com
contact@abc.com failed to verify: Unknown user
 
Old 05-21-2018, 07:02 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,613

Rep: Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962
Quote:
Originally Posted by HarishMooly View Post
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?
 
1 members found this post helpful.
Old 05-21-2018, 08:06 AM   #7
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,879
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
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.
 
3 members found this post helpful.
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cant change outgoing smtp ip address in EXIM 4 fandar Linux - Server 1 05-11-2009 10:12 AM
Exim - piping mail sent to a particular address to a script Khang Linux - Software 2 01-31-2005 11:04 AM
Configure exim @ngelot Linux - Software 1 01-31-2005 08:21 AM
Change from email address exim chestnut Linux - Software 3 06-22-2004 06:23 AM
Exim cannot receive email from external address davidas Linux - Software 1 04-23-2004 03:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration