Love a challenge!

Right just working on number 1.

I changed the relay from the hostname of the exchange server to the IP
address and attempted a send again just using telnet from the exchange
server:
220 Baruwa 2.0 Wed, 13 Feb 2013 10:25:56 +0000
helo averynet.local
250 mta.averynet.local Hello averynet.local [192.168.124.31]
mail from:[email protected]
250 OK
rcpt to:[email protected]
250 Accepted
data
354 Enter message, ending with "." on a line by itself
subject:test

hello
.
451 Temporary local problem - please try later

mail.log:
2013-02-13 10:26:43 1U5ZXt-0007DF-Po malware acl condition: clamd: ClamAV
returned: /var/spool/exim.in/scan/1U5ZXt-0007DF-Po/1U5ZXt-0007DF-Po.eml:
lstat() failed: Permission denied. ERROR
2013-02-13 10:26:43 1U5ZXt-0007DF-Po H=(averynet.local) [192.168.124.31] F=<
[email protected]> temporarily rejected after DATA

I have added clamav to exim group:
 grep ^exim /etc/group
exim:x:93:baruwa,clamav

ls -l /var/spool/exim.in/scan
total 0

Rod.




On 13 February 2013 09:56, Andrew Colin Kissa <[email protected]> wrote:

>
> On 13 Feb 2013, at 11:49 AM, Rod Avery wrote:
>
> > 1.) If I send an email from exchange, I get the following return:
> > Diagnostic information for administrators:
> > in mail.log:
> > 2013-02-13 09:36:32 H=(anet-exchange01.averynet.local) [192.168.124.31]
> F=<[email protected]> rejected RCPT <[email protected]>: relay
> not permitted
> >
>
> You have not allowed 192.168.124.31 to relay mail out through the Baruwa
> server.
>
> >
> > 2.) When receiving email from one of my other accounts I get the
> following in the mail.log:
> > 2013-02-13 09:38:06 H=service2.mimecast.com [195.130.217.28] F=<
> [email protected]> rejected RCPT <[email protected]>: Please see
> http://www.openspf.org/Why?scope=mfrom;[email protected];ip=195.130.217.28
> >
> > yet:
> > An SPF-enabled mail server rejected a message that claimed an envelope
> sender address of [email protected].
> > An SPF-enabled mail server received a message from 
> > service2.mimecast.com(195.130.217.28) that claimed an envelope sender 
> > address of
> [email protected].
> >
> > The domain brit-int.com has authorized 
> > service2.mimecast.com(195.130.217.28) to send mail on its behalf, so the 
> > message should have
> been accepted. It is impossible for us to say why it was rejected.
>
> You build of exim does not support SPF, comment out the SPF section.
>
> >
> > 3.) When receiving mail from gmail I get in the mail.log:
> > 2013-02-13 09:39:40 TLS error on connection from (
> mail-ea0-f180.google.com) [209.85.215.180]
> (SSL_CTX_use_certificate_chain_file file=/etc/pki/baruwa/baruwa.pem):
> error:02001002:system library:fopen:No such file or directory
> >
>
> You need to create those files or comment them out in exim.conf meaning
> you will be doing
> mail without TLS.
>
> > 4.) I also seem to have other errors in the mail.log relating to clamAV:
> > 2013-02-13 00:04:16 1U5PpQ-0000PM-LW malware acl condition: clamd:
> ClamAV returned: /var/spool/
> exim.in/scan/1U5PpQ-0000PM-LW/1U5PpQ-0000PM-LW.eml: lstat() failed:
> Permission denied. ERROR
>
> Either you have selinux enabled or you had not added the clamav user to
> the exim group.
>
> --
> www.baruwa.org
>
>
>
>
> _______________________________________________
> Keep Baruwa FREE - http://pledgie.com/campaigns/12056
>
_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056

Reply via email to