Forward Only Email Server

Clash Royale CLAN TAG#URR8PPP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have a custom domain (I'll use the real domains cause I'm desperate at this point :) ) www.grantorino.io, and I want to forward all email addresses sent to yehiasalam@grantorino.io to yehia.asalam@gmail.com. I followed the logical steps but I can't seem to get it right. This is what I did so far:
- Map the MX record to the grantorino server,
a dig command shows that the mx have no problems, and that mail.grantorino.io maps correctly to my server. - Next step is allowing port 25 on the firewall settings, so it's now open to accept TCP connections from port 25

Make Sendmail forward any mails from yehiasalam@grantorino.io to yehia.asalam@gmail.com. I started with allowing the virtuser feature, an excerpt from sendmail.mc
FEATURE('virtusertable', 'hash -o /etc/mail/virtusertable.db')dnl
The virtusertable I added
yehiasalam@grantorino.io yehia.asalam@gmail.com
and compiled using makemap hasg virtusertable.db < virtusertable
- Also in the access file I added
Connect:grantorino.io RELAY
and compiled using makemap hash access < access.db
Finally in the sendmail.c I changed the DEAMON_OPTIONS line to
DAEMON_OPTIONS(`Family=inet, Name=MTA-v4, Port=smtp')dnl
The problem right now is that I'm not getting any emails forwarded. This is the tail of maillog, after a couple of minutes of sending an email to yehiasalam@grantorino.io. As you can see I'm not getting any activity at all. 
centos sendmail
add a comment |
I have a custom domain (I'll use the real domains cause I'm desperate at this point :) ) www.grantorino.io, and I want to forward all email addresses sent to yehiasalam@grantorino.io to yehia.asalam@gmail.com. I followed the logical steps but I can't seem to get it right. This is what I did so far:
- Map the MX record to the grantorino server,
a dig command shows that the mx have no problems, and that mail.grantorino.io maps correctly to my server. - Next step is allowing port 25 on the firewall settings, so it's now open to accept TCP connections from port 25

Make Sendmail forward any mails from yehiasalam@grantorino.io to yehia.asalam@gmail.com. I started with allowing the virtuser feature, an excerpt from sendmail.mc
FEATURE('virtusertable', 'hash -o /etc/mail/virtusertable.db')dnl
The virtusertable I added
yehiasalam@grantorino.io yehia.asalam@gmail.com
and compiled using makemap hasg virtusertable.db < virtusertable
- Also in the access file I added
Connect:grantorino.io RELAY
and compiled using makemap hash access < access.db
Finally in the sendmail.c I changed the DEAMON_OPTIONS line to
DAEMON_OPTIONS(`Family=inet, Name=MTA-v4, Port=smtp')dnl
The problem right now is that I'm not getting any emails forwarded. This is the tail of maillog, after a couple of minutes of sending an email to yehiasalam@grantorino.io. As you can see I'm not getting any activity at all. 
centos sendmail
It doesn't appear the server is receiving any messages. Try using telnet to diagnose. SMTP is a conversational protocol easy to emulate using a terminal session. For GMail, you likely want to setup an authenticated outgoing connection.
– BillThor
Apr 23 '14 at 1:21
You MUST use an authenticated connection to Gmail. Otherwise your forwarding will be seen as forging emails from domains that support DMARC or the older SPF. In turn this will destroy any reputation associated with your IP address, and Gmail is likely to refuse any further emails from you regardless of possible authenticity.
– roaima
Mar 9 at 10:31
add a comment |
I have a custom domain (I'll use the real domains cause I'm desperate at this point :) ) www.grantorino.io, and I want to forward all email addresses sent to yehiasalam@grantorino.io to yehia.asalam@gmail.com. I followed the logical steps but I can't seem to get it right. This is what I did so far:
- Map the MX record to the grantorino server,
a dig command shows that the mx have no problems, and that mail.grantorino.io maps correctly to my server. - Next step is allowing port 25 on the firewall settings, so it's now open to accept TCP connections from port 25

Make Sendmail forward any mails from yehiasalam@grantorino.io to yehia.asalam@gmail.com. I started with allowing the virtuser feature, an excerpt from sendmail.mc
FEATURE('virtusertable', 'hash -o /etc/mail/virtusertable.db')dnl
The virtusertable I added
yehiasalam@grantorino.io yehia.asalam@gmail.com
and compiled using makemap hasg virtusertable.db < virtusertable
- Also in the access file I added
Connect:grantorino.io RELAY
and compiled using makemap hash access < access.db
Finally in the sendmail.c I changed the DEAMON_OPTIONS line to
DAEMON_OPTIONS(`Family=inet, Name=MTA-v4, Port=smtp')dnl
The problem right now is that I'm not getting any emails forwarded. This is the tail of maillog, after a couple of minutes of sending an email to yehiasalam@grantorino.io. As you can see I'm not getting any activity at all. 
centos sendmail
I have a custom domain (I'll use the real domains cause I'm desperate at this point :) ) www.grantorino.io, and I want to forward all email addresses sent to yehiasalam@grantorino.io to yehia.asalam@gmail.com. I followed the logical steps but I can't seem to get it right. This is what I did so far:
- Map the MX record to the grantorino server,
a dig command shows that the mx have no problems, and that mail.grantorino.io maps correctly to my server. - Next step is allowing port 25 on the firewall settings, so it's now open to accept TCP connections from port 25

Make Sendmail forward any mails from yehiasalam@grantorino.io to yehia.asalam@gmail.com. I started with allowing the virtuser feature, an excerpt from sendmail.mc
FEATURE('virtusertable', 'hash -o /etc/mail/virtusertable.db')dnl
The virtusertable I added
yehiasalam@grantorino.io yehia.asalam@gmail.com
and compiled using makemap hasg virtusertable.db < virtusertable
- Also in the access file I added
Connect:grantorino.io RELAY
and compiled using makemap hash access < access.db
Finally in the sendmail.c I changed the DEAMON_OPTIONS line to
DAEMON_OPTIONS(`Family=inet, Name=MTA-v4, Port=smtp')dnl
The problem right now is that I'm not getting any emails forwarded. This is the tail of maillog, after a couple of minutes of sending an email to yehiasalam@grantorino.io. As you can see I'm not getting any activity at all. 
centos sendmail
centos sendmail
edited Mar 9 at 9:16
Rui F Ribeiro
41.9k1483142
41.9k1483142
asked Apr 22 '14 at 22:50
Yehia A.SalamYehia A.Salam
1112
1112
It doesn't appear the server is receiving any messages. Try using telnet to diagnose. SMTP is a conversational protocol easy to emulate using a terminal session. For GMail, you likely want to setup an authenticated outgoing connection.
– BillThor
Apr 23 '14 at 1:21
You MUST use an authenticated connection to Gmail. Otherwise your forwarding will be seen as forging emails from domains that support DMARC or the older SPF. In turn this will destroy any reputation associated with your IP address, and Gmail is likely to refuse any further emails from you regardless of possible authenticity.
– roaima
Mar 9 at 10:31
add a comment |
It doesn't appear the server is receiving any messages. Try using telnet to diagnose. SMTP is a conversational protocol easy to emulate using a terminal session. For GMail, you likely want to setup an authenticated outgoing connection.
– BillThor
Apr 23 '14 at 1:21
You MUST use an authenticated connection to Gmail. Otherwise your forwarding will be seen as forging emails from domains that support DMARC or the older SPF. In turn this will destroy any reputation associated with your IP address, and Gmail is likely to refuse any further emails from you regardless of possible authenticity.
– roaima
Mar 9 at 10:31
It doesn't appear the server is receiving any messages. Try using telnet to diagnose. SMTP is a conversational protocol easy to emulate using a terminal session. For GMail, you likely want to setup an authenticated outgoing connection.
– BillThor
Apr 23 '14 at 1:21
It doesn't appear the server is receiving any messages. Try using telnet to diagnose. SMTP is a conversational protocol easy to emulate using a terminal session. For GMail, you likely want to setup an authenticated outgoing connection.
– BillThor
Apr 23 '14 at 1:21
You MUST use an authenticated connection to Gmail. Otherwise your forwarding will be seen as forging emails from domains that support DMARC or the older SPF. In turn this will destroy any reputation associated with your IP address, and Gmail is likely to refuse any further emails from you regardless of possible authenticity.
– roaima
Mar 9 at 10:31
You MUST use an authenticated connection to Gmail. Otherwise your forwarding will be seen as forging emails from domains that support DMARC or the older SPF. In turn this will destroy any reputation associated with your IP address, and Gmail is likely to refuse any further emails from you regardless of possible authenticity.
– roaima
Mar 9 at 10:31
add a comment |
1 Answer
1
active
oldest
votes
The .io top level domain seems to tell me the entire grantorino.io domain does not exist in the public DNS:
$ dig grantorino.io SOA
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 17264
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; AUTHORITY SECTION:
io. 823 IN SOA a0.nic.io. noc.afilias-nst.info. 1497562067 10800 3600 2764800 900
$ dig grantorino.io MX
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 24001
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; AUTHORITY SECTION:
io. 292 IN SOA a0.nic.io. noc.afilias-nst.info. 1497562067 10800 3600 2764800 900
Also, a reverse DNS query indicates there is no PTR record either, and that would cause your system to fail one of the oldest anti-spam tests:
$ dig -x 162.242.170.86
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 58070
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; AUTHORITY SECTION:
170.242.162.in-addr.arpa. 300 IN SOA ns.rackspace.com. hostmaster.rackspace.com. 1543432701 3600 300 1814400 300
No wonder your domain cannot receive email: when viewed from the outside, it does not even seem to exist!
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f126034%2fforward-only-email-server%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The .io top level domain seems to tell me the entire grantorino.io domain does not exist in the public DNS:
$ dig grantorino.io SOA
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 17264
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; AUTHORITY SECTION:
io. 823 IN SOA a0.nic.io. noc.afilias-nst.info. 1497562067 10800 3600 2764800 900
$ dig grantorino.io MX
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 24001
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; AUTHORITY SECTION:
io. 292 IN SOA a0.nic.io. noc.afilias-nst.info. 1497562067 10800 3600 2764800 900
Also, a reverse DNS query indicates there is no PTR record either, and that would cause your system to fail one of the oldest anti-spam tests:
$ dig -x 162.242.170.86
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 58070
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; AUTHORITY SECTION:
170.242.162.in-addr.arpa. 300 IN SOA ns.rackspace.com. hostmaster.rackspace.com. 1543432701 3600 300 1814400 300
No wonder your domain cannot receive email: when viewed from the outside, it does not even seem to exist!
add a comment |
The .io top level domain seems to tell me the entire grantorino.io domain does not exist in the public DNS:
$ dig grantorino.io SOA
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 17264
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; AUTHORITY SECTION:
io. 823 IN SOA a0.nic.io. noc.afilias-nst.info. 1497562067 10800 3600 2764800 900
$ dig grantorino.io MX
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 24001
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; AUTHORITY SECTION:
io. 292 IN SOA a0.nic.io. noc.afilias-nst.info. 1497562067 10800 3600 2764800 900
Also, a reverse DNS query indicates there is no PTR record either, and that would cause your system to fail one of the oldest anti-spam tests:
$ dig -x 162.242.170.86
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 58070
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; AUTHORITY SECTION:
170.242.162.in-addr.arpa. 300 IN SOA ns.rackspace.com. hostmaster.rackspace.com. 1543432701 3600 300 1814400 300
No wonder your domain cannot receive email: when viewed from the outside, it does not even seem to exist!
add a comment |
The .io top level domain seems to tell me the entire grantorino.io domain does not exist in the public DNS:
$ dig grantorino.io SOA
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 17264
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; AUTHORITY SECTION:
io. 823 IN SOA a0.nic.io. noc.afilias-nst.info. 1497562067 10800 3600 2764800 900
$ dig grantorino.io MX
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 24001
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; AUTHORITY SECTION:
io. 292 IN SOA a0.nic.io. noc.afilias-nst.info. 1497562067 10800 3600 2764800 900
Also, a reverse DNS query indicates there is no PTR record either, and that would cause your system to fail one of the oldest anti-spam tests:
$ dig -x 162.242.170.86
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 58070
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; AUTHORITY SECTION:
170.242.162.in-addr.arpa. 300 IN SOA ns.rackspace.com. hostmaster.rackspace.com. 1543432701 3600 300 1814400 300
No wonder your domain cannot receive email: when viewed from the outside, it does not even seem to exist!
The .io top level domain seems to tell me the entire grantorino.io domain does not exist in the public DNS:
$ dig grantorino.io SOA
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 17264
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; AUTHORITY SECTION:
io. 823 IN SOA a0.nic.io. noc.afilias-nst.info. 1497562067 10800 3600 2764800 900
$ dig grantorino.io MX
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 24001
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; AUTHORITY SECTION:
io. 292 IN SOA a0.nic.io. noc.afilias-nst.info. 1497562067 10800 3600 2764800 900
Also, a reverse DNS query indicates there is no PTR record either, and that would cause your system to fail one of the oldest anti-spam tests:
$ dig -x 162.242.170.86
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 58070
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; AUTHORITY SECTION:
170.242.162.in-addr.arpa. 300 IN SOA ns.rackspace.com. hostmaster.rackspace.com. 1543432701 3600 300 1814400 300
No wonder your domain cannot receive email: when viewed from the outside, it does not even seem to exist!
answered Mar 9 at 10:22
telcoMtelcoM
20.6k12452
20.6k12452
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f126034%2fforward-only-email-server%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
It doesn't appear the server is receiving any messages. Try using telnet to diagnose. SMTP is a conversational protocol easy to emulate using a terminal session. For GMail, you likely want to setup an authenticated outgoing connection.
– BillThor
Apr 23 '14 at 1:21
You MUST use an authenticated connection to Gmail. Otherwise your forwarding will be seen as forging emails from domains that support DMARC or the older SPF. In turn this will destroy any reputation associated with your IP address, and Gmail is likely to refuse any further emails from you regardless of possible authenticity.
– roaima
Mar 9 at 10:31