US: 1-941-4621-069
  
Cyprus: 3-572-2052-781

Go Back   ISPsystem.com Forums > ISPmanager > General technical discussion


Reply
 
Thread Tools
Old 10-15-2013, 07:12 PM   #1
Junior Member
 
Join Date: Aug 2012
Posts: 5
zst_pro is on a distinguished road
Post Problem with exim (sender IP)

Hi all,

exim configuration file did:

interface = ${extract{1}{;}{${lookup{$sender_address_domain}ls earch{/etc/exim4/domainips}}}}

and changed to test for

interface = <;${extract{1}{:}{${lookup{$sender_address_domain} lsearch{/etc/exim4/domainips}}}}

However, all messages continue to be sent to the main server address.
Where to find the problem?
zst_pro is offline   Reply With Quote
Old 10-16-2013, 06:40 AM   #2
ISPsystem team
 
Join Date: Jun 2013
Posts: 233
fly is on a distinguished road
Default

Hello,

Show please a file /etc/exim4/domainips
fly is offline   Reply With Quote
Old 10-16-2013, 10:07 AM   #3
Junior Member
 
Join Date: Aug 2012
Posts: 5
zst_pro is on a distinguished road
Default

Hi,
part of the file you asked for
o***t:XXX.XXX.XX5.162;
e***l:XXX.XXX.XX5.162;
pr***l:XXX.XXX.XX5.188;
i***l:XXX.XXX.XX5.162;
zc***l:XXX.XXX.XX5.187;
a***l:XXX.XXX.XX5.186;
w***l:XXX.XXX.XX5.162;
ksi***l:XXX.XXX.XX5.222;
ksia***l:XXX.XXX.XX5.222;
pf***u:XXX.XXX.XX5.165;
z***l:XXX.XXX.XX5.166;
e***l:XXX.XXX.XX5.169;
ed***pl:XXX.XXX.XX5.169;
zst_pro is offline   Reply With Quote
Old 10-17-2013, 09:28 AM   #4
ISPsystem team
 
Join Date: Jun 2013
Posts: 233
fly is on a distinguished road
Default

Try to change interface for
interface = <;${lookup{$sender_address_domain}lsearch{/etc/exim4/domainips}}

It works on my server.

Also show result of command
date | sendmail -v -f test@example.com test2@example.com
fly is offline   Reply With Quote
Old 10-17-2013, 02:03 PM   #5
Junior Member
 
Join Date: Aug 2012
Posts: 5
zst_pro is on a distinguished road
Default

When I send a message with your configuration (and with others) I get the result:

Quote:
# date | sendmail -v -f biuro@zceXXXl vXXXs@gmail.com
LOG: MAIN
<= biuro@zceXXXl U=root P=local S=319
# delivering 1VWkrU-0005nN-Dv
Connecting to gmail-smtp-in.l.google.com [173.194.66.26]:25 from XX.XXX.XX5.187 ... connected
SMTP<< 220 mx.google.com ESMTP eb10si2379039wib.55 - gsmtp
SMTP>> EHLO shrd1.XXXl
SMTP<< 250-mx.google.com at your service, [XX.XXX.XX5.162]
250-SIZE 35882577
250-8BITMIME
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-PIPELINING
250 CHUNKING
SMTP>> STARTTLS
SMTP<< 220 2.0.0 Ready to start TLS
SMTP>> EHLO shrd1.XXXl
SMTP<< 250-mx.google.com at your service, [XX.XXX.XX5.162]
250-SIZE 35882577
250-8BITMIME
250-ENHANCEDSTATUSCODES
250-PIPELINING
250 CHUNKING
SMTP>> MAIL FROM:<biuro@zXXXl> SIZE=1351
SMTP>> RCPT TO:<vXXX@gmail.com>
SMTP>> DATA
SMTP<< 250 2.1.0 OK eb10si2379039wib.55 - gsmtp
SMTP<< 250 2.1.5 OK eb10si2379039wib.55 - gsmtp
SMTP<< 354 Go ahead eb10si2379039wib.55 - gsmtp
SMTP>> writing message and terminating "."
SMTP<< 250 2.0.0 OK 1382006140 eb10si2379039wib.55 - gsmtp
SMTP>> QUIT
LOG: MAIN
=> vXXX@gmail.com R=dnslookup T=remote_smtp H=gmail-smtp-in.l.google.com [173.194.66.26] X=TLS1.0:RSA_ARCFOUR_SHA1:16 DN="C=US,ST=California,L=Mountain View,O=Google Inc,CN=mx.google.com" C="250 2.0.0 OK 1382006140 eb10si2379039wib.55 - gsmtp"
LOG: MAIN
Completed
but when I check the source of e-mail

Quote:
Received: from shXXXl (162.xxx.xxx.pl. [XX.XXX.XX5.162])
zst_pro is offline   Reply With Quote
Old 10-18-2013, 06:32 AM   #6
ISPsystem team
 
Join Date: Jun 2013
Posts: 233
fly is on a distinguished road
Default

As I understand - exim send email from right address - XX.XXX.XX5.187. Then google connected to XX.XXX.XX5.162 for checking a mailbox existing. So, address XX.XXX.XX5.162 is uses for mail delivery.
I think the reason is a mx records of your mail domain. It should point to XX.XXX.XX5.187, but is seems to point to XX.XXX.XX5.162
fly is offline   Reply With Quote
Old 11-12-2013, 11:02 AM   #7
Junior Member
 
Join Date: Aug 2012
Posts: 5
zst_pro is on a distinguished road
Default

Hm, no MX record is:

zce....pl. 3600 IN MX 10 mail.zce....pl.
zce....pl. 3600 IN MX 20 mail.zce....pl.

and "A"

mail.zce....pl has address 91.....187

when sending a message server presents itself as 91...162 (a first address on the server)
zst_pro is offline   Reply With Quote
Reply

Thread Tools

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 On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:59 AM.