Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-29-2007, 02:19 PM   #1
Registered: May 2003
Location: San Jose, CA
Distribution: Ubuntu
Posts: 47

Rep: Reputation: 15
Configuring sendmail to allow SMTP traffic from my IP, domain, or email address

The goal is pretty simple. The situation is probably pretty common. I have multiple email accounts configured in my email client. Each is configured to use the SMTP server for the corresponding domain. Depending on the location of me and my laptop, I can send through some SMTP servers and not others. At work, I can send through work SMTP, at home I can send through my ISP SMTP server, etc...

If I'm at a random public wifi access point, I generally can't use any of my SMTP servers.

Naturally, I'd like to send mail from any location without having to go through and change my SMTP servers each time I go somewhere new.

I set up a local mail server on my laptop, and it works fine. But about 20% of the time, my mail is rejected as many servers block incoming mail from large ISP IP blocks.

Does anyone know how to configure a sendmail server to allow relaying from a specific domain/ip address/email address?

I have my own dedicated server, and I've tried to configure sendmail to relay messages from my laptop. I've configured rules in /etc/mail/access like:

Connect:    RELAY   RELAY   RELAY

Connect:    OK   OK   OK
None of this works.

From all the docs that I've read, sendmail really only wants to deliver mail to domains hosted on the server itself. I appreciate this anti-spam approach, but I want to send mail!

I'm sure there's someone as ignorant about sendmail as I am who has solved this very same problem in a simple way.

On a side note, are there SMTP service providers for users like me that someone would whole-heartedly recommend? If I can't get sendmail to do what I want, I'd happily pay a modest fee for someone else to provide the functionality I'm looking for. But it would have to be a very reputable company as I know this type of service would be a natural haven for spammers.

Related thread:

Configuring sendmail for mail forwarding to server


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why is PostFix sending mail using the email address of the smtp account? taigon Linux - Server 34 02-09-2007 01:09 AM
can't send email, smtp or sendmail dtra Linux - Software 1 11-19-2005 06:00 PM
Creating A Second Email Address For Email Account On Sendmail treedstang Linux - Software 1 04-27-2004 10:31 PM
Sending Email to an SMTP address from sendmail guilmetrp Linux - Newbie 6 03-01-2004 08:51 PM
Sending email to a smtp address through sendmail guilmetrp Linux - General 0 02-27-2004 08:02 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration