New install relay denied

Questions and answers about how to do stuff
Post Reply
Gspearson
Posts: 5
Joined: 03 Feb 2014 18:11
Location: Goshen, IN
Contact:

New install relay denied

Post by Gspearson »

I am very new to this and so far love this project. My one question is that this server is bouncing all messages with a reeling denied message. This server is on the public internet and the mail server is zimbra on the public internet.

Anyone have a quick solution on this as I followed the instructions and did not have any issues outside this
Graham Pearson
Your Coldfusion Professional
Goshen, IN 46528

http://www.yourcfpro.com
User avatar
darky83
Site Admin
Posts: 540
Joined: 30 Sep 2012 11:03
Location: eFa
Contact:

Re: New install relay denied

Post by darky83 »

Have you added your domain' s to the transport settings list?

http://efa-project.org/documentation/po ... l-domains/

Also make sure that your zimbra server accepts mail from the E.F.A. box.
Version eFa 4.x now available!
leep75
Posts: 12
Joined: 28 Jan 2014 17:48

Re: New install relay denied

Post by leep75 »

I am working on this with Graham and I think (pretty sure) that my error lies in the mail getting accepted by the Zimbra server. I can see mail flowing into the EFA box and it is not getting processed through. I've tried setting up in Zimbra, Global Settings, MTA, incoming Mail Relay with no luck. Anyone out there doing this with a Zimbra box that can provide any insight?
User avatar
darky83
Site Admin
Posts: 540
Joined: 30 Sep 2012 11:03
Location: eFa
Contact:

Re: New install relay denied

Post by darky83 »

I am actually using E.F.A. in front of an Zimbra server but I have not set anything special..

On MTA -> I do have all DNS checks disabled on my zimbra box (as E.F.A. already does that)..

If you send an mail do you see anything on your zimbra box in /var/log/mail.log?

and at the same time what does your E.F.A. box say in the logs:
1) login with ssh
2) press option 1 to get an shell
3) sudo tail -f /var/log/maillog

Regards
Version eFa 4.x now available!
leep75
Posts: 12
Joined: 28 Jan 2014 17:48

Re: New install relay denied

Post by leep75 »

Here is a snip from my log file earlier today:

Feb 3 13:54:24 efa postfix/smtpd[2235]: NOQUEUE: reject: RCPT from unknown[74.117.133.204]: 554 5.7.1 <bcarter@argos.k12.in.us>: Relay access denied; from=<Frank_C@wauffnursy.com> to=<bcarter@argos.k12.in.us> proto=ESMTP helo=<jhpu204.wauffnursy.com>
Feb 3 13:54:27 efa postfix/smtpd[2235]: NOQUEUE: reject: RCPT from unknown[74.117.133.204]: 554 5.7.1 <vharley@argos.k12.in.us>: Relay access denied; from=<Frank_C@wauffnursy.com> to=<vharley@argos.k12.in.us> proto=ESMTP helo=<jhpu204.wauffnursy.com>
Feb 3 13:54:29 efa postfix/smtpd[2235]: NOQUEUE: reject: RCPT from unknown[74.117.133.204]: 554 5.7.1 <bbarrett@argos.k12.in.us>: Relay access denied; from=<Frank_C@wauffnursy.com> to=<bbarrett@argos.k12.in.us> proto=ESMTP helo=<jhpu204.wauffnursy.com>
Feb 3 13:54:55 efa postfix/smtpd[2235]: NOQUEUE: reject: RCPT from lcmail.doe.in.gov[165.139.1.50]: 554 5.7.1 <swilliams@argos.k12.in.us>: Relay access denied; from=<noreply@doe.in.gov> to=<swilliams@argos.k12.in.us> proto=ESMTP helo=<lcmail.doe.in.gov>
Feb 3 13:56:22 efa postfix/smtpd[2235]: NOQUEUE: reject: RCPT from send1.mmsend22.com[209.18.93.56]: 554 5.7.1 <jspencer@argos.k12.in.us>: Relay access denied; from=<NSTA@mmsend53.com> to=<jspencer@argos.k12.in.us> proto=ESMTP helo=<send1.mmsend22.com>
Feb 3 13:58:41 efa postfix/smtpd[2276]: NOQUEUE: reject: RCPT from lcmail.doe.in.gov[165.139.1.50]: 554 5.7.1 <nmedich@argos.k12.in.us>: Relay access denied; from=<noreply@doe.in.gov> to=<nmedich@argos.k12.in.us> proto=ESMTP helo=<lcmail.doe.in.gov>
Feb 3 13:59:26 efa postfix/smtpd[2276]: NOQUEUE: reject: RCPT from na3sys009aog106.obsmtp.com[74.125.149.77]: 554 5.7.1 <nmedich@argos.k12.in.us>: Relay access denied; from=<cfansler@jgsc.k12.in.us> to=<nmedich@argos.k12.in.us> proto=SMTP helo=<na3sys009aog106.obsmtp.com>
Feb 3 13:59:37 efa postfix/smtpd[2276]: NOQUEUE: reject: RCPT from mta.e.thirtyonegifts.com[199.122.123.78]: 554 5.7.1 <jstults@argos.k12.in.us>: Relay access denied; from=<bounce-903_HTML-54095488-372910-7001724-3810@bounce.e.thirtyonegifts.com> to=<jstults@argos.k12.in.us> proto=ESMTP helo=<mta.e.thirtyonegifts.com>
Feb 3 13:59:50 efa postfix/smtpd[2276]: NOQUEUE: reject: RCPT from zimbra.niesc.k12.in.us[165.138.207.23]: 554 5.7.1 <leep75@argos.k12.in.us>: Relay access denied; from=<lturner@niesc.k12.in.us> to=<leep75@argos.k12.in.us> proto=ESMTP helo=<zimbra.niesc.k12.in.us>
Feb 3 14:00:34 efa postfix/smtpd[2276]: NOQUEUE: reject: RCPT from zimbra.jesse.k12.in.us[165.138.207.20]: 554 5.7.1 <tsabanski@argos.k12.in.us>: Relay access denied; from=<jramer@jesse.k12.in.us> to=<tsabanski@argos.k12.in.us> proto=ESMTP helo=<zimbra.jesse.k12.in.us>
Feb 3 14:05:24 efa postfix/smtpd[2381]: NOQUEUE: reject: RCPT from ccm180.constantcontact.com[208.75.123.180]: 554 5.7.1 <eendres@argos.k12.in.us>: Relay access denied; from=<AuJotonXFTDKl5A2KlTvM0g==_1111906731166_b4IzwHhEEeO+m9SuUnU2zg==@in.constantcontact.com> to=<eendres@argos.k12.in.us> proto=ESMTP helo=<ccm180.constantcontact.com>
Feb 3 14:06:03 efa postfix/smtpd[2381]: NOQUEUE: reject: RCPT from lcmail.doe.in.gov[165.139.1.50]: 554 5.7.1 <swilliams@argos.k12.in.us>: Relay access denied; from=<noreply@doe.in.gov> to=<swilliams@argos.k12.in.us> proto=ESMTP helo=<lcmail.doe.in.gov>
Feb 3 14:08:41 efa postfix/smtpd[2423]: NOQUEUE: reject: RCPT from lcmail.doe.in.gov[165.139.1.50]: 554 5.7.1 <jdelp@argos.k12.in.us>: Relay access denied; from=<noreply@doe.in.gov> to=<jdelp@argos.k12.in.us> proto=ESMTP helo=<lcmail.doe.in.gov>
User avatar
darky83
Site Admin
Posts: 540
Joined: 30 Sep 2012 11:03
Location: eFa
Contact:

Re: New install relay denied

Post by darky83 »

Are you sure that the domain argos.k12.in.us is set in the transport settings?

just to be a 100% sure check the last part of your efa box in /etc/postfix/transport

1) login with ssh
2) press 1 for shell
3) cat /etc/postfix/transport

at the end it should show something like:

Code: Select all

###### START E.F.A ADDED DOMAINS ######
argos.k12.in.us        smtp:[IP_OR_HOSTNAME_OF_YOUR_ZIMBRA_BOX]
(this is also in the menu' s when you login with ssh (option 8 -> option 4 ) but just to make sure that we don' t have a bug check that file..
Version eFa 4.x now available!
leep75
Posts: 12
Joined: 28 Jan 2014 17:48

Re: New install relay denied

Post by leep75 »

###### START E.F.A ADDED DOMAINS ######
mail.argos.k12.in.us smtp:[165.138.200.2]
students.mail.argos.k12.in.us smtp:[165.138.200.4]
[root@efa aleeper]#


I was able to send a message from my efa box to my aleeper account using the command line so mail can get from efa to mail.
leep75
Posts: 12
Joined: 28 Jan 2014 17:48

Re: New install relay denied

Post by leep75 »

I see my error......

I was not entering the "DOMAIN" in the transport settings. I entered the server name. I have fixed it now and will see what happens when I adjust my MX records now.

Thanks for the help!
User avatar
darky83
Site Admin
Posts: 540
Joined: 30 Sep 2012 11:03
Location: eFa
Contact:

Re: New install relay denied

Post by darky83 »

Well that seems to be wrong :-)

in your logs the mail domain is: argos.k12.in.us not mail.argos.k12.in.us (mail is send to <user>@argos.k12.in.us)

So using EFA-Configure (option 8 mail settings -> 4 transport settings) add the domain
argos.k12.in.us
with the IP of your zimbra box and it should work.
Version eFa 4.x now available!
User avatar
darky83
Site Admin
Posts: 540
Joined: 30 Sep 2012 11:03
Location: eFa
Contact:

Re: New install relay denied

Post by darky83 »

Oh posted at the same time...

Let us know if it works :)
Version eFa 4.x now available!
leep75
Posts: 12
Joined: 28 Jan 2014 17:48

Re: New install relay denied

Post by leep75 »

Still getting some errors:

Feb 3 16:25:47 efa postfix/smtpd[2270]: NOQUEUE: reject: RCPT from mail.artsonia.com[161.58.182.221]: 554 5.7.1 <jthomas@argos.k12.in.us>: Relay access denied; from=<mailer@artsonia.com> to=<jthomas@argos.k12.in.us> proto=ESMTP helo=<mail.artsonia.com>
Feb 3 16:25:47 efa postfix/smtpd[2269]: NOQUEUE: reject: RCPT from mail.artsonia.com[161.58.182.221]: 554 5.7.1 <lkastner@argos.k12.in.us>: Relay access denied; from=<mailer@artsonia.com> to=<lkastner@argos.k12.in.us> proto=ESMTP helo=<mail.artsonia.com>
Feb 3 16:25:47 efa postfix/smtpd[2255]: disconnect from mail.artsonia.com[161.58.182.221]
Feb 3 16:25:47 efa postfix/smtpd[2270]: disconnect from mail.artsonia.com[161.58.182.221]
Feb 3 16:25:47 efa postfix/smtpd[2269]: disconnect from mail.artsonia.com[161.58.182.221]
Feb 3 16:27:36 efa postfix/smtpd[2314]: warning: database /etc/postfix/transport.db is older than source file /etc/postfix/transport
Feb 3 16:27:36 efa postfix/smtpd[2314]: connect from ns-2.nc.uz[77.220.192.3]
Feb 3 16:27:37 efa postfix/trivial-rewrite[2315]: warning: database /etc/postfix/transport.db is older than source file /etc/postfix/transport
Feb 3 16:27:37 efa postfix/trivial-rewrite[2315]: warning: database /etc/postfix/transport.db is older than source file /etc/postfix/transport
Feb 3 16:27:37 efa postfix/smtpd[2314]: NOQUEUE: reject: RCPT from ns-2.nc.uz[77.220.192.3]: 554 5.7.1 <tvanduyn@argos.k12.in.us>: Relay access denied; from=<robin@nc.uz> to=<tvanduyn@argos.k12.in.us> proto=ESMTP helo=<nc.uz>
Feb 3 16:27:37 efa postfix/smtpd[2314]: disconnect from ns-2.nc.uz[77.220.192.3]
Feb 3 16:27:48 efa postfix/smtpd[2314]: connect from unknown[124.115.170.6]
Feb 3 16:27:49 efa postfix/trivial-rewrite[2328]: warning: database /etc/postfix/transport.db is older than source file /etc/postfix/transport
Feb 3 16:27:49 efa postfix/trivial-rewrite[2328]: warning: database /etc/postfix/transport.db is older than source file /etc/postfix/transport
Feb 3 16:27:49 efa postfix/smtpd[2314]: warning: numeric domain name in resource data of MX record for sxrd.gov.cn: 124.115.170.59
Feb 3 16:27:49 efa postfix/smtpd[2314]: NOQUEUE: reject: RCPT from unknown[124.115.170.6]: 554 5.7.1 <jmclaughlin@argos.k12.in.us>: Relay access denied; from=<admin@sxrd.gov.cn> to=<jmclaughlin@argos.k12.in.us> proto=ESMTP helo=<sxrd.gov.cn>
Feb 3 16:27:50 efa postfix/smtpd[2314]: disconnect from unknown[124.115.170.6]
User avatar
shawniverson
Posts: 3649
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: New install relay denied

Post by shawniverson »

Try reloading MailScanner/Postfix to force the settings to update.

Code: Select all

sudo service MailScanner reload
User avatar
shawniverson
Posts: 3649
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: New install relay denied

Post by shawniverson »

Also run...

Code: Select all

sudo postmap /etc/postfix/transport
Post Reply