imacat
2010-Nov-17 09:53 UTC
[Pkg-exim4-users] Send Local Mails to Google Apps and Internet Mails Directly
Dear all,
Hi. This is imacat from Taiwan. I''m new to exim. I''m
using Google
Apps for our coorporate mail. I cannot find the answer with
"dpkg-reconfigure exim4-config". How do I send local mails to Google
Apps mail servers and internet mails directly? Thank you very much.
--
Best regards,
imacat ^_*'' <imacat at mail.imacat.idv.tw>
PGP Key http://www.imacat.idv.tw/me/pgpkey.asc
<<Woman''s Voice>> News: http://www.wov.idv.tw/
Tavern IMACAT''s http://www.imacat.idv.tw/
Woman in FOSS in Taiwan http://wofoss.blogspot.com/
TLUG List Manager http://lists.linux.org.tw/cgi-bin/mailman/listinfo/tlug
Boyd Stephen Smith Jr.
2010-Nov-17 10:20 UTC
[Pkg-exim4-users] Send Local Mails to Google Apps and Internet Mails Directly
In <4CE3A621.6000009 at mail.imacat.idv.tw>, imacat wrote:> Hi. This is imacat from Taiwan. I''m new to exim. I''m using Google >Apps for our coorporate mail. I cannot find the answer with >"dpkg-reconfigure exim4-config". How do I send local mails to Google >Apps mail servers and internet mails directly? Thank you very much.Not sure this works out of the box since the Google servers use SMTPS and don''t support STARTTLS and exim (when acting as a "client") refuses to use SMTPS and only talks STARTTLS. Last time I checked at least. I have heard of some hacks that involve stunnel to handle the SSL/TLS on connect that Google seems to require. -- Boyd Stephen Smith Jr. ,= ,-_-. =. bss at iguanasuicide.net ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-''(. .)`-'' http://iguanasuicide.net/ \_/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part. URL: <http://lists.alioth.debian.org/pipermail/pkg-exim4-users/attachments/20101117/b17619e3/attachment.pgp>
Marc Haber
2010-Nov-17 10:40 UTC
[Pkg-exim4-users] Send Local Mails to Google Apps and Internet Mails Directly
On Wed, Nov 17, 2010 at 05:53:37PM +0800, imacat wrote:> How do I send local mails to Google > Apps mail servers and internet mails directly?Why do you want to do this? If you''re sure that you want to do this, take a look at man exim4-config_files and search for hubbed_hosts. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
Marc Haber
2010-Nov-17 10:41 UTC
[Pkg-exim4-users] Send Local Mails to Google Apps and Internet Mails Directly
On Wed, Nov 17, 2010 at 04:20:03AM -0600, Boyd Stephen Smith Jr. wrote:> In <4CE3A621.6000009 at mail.imacat.idv.tw>, imacat wrote: > > Hi. This is imacat from Taiwan. I''m new to exim. I''m using Google > >Apps for our coorporate mail. I cannot find the answer with > >"dpkg-reconfigure exim4-config". How do I send local mails to Google > >Apps mail servers and internet mails directly? Thank you very much. > > Not sure this works out of the box since the Google servers use SMTPS and > don''t support STARTTLS and exim (when acting as a "client") refuses to use > SMTPS and only talks STARTTLS. Last time I checked at least.smtp.gmail.com seems to support STARTTLS on both port 25 and 587. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
imacat
2010-Nov-25 07:16 UTC
[Pkg-exim4-users] Send Local Mails to Google Apps and Internet Mails Directly
Marc Haber said:> On Wed, Nov 17, 2010 at 05:53:37PM +0800, imacat wrote: >> How do I send local mails to Google >> Apps mail servers and internet mails directly? > > Why do you want to do this?Because Google Apps Standard does not relay for our network, and thus cannot act as our smart host. So we need to send internet mails directly, but local mails should not stay locally but sent to the Google mail server.> If you''re sure that you want to do this, take a look at man > exim4-config_files and search for hubbed_hosts.Thank you. hubbed_hosts does solve my problem. -- Best regards, imacat ^_*'' <imacat at mail.imacat.idv.tw> PGP Key http://www.imacat.idv.tw/me/pgpkey.asc <<Woman''s Voice>> News: http://www.wov.idv.tw/ Tavern IMACAT''s http://www.imacat.idv.tw/ Woman in FOSS in Taiwan http://wofoss.blogspot.com/ TLUG List Manager http://lists.linux.org.tw/cgi-bin/mailman/listinfo/tlug
Marc Haber
2010-Nov-30 10:43 UTC
[Pkg-exim4-users] Send Local Mails to Google Apps and Internet Mails Directly
On Thu, Nov 25, 2010 at 03:16:13PM +0800, imacat wrote:> Marc Haber said: > > On Wed, Nov 17, 2010 at 05:53:37PM +0800, imacat wrote: > >> How do I send local mails to Google > >> Apps mail servers and internet mails directly? > > > > Why do you want to do this? > > Because Google Apps Standard does not relay for our network, and > thus cannot act as our smart host. So we need to send internet mails > directly, but local mails should not stay locally but sent to the Google > mail server.And the local mails cannot be delivered to the MX for your domain? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
imacat
2010-Nov-30 16:11 UTC
[Pkg-exim4-users] Send Local Mails to Google Apps and Internet Mails Directly
On 99.11.30 06:43pm, Marc Haber said:> On Thu, Nov 25, 2010 at 03:16:13PM +0800, imacat wrote: >> Marc Haber said: >>> On Wed, Nov 17, 2010 at 05:53:37PM +0800, imacat wrote: >>>> How do I send local mails to Google >>>> Apps mail servers and internet mails directly? >>> Why do you want to do this? >> Because Google Apps Standard does not relay for our network, and >> thus cannot act as our smart host. So we need to send internet mails >> directly, but local mails should not stay locally but sent to the Google >> mail server. > And the local mails cannot be delivered to the MX for your domain?No, they were delivered as local. Currently I''m using /etc/exim4/hubbed_hosts to sent mails to MX of the local domain, as: # On host.example.com host.example.com: host.example.com/MX hubbed_hosts works, thanks to you for your suggestion. But, are you suggesting there is a better way to do this, so that it is sent to MX after aliasing? I still hope to deliver some mails to some custom aliases from my application, while ordinary mails sent to MX. -- Best regards, imacat ^_*'' <imacat at mail.imacat.idv.tw> PGP Key http://www.imacat.idv.tw/me/pgpkey.asc <<Woman''s Voice>> News: http://www.wov.idv.tw/ Tavern IMACAT''s http://www.imacat.idv.tw/ Woman in FOSS in Taiwan http://wofoss.blogspot.com/ TLUG List Manager http://lists.linux.org.tw/cgi-bin/mailman/listinfo/tlug -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature URL: <http://lists.alioth.debian.org/pipermail/pkg-exim4-users/attachments/20101201/5326278e/attachment.pgp>