9 More Discussions You Might Find Interesting
1. Red Hat
While sending mail from linux server we observed below logs,
stat=Deferred: Name server: xxxxxxxxxx.: host name lookup failure
Kindly suggest what we need to change?
Thanks in Advance (2 Replies)
Discussion started by: hydoss1
2 Replies
2. Shell Programming and Scripting
HI All,
I am facing the problem with rmail ...
Actually my server is linux environment Redhot server.
To send a mail which command I have to use it . I want subject and I want to Include CC also
And body of the mail also there . But If I use rmail command it is not taking any options to... (1 Reply)
Discussion started by: ksrivani
1 Replies
3. Linux
Hi,
I coded a bash script.I m trying to use this command in the script
mail -s "test" user@abc.com
I tried this command on prompt.however it hangs.I check /var/log/maillog/
stat=Deferred: Connection timed out with mail.rdmedia.com.
sendmail: n0M8lscO014303: localhost did not issue... (2 Replies)
Discussion started by: sunsail
2 Replies
4. UNIX for Advanced & Expert Users
Hi all,
I was trying to configure SMTP server with my linux box. I made changes to the /etc/mail/sendmail.cf whereby editing the line
DAEMON_OPTIONS(`Port=<port number>,Addr=<mail server name>, Name=MTA')dnl
after this ive created a new sendmail.cf file by using the command
m4... (4 Replies)
Discussion started by: amit_kv1983
4 Replies
5. UNIX for Advanced & Expert Users
Hi all,
I need to send mail to a particular email id using a local mail server.This mail shall contain the content of a file. I don't have any idea how to do it. Can anyone guide me ,where to start proceeding for it. Any guide or study material would appreciated. (1 Reply)
Discussion started by: amit_kv1983
1 Replies
6. Red Hat
we are using redhat linux,configured the postfix as mail server and outlook is used as mail client.whenever the user opens outlook it is start downloading all the mails from the server.
Example : If a user has 50 mails in the server,whenever he opens the outlook the outlook will start... (0 Replies)
Discussion started by: ramjimh2k3
0 Replies
7. Linux
hi
i want to set up LInux mail server for intranet purpose. i used following document as reference Linux Mail Server
softwares used are :
Postfix # pre installed
Procmail # pre installed
Fetchmail # pre installed
SpamBayes
Mutt #... (1 Reply)
Discussion started by: zedex
1 Replies
8. Linux
Hi,
I have a desktop on which linux is installed. It is connected to office LAN. I am able to send mails(using the 'mail' command) to anybody who is connected to the linux machine. But I am not able to send mails to internet IDs. Please inform, what do I have to do to enable mailing to internet... (3 Replies)
Discussion started by: abhishek_ss
3 Replies
9. Linux
How do i setup my linux server to act as a internal ftp server. i have 30 machines who would want to log onto external ftp servers ( for hosting and stuff ). They would have to go through a ftp server on the network server to get outside to the internet?
What program on linux would i use
How... (6 Replies)
Discussion started by: perleo
6 Replies
SHOREWALL-RTRULES(5) [FIXME: manual] SHOREWALL-RTRULES(5)
NAME
rtrules - Shorewall Routing Rules file
SYNOPSIS
/etc/shorewall/rtrules
DESCRIPTION
Entries in this file cause traffic to be routed to one of the providers listed in shorewall-providers[1](5).
The columns in the file are as follows.
SOURCE (Optional) - {-|[&]interface|address|interface:address}
An ip address (network or host) that matches the source IP address in a packet. May also be specified as an interface name optionally
followed by ":" and an address. If the device lo is specified, the packet must originate from the firewall itself.
Beginning with Shorewall 4.5.0, you may specify &interface in this column to indicate that the source is the primary IP address of the
named interface.
DEST (Optional) - {-|address}
An ip address (network or host) that matches the destination IP address in a packet.
If you choose to omit either SOURCE or DEST, place "-" in that column. Note that you may not omit both SOURCE and DEST.
PROVIDER - {provider-name|provider-number|main}
The provider to route the traffic through. May be expressed either as the provider name or the provider number. May also be main or 254
for the main routing table. This can be used in combination with VPN tunnels, see example 2 below.
PRIORITY - priority
The rule's numeric priority which determines the order in which the rules are processed. Rules with equal priority are applied in the
order in which they appear in the file.
1000-1999
Before Shorewall-generated 'MARK' rules
11000-11999
After 'MARK' rules but before Shorewall-generated rules for ISP interfaces.
26000-26999
After ISP interface rules but before 'default' rule.
MARK - {-|mark[/mask]}
Optional -- added in Shorewall 4.4.25. For this rule to be applied to a packet, the packet's mark value must match the mark when
logically anded with the mask. If a mask is not supplied, Shorewall supplies a suitable provider mask.
EXAMPLES
Example 1:
You want all traffic coming in on eth1 to be routed to the ISP1 provider.
#SOURCE DEST PROVIDER PRIORITY MASK
eth1 - ISP1 1000
Example 2:
You use OpenVPN (routed setup /tunX) in combination with multiple providers. In this case you have to set up a rule to ensure that the
OpenVPN traffic is routed back through the tunX interface(s) rather than through any of the providers. 10.8.0.0/24 is the subnet chosen
in your OpenVPN configuration (server 10.8.0.0 255.255.255.0).
#SOURCE DEST PROVIDER PRIORITY MASK
- 10.8.0.0/24 main 1000
FILES
/etc/shorewall/rtrules
SEE ALSO
http://shorewall.net/MultiISP.html
http://shorewall.net/configuration_file_basics.htm#Pairs
shorewall(8), shorewall-accounting(5), shorewall-actions(5), shorewall-blacklist(5), shorewall-hosts(5), shorewall_interfaces(5),
shorewall-ipsets(5), shorewall-maclist(5), shorewall-masq(5), shorewall-nat(5), shorewall-netmap(5), shorewall-params(5),
shorewall-policy(5), shorewall-providers(5), shorewall-proxyarp(5), shorewall-routestopped(5), shorewall-rules(5), shorewall.conf(5),
shorewall-secmarks(5), shorewall-tcclasses(5), shorewall-tcdevices(5), shorewall-tcrules(5), shorewall-tos(5), shorewall-tunnels(5),
shorewall-zones(5)
NOTES
1. shorewall-providers
http://www.shorewall.net/manpages/shorewall-providers.html
[FIXME: source] 06/28/2012 SHOREWALL-RTRULES(5)