Отправка почты от нескольких хостов на одном использовании экземпляра Amazon SES и Exim4

Я даже не знаю, какова эта "Микростратегия", но я нашел (Google), у кого-то были подобные проблемы: https://resource.microstrategy.com/Forum/ReplyListPage.aspx? id=5095.

Похож на форум поддержки от разработчика программного обеспечения... пытаются спросить там, возможно, они могут помочь Вам лучше.

3
задан 7 August 2012 в 03:44
2 ответа

You can configure exim to hide the local mail name in outgoing mail. In addition you should configure your main exim server to use a smarthost, in this case the amazon SES thing.

Let's assume each site runs on its own virtual server, www.example.com (192.0.2.1) and web.example.com (192.0.2.2) and your email server is on yet another virtual server, smtp.example.com (192.0.2.10).

To reconfigure exim4 you can run:

dpkg-reconfigure exim4-config

On the main email server smtp.example.com configure it as follows (I only listed the relevant ones):

  • General type of mail configuration: mail sent by smarthost; received via SMTP or fetchmail

  • System mail name: smtp.example.com

  • Machines to relay mail for: 192.0.2.1;192.0.2.2

  • IP address or host name of the outgoing smarthost: THE_AMAZON_SES_IP

  • Hide local mail name in outgoing mail? Yes

  • Visible domain name for local users: example.com

On the other servers configure exim like this, using www.example.com as example host:

  • General type of mail configuration: mail sent by smarthost; no local mail

  • System mail name: www.example.com

  • Other destinations for which mail is accepted: LEAVE_EMPTY <-- this will cause "The option to hide the local mail name in outgoing mail was enabled"

  • Visible domain name for local users: www.example.com

  • IP address or host name of the outgoing smarthost: 192.0.2.10

In case you do only have one server, then just ignore the second step. Your main server should send out emails hiding the local server name and send them out as coming from example.com.

2
ответ дан 3 December 2019 в 06:39

Вы пытаетесь скрыть тот факт, что электронное письмо было отправлено из экземпляра EC2? Короткий ответ: вы не можете. Заголовки Received: будут содержать достаточно полную трассировку пути сообщения электронной почты в сети. К счастью для вас, почти никто на них не смотрит.

Если вы просто хотите, чтобы получатели увидели что-то разумное в заголовке From: , просто поместите что-нибудь разумное в From: заголовок при отправке электронного письма.

1
ответ дан 3 December 2019 в 06:39

Теги

Похожие вопросы