[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Apache Sendmail Configuration

Posted on 2004-04-12
6
Medium Priority
?
313 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
5 Comments
 
LVL 6

Expert Comment

by:prof666
ID: 10811598
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
ID: 10815448
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
ID: 10815504
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 2000 total points
ID: 10823011
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
ID: 11761083
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
The title says it all. Writing any type of PHP Application or API code that provides high throughput, while under a heavy load, seems to be an arcane art form (Black Magic). This article aims to provide some general guidelines for producing this typ…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses
Course of the Month19 days, 2 hours left to enroll

834 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