how to verify if my exim4 can receive mails

View: New views
6 Messages — Rating Filter:   Alert me  

how to verify if my exim4 can receive mails

by Jumping :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have two mal system , one is exim4  and other is MD. The MD acts as
primary smtp, and the exim4 acts as second smtp.
The exim4 can send out mails.

====================================================
When use http://www.checkdns.net/quickcheck.aspx?domain=showme.hk&detailed=1to
test it. I got follow :

CheckDNS.NET tests mail-servers
  Domain showme.hk has 2 mail-servers.
  Checking mail server (PRI=0) mail.showme.hk [203.98.188.29]
  Mail server mail.showme.hk[203.98.188.29] answers on port 25
  <<< 220 mtelsl.com ESMTP MDaemon 9.5.6; Wed, 24 Sep 2008 14:55:58 +0800
  >>> HELO www.checkdns.net
  <<< 250 mtelsl.com Hello www.checkdns.net, pleased to meet you
  >>> MAIL FROM: <dnscheck@...>
  <<< 250 <dnscheck@...>, Sender ok
  >>> RCPT TO: <postmaster@...>
  <<< 250 <postmaster@...>, Recipient ok
  >>> QUIT
  Mail server mail.showme.hk [203.98.188.29] accepts mail for showme.hk
  Checking mail server (PRI=5) mail2.showme.hk [59.188.15.185]
  Mail server mail2.showme.hk[59.188.15.185] answers on port 25
  <<< 220 showme ESMTP Exim 4.63 Wed, 24 Sep 2008 14:56:21 +0800
  >>> HELO www.checkdns.net
  <<< 250 showme Hello www.checkdns.net [195.60.98.253]
  >>> MAIL FROM: <dnscheck@...>
  <<< 250 OK
  >>> RCPT TO: <postmaster@...>
  <<< 550 relay not permitted
  Probably mail server does not accept mail for showme.hk and recognizes
this as relay attempt.
  Some of your MX do not work properly

========================
 tail -f /var/log/exim4/rejectlog

2008-09-23 23:30:41 H=(www.checkdns.net) [195.60.98.253] F=<
dnscheck@...> rejected RCPT <postmaster@...>: relay not
permitted
2008-09-24 12:54:25 H=(www.checkdns.net) [195.60.98.253] F=<
dnscheck@...> rejected RCPT <postmaster@...>: relay not
permitted
2008-09-24 14:56:23 H=(www.checkdns.net) [195.60.98.253] F=<
dnscheck@...> rejected RCPT <postmaster@...>: relay not
permitted
2008-09-24 21:42:31 H=(www.checkdns.net) [195.60.98.253] F=<
dnscheck@...> rejected RCPT <postmaster@...>: relay not
permitted

=======================================================================

If I add 195.60.98.253 to the dc_relay_nets in update-exim4.conf.conf, the
test returns ok.

How Can I Enable my Exim4 could accept this type test without modify
dc_relay_nets ?

Thanks your help.


--
Don't tell me how many the enemies,but where they are!
(ADV:Perl -- It's like Java, only it lets you deliver on time and under
budget.)
--
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Re: how to verify if my exim4 can receive mails

by Michael Heydon-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jumping wrote:
>   >>> RCPT TO: <postmaster@...>
>   <<< 550 relay not permitted
>   Probably mail server does not accept mail for showme.hk and recognizes
> this as relay attempt.
>
> If I add 195.60.98.253 to the dc_relay_nets in update-exim4.conf.conf, the
> test returns ok.
>  
This sounds like a debian based setup, I don't believe
update-exim4.conf.conf is stock exim.
> How Can I Enable my Exim4 could accept this type test without modify
> dc_relay_nets ?
>  
The default config files that ship with exim have a "domainlist
relay_to_domains =" line which defines which domains you will accept
mail for even though they aren't local.

If your distro has replaced the standard config files with their own
special way of doing things, then you might have better luck talking to
them.

*Michael Heydon - IT Administrator *
michaelh@... <mailto:michaelh@...>

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Re: how to verify if my exim4 can receive mails

by Jumping :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks.


On Thu, Sep 25, 2008 at 11:55 AM, Michael Heydon <michaelh@...>wrote:

> Jumping wrote:
>
>>  >>> RCPT TO: <postmaster@...>
>>  <<< 550 relay not permitted
>>  Probably mail server does not accept mail for showme.hk and recognizes
>> this as relay attempt.
>>
>> If I add 195.60.98.253 to the dc_relay_nets in update-exim4.conf.conf,
>> the
>> test returns ok.
>>
>>
> This sounds like a debian based setup, I don't believe
> update-exim4.conf.conf is stock exim.
>

Yes, I use debian. Defaultly the exim4 debian package put
update-exim4.conf.conf in /etc/exim4/.


>  How Can I Enable my Exim4 could accept this type test without modify
>> dc_relay_nets ?
>>
>>
> The default config files that ship with exim have a "domainlist
> relay_to_domains =" line which defines which domains you will accept mail
> for even though they aren't local.
>
> If your distro has replaced the standard config files with their own
> special way of doing things, then you might have better luck talking to
> them.


Do your means  set "domainlist relay_to_domains = showme.hk"  ? I have set
/etc/mailname as "showme.hk".


>
> *Michael Heydon - IT Administrator *
> michaelh@... <mailto:michaelh@...>
>



--
Don't tell me how many the enemies,but where they are!
(ADV:Perl -- It's like Java, only it lets you deliver on time and under
budget.)
--
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Re: how to verify if my exim4 can receive mails

by Michael Heydon-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Jumping wrote:

>  
>
>         How Can I Enable my Exim4 could accept this type test without
>         modify
>         dc_relay_nets ?
>          
>
>     The default config files that ship with exim have a "domainlist
>     relay_to_domains =" line which defines which domains you will
>     accept mail for even though they aren't local.
>
>     If your distro has replaced the standard config files with their
>     own special way of doing things, then you might have better luck
>     talking to them.
>
>
> Do your means  set "domainlist relay_to_domains = showme.hk
> <http://showme.hk>"  ? I have set /etc/mailname as "showme.hk
> <http://showme.hk>".
If you are using something like the default config, yes, but it is just
a variable that is then referenced in the routers. If debian has changed
the routers then just setting the variables won't do anything.

I assume mailname is another debianism, I don't know what it is meant to do.

If you want answers from this list, you will need to provide your actual
config. You can't assume that everyone is familiar with all of your
distro specific files.

Or alternatively you could talk to someone from your distro's support,
they will be better informed about all the special things that they have
setup.

*Michael Heydon - IT Administrator *
michaelh@... <mailto:michaelh@...>


--
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Re: how to verify if my exim4 can receive mails

by Jumping :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Sep 25, 2008 at 12:30 PM, Michael Heydon <michaelh@...>wrote:

>
> Jumping wrote:
>
>>
>>        How Can I Enable my Exim4 could accept this type test without
>>        modify
>>        dc_relay_nets ?
>>
>>    The default config files that ship with exim have a "domainlist
>>    relay_to_domains =" line which defines which domains you will
>>    accept mail for even though they aren't local.
>>
>>    If your distro has replaced the standard config files with their
>>    own special way of doing things, then you might have better luck
>>    talking to them.
>>
>>
>> Do your means  set "domainlist relay_to_domains = showme.hk <
>> http://showme.hk>"  ? I have set /etc/mailname as "showme.hk <
>> http://showme.hk>".
>>
> If you are using something like the default config, yes, but it is just a
> variable that is then referenced in the routers. If debian has changed the
> routers then just setting the variables won't do anything.
>
> I assume mailname is another debianism, I don't know what it is meant to
> do.
>
> If you want answers from this list, you will need to provide your actual
> config. You can't assume that everyone is familiar with all of your distro
> specific files.
>
> Or alternatively you could talk to someone from your distro's support, they
> will be better informed about all the special things that they have setup.
>
>
> *Michael Heydon - IT Administrator *
> michaelh@... <mailto:michaelh@...>
>
>
Anyway, thanks a lot.

--
Don't tell me how many the enemies,but where they are!
(ADV:Perl -- It's like Java, only it lets you deliver on time and under
budget.)
--
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Re: how to verify if my exim4 can receive mails

by Marc Haber :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 25 Sep 2008 11:33:56 +0800, Jumping <quzhengping@...>
wrote:
>If I add 195.60.98.253 to the dc_relay_nets in update-exim4.conf.conf, the
>test returns ok.
>
>How Can I Enable my Exim4 could accept this type test without modify
>dc_relay_nets ?

You might want to read the documentation that came with your package,
for example the man page for update-exim4.conf.conf.

|      dc_other_hostnames
|              is used to build the local_domains list, together  with  ?local?
|              host?.   This  is  the  list  of  domains for which this machine
|              should consider itself the final destination. The  local_domains
|              list ends up in the macro MAIN_LOCAL_DOMAINS.

Greetings
Marc

--
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber         |   " Questions are the         | Mailadresse im Header
Mannheim, Germany  |     Beginning of Wisdom "     | http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
LightInTheBox - Buy quality products at wholesale price!