mutt config: reply with address that mail was sent to [closed] - email

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
Okay so here's the deal. I've got a school email adress (say romeo#school.com) that is held on an outlook server.
Because I really dislike outlook, I have this mail forwarded to a gmail address (say romeo#gmail.com).
I've managed to set up mutt and gmail so that when I send a mail from the gmail account, it seems as if it is sent from the school account (the "from" and "reply-to" fields show romeo#school.com instead of romeo#gmail.com).
Now, I've started using the gmail account as a normal email address too (putting that in contact info) so poeple start mailing me at romeo#gmail.com, yet some poeple still email me at romeo#school.com.
Is there a way to set up mutt and gmail so that it automagically replies using the correct email address (eg the one the mail was sent too in the first place)?

First, you have to also set up your gmail, so it sends e-mail from both addresses.
Then you can add to lines in .muttrc:
alternates "romeo#school.com|romeo#gmail.com"
set reverse_name

You can use the folder-hook directive if you store your mails in folder.
folder-hook . "set from=romeo#gmail.com"
folder-hook school "set from=romeo#school.com"
Otherwise you can use send-hook
send-hook '~t ^romeo#school\.com$' 'my_hdr From: romeo#school.com'
Look at the this page for hooks.

Related

How do I make a 'cover' for my email address [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 months ago.
Improve this question
I want to make links for people to email me in github pages but I don't want them to know my actual email. I noticed that username#github.com may be a valid email address. But when I tried emailing that address, I got this:
How do I modify the organisational settings to allow users to email me in Github. If not possible, how do I set up an email for my github page such that it becomes email#azlancoding.github.io
GitHub doesn't provide email address services for users. The domain github.com is used for GitHub staff and company usage, and GitHub doesn't offer email for github.io domains, either. Email is a service that requires extensive abuse management, both incoming and outgoing, and most sites don't want to provide that service as a result.
You can always set up an additional account, either on your own domain or elsewhere, that forwards to your real account. How to do that is probably more on topic for SuperUser, assuming you're setting up the software yourself.

Can an email reach to the mail server other than its own recipient address's domain? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
My company uses Google Apps service that works with our own domain.
I wonder how Google mail server can receive emails to my_account#my_company?
Can an email reach to the mail server - in this case Google server - which differs from recipient address's domain - my_company?
As I know, my company even has our own server and public IP address which is registered on DNS.
It looks like you're missing some points on how the whole email system works.
In very basic terms, when someone sends an email to your_account#your_company.com, a DNS request is made to find out the mailserver responsible for your_company.com email handling. You can check this by yourself by querying your DNS for the MX records asigned to your domain.
So, if your company is using Google Apps to handle the company accounts, your_domain.com must have google mail servers on the MX records for everything to work properly.
This is "how the email can reach my company servers" part. Around that, there's a whole bunch of other configurations that make the thing work.
It goes to Google server first and then is just forwarded to your domain.

Automated handling of Un-Deliverable email [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
We are using a 3rd party email relay service to send mass emails to our client's subscribers. Problem is that when there is a "soft bounce" i.e domain accepts email and then subsequently bounces for whatever reason (as opposed to a hard bounce), the client's replyto/from email address is the one the undeliveable message goes to.
Atleast with one client, we have the ability to host their email. So for example, support#thisclientofours.net is hosted by us and we can query the IMAP server to see the return codes.
Questions:
Is there a way for us have the Non-Delivery Report/Receipt (NDR) be
sent to a different email (one that we own) vs a genuine reply from
the subscriber to the client ? Does the answer reside in the
"Return-Path" header ?
If 1) is not possible, then whats the most efficient way of
gathering the NDR status flags and then forwarding non NDR (replys) to
the client ?
You can set the 'Return-Path' header and 'Reply-To' header to be different. All bounces are to be sent to the 'Return-Path' address, not the 'Reply-To' address.

Dynamic MX Records [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I'm trying to figure out a solution to my problem which is as follows: There are two email addresses on my domain that I want to continue hosting at a provider but for all the other email addresses I want to host them on my own servers. Logically, I configure the MX records for pointing to the provider of my email hosting but in this case its like I want to maintain the current MX records for these two email addresses and then configure a new one for all others. Is there a way to do something like "check the destination email addresses and if its one of the following then reroute this mail to this mx record" or am I out of luck? I would imagine this problem has been addressed before.
I'm pretty sure this won't work via the MX records because the lookup is of the domain not the whole email address. You could however setup the new server to forward those accounts to a different email address.
Alternatively depending on your server make it act as a proxy for the old addresses, set a rule to open a new connection to the other server and deliver as if nothing has changed?

What is the proper way to send large amounts of solicited mail when using Google Apps [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
We use Google Apps (Gmail) to send and receive all of our email. Our application, which has grown in popularity over the years, sends email to its users per their request. It's not spam, it's important email they ask for.
Gmail (rightfully so) restricts the number of emails you can send. We get around this by queuing our mail and sending it at a slower pace, which works most of the time. We also use multiple email addresses to allow ourselves to send more than the 100-500 email limit.
Is there a way we can send email from our own SMTP server and follow all the proper rules and etiquette to not get flagged as SPAM? This way we can avoid GMail's restrictions.
Are there any good guides for setting up your own email SMTP server to send mail to avoid being flagged as SPAM?
Also, before anyone suggest that I use a 3rd party email sender, I need to be able to send these emails using Java.
(if this question is more appropriate on serverfault, I'm happy to move it)
I'd recommend http://sendgrid.com
It's quick to set up, well-priced, and they do much of the work to ensure your mail is deliverable (assuming you aren't sending spam in the first place, of course).
Oh and just to clarify, while Sendgrid is a 3rd party service, it's essential just a SMTP server in the cloud, so you should be able to switch from gmail to sendgrid by simply pointing at sendgrid's SMTP server instead of gmail's.