how to send mail through another mail server on linux
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I am trying to use mailx
command but due to firewall it's not working. I tried using mailx
on terminal but its giving warnings, as follow:
send-mail: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
send-mail: warning: inet_protocols: configuring for IPv4 support only
postdrop: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
postdrop: warning: inet_protocols: configuring for IPv4 support only
add a comment |
up vote
1
down vote
favorite
I am trying to use mailx
command but due to firewall it's not working. I tried using mailx
on terminal but its giving warnings, as follow:
send-mail: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
send-mail: warning: inet_protocols: configuring for IPv4 support only
postdrop: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
postdrop: warning: inet_protocols: configuring for IPv4 support only
Which distro are you on and what is the end goal you wish to achieve?
– Alexander
Oct 21 '15 at 11:14
I want to design a script that send mail containing another script to multi ple server
– pooja
Oct 21 '15 at 11:36
1
Not necessary that it is the firewall. Did you configure the mailserver on your server to send mails to server the other mailserver? What mailserver did you install? sendmail? postfix? The warning you get is because you do not have IPv6. Look for a parameter like inet_protocols and set it to ipv4 instead of all.
– Marco
Oct 21 '15 at 12:06
actually it is task given to me and I don't know how to set its parameter..i tried to configure /etc/postfix/main.cf but not working as expected..I am totally confused
– pooja
Oct 21 '15 at 12:28
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I am trying to use mailx
command but due to firewall it's not working. I tried using mailx
on terminal but its giving warnings, as follow:
send-mail: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
send-mail: warning: inet_protocols: configuring for IPv4 support only
postdrop: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
postdrop: warning: inet_protocols: configuring for IPv4 support only
I am trying to use mailx
command but due to firewall it's not working. I tried using mailx
on terminal but its giving warnings, as follow:
send-mail: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
send-mail: warning: inet_protocols: configuring for IPv4 support only
postdrop: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
postdrop: warning: inet_protocols: configuring for IPv4 support only
edited Nov 25 at 14:35
Rui F Ribeiro
38.3k1476127
38.3k1476127
asked Oct 21 '15 at 11:08
pooja
61
61
Which distro are you on and what is the end goal you wish to achieve?
– Alexander
Oct 21 '15 at 11:14
I want to design a script that send mail containing another script to multi ple server
– pooja
Oct 21 '15 at 11:36
1
Not necessary that it is the firewall. Did you configure the mailserver on your server to send mails to server the other mailserver? What mailserver did you install? sendmail? postfix? The warning you get is because you do not have IPv6. Look for a parameter like inet_protocols and set it to ipv4 instead of all.
– Marco
Oct 21 '15 at 12:06
actually it is task given to me and I don't know how to set its parameter..i tried to configure /etc/postfix/main.cf but not working as expected..I am totally confused
– pooja
Oct 21 '15 at 12:28
add a comment |
Which distro are you on and what is the end goal you wish to achieve?
– Alexander
Oct 21 '15 at 11:14
I want to design a script that send mail containing another script to multi ple server
– pooja
Oct 21 '15 at 11:36
1
Not necessary that it is the firewall. Did you configure the mailserver on your server to send mails to server the other mailserver? What mailserver did you install? sendmail? postfix? The warning you get is because you do not have IPv6. Look for a parameter like inet_protocols and set it to ipv4 instead of all.
– Marco
Oct 21 '15 at 12:06
actually it is task given to me and I don't know how to set its parameter..i tried to configure /etc/postfix/main.cf but not working as expected..I am totally confused
– pooja
Oct 21 '15 at 12:28
Which distro are you on and what is the end goal you wish to achieve?
– Alexander
Oct 21 '15 at 11:14
Which distro are you on and what is the end goal you wish to achieve?
– Alexander
Oct 21 '15 at 11:14
I want to design a script that send mail containing another script to multi ple server
– pooja
Oct 21 '15 at 11:36
I want to design a script that send mail containing another script to multi ple server
– pooja
Oct 21 '15 at 11:36
1
1
Not necessary that it is the firewall. Did you configure the mailserver on your server to send mails to server the other mailserver? What mailserver did you install? sendmail? postfix? The warning you get is because you do not have IPv6. Look for a parameter like inet_protocols and set it to ipv4 instead of all.
– Marco
Oct 21 '15 at 12:06
Not necessary that it is the firewall. Did you configure the mailserver on your server to send mails to server the other mailserver? What mailserver did you install? sendmail? postfix? The warning you get is because you do not have IPv6. Look for a parameter like inet_protocols and set it to ipv4 instead of all.
– Marco
Oct 21 '15 at 12:06
actually it is task given to me and I don't know how to set its parameter..i tried to configure /etc/postfix/main.cf but not working as expected..I am totally confused
– pooja
Oct 21 '15 at 12:28
actually it is task given to me and I don't know how to set its parameter..i tried to configure /etc/postfix/main.cf but not working as expected..I am totally confused
– pooja
Oct 21 '15 at 12:28
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f237622%2fhow-to-send-mail-through-another-mail-server-on-linux%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
Which distro are you on and what is the end goal you wish to achieve?
– Alexander
Oct 21 '15 at 11:14
I want to design a script that send mail containing another script to multi ple server
– pooja
Oct 21 '15 at 11:36
1
Not necessary that it is the firewall. Did you configure the mailserver on your server to send mails to server the other mailserver? What mailserver did you install? sendmail? postfix? The warning you get is because you do not have IPv6. Look for a parameter like inet_protocols and set it to ipv4 instead of all.
– Marco
Oct 21 '15 at 12:06
actually it is task given to me and I don't know how to set its parameter..i tried to configure /etc/postfix/main.cf but not working as expected..I am totally confused
– pooja
Oct 21 '15 at 12:28