메일 포워딩 전용 서버?
글쓴이: 세벌 / 작성시간: 금, 2023/03/24 - 7:35오전
http://www.vinecenter.or.kr/page/page60 보다가 든 생각.
이메일 : vinecenter@naver.com
이라고 나오는데요.
여기서 질문.
admin@vinecenter.or.kr 로 메일 보내면
자동으로 vinecenter@naver.com 로 가도록 하려면
어떻게 서버를 구축하고 설정하면 되나요?
Forums:
chatGPT 답
chatGPT에게 물어보니 바로 답이 나오네요.
거짓말도 잘 한다고 하니 나중에 테스트 해 봐야겠네요.
There are a few ways to set up a forwarding-only mail server, but one simple way is to use a combination of a standard mail transfer agent (MTA) and an email client.
Here are the general steps:
Set up an email account on your MTA, such as Postfix or Exim.
You can follow the installation and configuration guides provided by the MTA's documentation.
Configure the email account to forward all incoming emails to the destination email address.
This can typically be done by editing the MTA's configuration file,
such as /etc/postfix/main.cf for Postfix.
For example, in Postfix, you can add the following line to the configuration file:
bash
Copy code
virtual_alias_maps = hash:/etc/postfix/virtual
This tells Postfix to use the virtual file as the mapping table for virtual aliases.
Create the mapping table file (/etc/postfix/virtual in this example) and add the forwarding rule. For example, you can add the following line to forward all emails sent to admin@vincenter to vinecenter@naver.com:
graphql
Copy code
admin@vincenter.com vinecenter@naver.com
Reload the MTA configuration file to apply the changes:
swift
Copy code
sudo systemctl reload postfix
Set up an email client, such as Thunderbird or Gmail, to access the forwarding email account. You can configure the client to download emails from the forwarding email account and automatically forward them to the destination email address. The exact steps depend on the client you use.
With these steps, any email sent to admin@vincenter will be forwarded to vinecenter@naver.com without being stored on the forwarding email account. Note that this setup assumes that you have control over the DNS settings of the vincenter.com domain to point the email traffic to your mail server.
세벌 https://sebuls.blogspot.kr/
댓글 달기