Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I am planning to transfer my mail server to Google Apps, and I am wondering whether this will work:

In my infrastructure there are some scripts that send emails from addresses that do not exist, for example:

  • service1.sales@comapny.com
  • service2.sales@company.com, etc

The filters in email clients rely on these addresses to sort the incoming mail and keep the messages in the right locations.

There are no mailboxes that correspond to these addresses, they are "send only" (i.e. replies are never expected).

Will this be possible with a Google-hosted email service? Or must I create these addresses in order to be able to send emails that have them in the FROM field?

The trouble is that I have quite a lot of such addresses, so if I create actual mailboxes for them, I will hit the limit of the free Google Apps account fast.

share|improve this question
add comment

migrated from superuser.com Jun 6 '11 at 15:44

This question came from our site for computer enthusiasts and power users.

4 Answers

You can send form valid aliases only. Any other e-mail from address will be changed to authenticated user default e-mail address.

share|improve this answer
add comment

What you can do is create one master account to act as your 'services' account:

  • services@mycompany.com

Then create aliases (Nicknames as google calls them) for that account (aliases/nicknames dont count towards the account limit):

  • service1.sales@comapny.com
  • service5.accounts@company.com
  • service2.support@secondarydomain.com

Your scripts would need to use the master account to authenticate with Google, but the from: address would be set to one of the nicknames. (eg. an email client would create an account for the email address nickname@mycompany.com but the login for the smtp server would be actual_account_name@mycompany.com


We have users with multiple custom aliases in place (rather than giving them 10 different accounts which would cost us 'x10 accounts'):

Example of nicknames in Google Apps user settings

You can make Nicknames by going to Domain dashboard -> Users and Groups -> Select the user account -> Click 'Add a Nickname'

share|improve this answer
add comment

You can definitely send emails by setting your scripts to send from any email. I just tested this out with my PostageApp install by setting the FROM address as "jonnotreal@email.com" and it sent it through no problem.

The real problem would be if anyone actually replied - the sender would get a bounce back email and that's not exactly a fantastic thing to see.

share|improve this answer
add comment

I too am using this kind of system. I registered my domain, say, example.com for a google apps standard account and I only created one user. I set the option to enable catch-all so that emails that are sent to [anything]@example.com will be received at my inbox.

I can then use GMail filters to tag the emails appropriately.

I send emails from my webserver using arbitrary from addresses but that doesn't go through Google Apps. Also check this question related to this: Send mail from a Gmail catch all address

Even better, I added a domain alias, apps.example.com, so that all emails sent to [anything]@apps.example.com is forwarded to my webserver. My scripts could then parse the emails and respond.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.