LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-28-2022, 04:54 PM   #1
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,555

Rep: Reputation: 177Reputation: 177
SendGrid and pass-thru mail relay NOT)


I host a web/mail server for several fraternal clubs with a fairly small membership. I've been sending emails from club members to a distribution app on the server (a script in /etc/mail/aliases) which expands the target email address to send emails, one-by-one to the members on the list. This works fine, except that I have to space the messages out, time-wise, so the actual recipients' mail server do not see emails from a single sender going to 100 of their subscribers, e.g. gmail.com.

In an effort to speed this up, I subscribed to SendGrid as they have the ability to configure a mail relay. However, it turns out that ALL emails sent via the SendGrid reply have to be to/from one authorized domain. That makes it tough for eg PayPay to send message to this server which are then forwarded to a real email address, not on this server.

That's the problem.

Does anyone know of a bulk email service that will act as a pass-thru relay for any messages sent or received by this server?
 
Old 05-31-2022, 07:47 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Quote:
Originally Posted by mfoley View Post
I host a web/mail server for several fraternal clubs with a fairly small membership.
Where? At home? AWS? Hosting provider?
Quote:
Originally Posted by mfoley View Post
Does anyone know of a bulk email service that will act as a pass-thru relay for any messages sent or received by this server?
Depends on where you're hosting, have you tried your ISP? For providers such as gmail you stand a better chance of delivery if SPF and DKIM signing are in place for each domain.
 
Old 06-01-2022, 05:11 PM   #3
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,555

Original Poster
Rep: Reputation: 177Reputation: 177
This is a self-hosted mail server on a business ISP: Breezeline (formerly Wowway). They don't have a bulk emailing service. SPF and DKIM records are in place. The bulk emailing is just to people within the Fraternity, but there can be up to 250 emails at a time and sending that many at once to e.g. gmail causes them to regard the sender as a spammer. I though SendGrid would work, but they require and authorized sender list and in this case, any member is authorize to send to all or a subset of all other members. That's not practical.

I am looking for a bulk email sender who could accommodate any message originating at this server. We restrict who can do so internally and do not other permit relaying.

I can do this with the normal mail server setup, but I have to space the message at fairly long time intervals so as not to trigger the suspicion of destination servers.
 
Old 06-09-2022, 04:46 AM   #4
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Check your IP address isn't blacklisted anywhere. Google and Microsoft (Outlook/Yahoo) also provide facilities to allow an IP address to be "registered" to allow it to build up a reputation that also helps in delivery.

It was something like 5+ years ago since I've had to use a bulk mail delivery company and at the time I was last using them they were in the process of being bought by someone else, so can't really comment on any cheap providers.
 
Old 06-12-2022, 01:45 PM   #5
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,555

Original Poster
Rep: Reputation: 177Reputation: 177
I was able to solve this problem by specifying an alternate sendmail config when routing messages through the relay and leaving a non-SMART_HOST config as the normal one used by all other system email processing. The complete how-to on this is posted here: https://www.linuxquestions.org/quest...ed-4175713052/
 
  


Reply

Tags
bulk email, email, relay



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
[SOLVED] Need help integrating sendmail with SendGrid mfoley Linux - Server 6 04-16-2020 10:51 AM
[Postfix] Sending mail through Sendgrid is failing: Reported error is connection timeout Bluestreak Linux - Software 2 11-14-2016 02:27 PM
possible to route *all* mail through MailChimp or SendGrid? sneakyimp Linux - Server 6 05-30-2012 10:25 PM
Mail from root@localhost.localdomain thru relay=localhost.localdomain[216.24.138.1] rshartog Linux - Server 2 02-02-2009 10:35 PM
relay mail to sendmail relay server??? lemay_jeff Linux - Newbie 0 07-06-2004 04:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:48 PM.

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