Solved

Apache Sendmail Configuration

Posted on 2004-04-12
6
273 Views
Last Modified: 2010-03-04
I have enabled relay control on my apache mail server.

I would like to allow relaying from select domains.

If this is possible could somebody please tell me how.

Thanks,

Cleavis
0
Comment
Question by:Cleavis
6 Comments
 
LVL 6

Expert Comment

by:prof666
Comment Utility
Cleavis,

Relaying by http proxy is not a very good idea, as it can leave you open to spammers using your system. If you are running an older version of apache this is the first thing that will happen after a compromise.
It is possible to restrict your proxy access via the allow/deny statements:

#<IfModule mod_proxy.c>
#    ProxyRequests On

#    <Directory proxy:*>
#        Order deny,allow
#        Deny from all
#        Allow from .your-domain.com
#    </Directory>

However you would be better advised to use a proper MTA such as postfix/sendmail/exim to route your mail.

Da Proff
0
 
LVL 15

Expert Comment

by:samri
Comment Utility
Cleavis,

are we talking about controlling relaying access on the SMTP server, or controlling access on Apache.

What is your smtp mail server product and version.  You could get it by doing a "telnet youipaddress 25", and type in "helo whatever".

cheers.
0
 

Author Comment

by:Cleavis
Comment Utility
samri,

sendmail version 8.11.6

currently i am a member of xyz.com & use mail.xyz.com to send email.

i would also like to send mail throught mail.xyz.com while i am logged in to abc.com.

When i try this it sends the following error message:

"Your message did not reach some or all of the intended recipients.
      Subject:      test
      Sent:      4/12/2004 5:08 PM

The following recipient(s) could not be reached:

      'Webmaster@Cleavis.com' on 4/12/2004 5:09 PM
            551 5.7.1 we do not relay"


0
 
LVL 15

Accepted Solution

by:
samri earned 500 total points
Comment Utility
Hi cleavis,

This is sendmail problem.  You may get a much better solution is you either request the question to be move to Sendmail area (http://www.experts-exchange.com/Networking/Email_Groupware/Sendmail/).

I would try to help (as much as I could).

I would assume that the error is coming from Sendmail at abc.com.  And this is normal because you had attempt to relay the mail to xyz.com.  In order to do this, you could either;

Configure the sendmail on abc.com, to allow relaying from xyz.com;
or.  Configure your mail client, to use mail.xyz.com as the SMTP server.

Please could you post the complete SMTP header of the bounced mail. (you may change the real hostname and IP address).

Cheers,
0
 
LVL 15

Expert Comment

by:periwinkle
Comment Utility
No comment has been added to this question in more than 21 days, so it is now classified as abandoned..
I will leave the following recommendation for this question in the Cleanup topic area:

    ACCEPT: samri

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

Periwinkle
EE Cleanup Volunteer
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now