Sponsored Content
Operating Systems Linux How to set up mail server in Linux machine Post 302086692 by Aeros on Saturday 26th of August 2006 06:17:37 AM
Old 08-26-2006
Set the SMTP and Masquerading options in:

/etc/postfix/main.cf
/etc/sysconfig/postfix

Should work, that is, if you're using postfix.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

setup mail server on my unix machine

hi, i just finished installation solaris 8 on my unix machine. i want to setup a mail server on it ( i assume it has not had one yet). so, what is my first step? where can i find out step by step configuration procedure on web ? so any expert is willing to teach me? pls help me. ... (1 Reply)
Discussion started by: champion
1 Replies

2. Red Hat

Command to set locale for my linux machine

Hi, I need to set a locale to my linux machine which has redhat enterprise linux 4 how should I do that. And also when i did locale -a, I have got three versions for each locale type with different .extensions like utf8,iso88951 and soon which file should I use for setting locale. ... (1 Reply)
Discussion started by: eamani_sun
1 Replies

3. UNIX for Dummies Questions & Answers

Trying to get mail working on a Linux machine

I tried using the mail command on one of our Linux machines to send email, and it works fine. I tried using the same command on another one of our Linux machines, and it didn't work (no error message was returned either). The machine that works has the following version information:... (2 Replies)
Discussion started by: sllinux
2 Replies

4. Red Hat

SEt two hostname in a linux server

Friends , Can I set two hostname in a Linux server at a time ? I want to give two hostname of my Linux server , is it possible to do ? Plz inform .. .. (2 Replies)
Discussion started by: shipon_97
2 Replies

5. Red Hat

How to set up a mail server

Hi, I need to set up a mail server and I do not have much knowledge in Linux RedHat. Does anyone know how to do this? (0 Replies)
Discussion started by: shakshakshuk
0 Replies

6. Shell Programming and Scripting

File transfer from Windows machine to Linux server

Hi guys, I need to send a txt file from a windows machine to Linux server. Any help is appreciated.... Thanks... (3 Replies)
Discussion started by: gowrishankar05
3 Replies

7. Shell Programming and Scripting

I have a requirement to check whose accounts are expired in Linux machine and send a mail to root

I have a requirement to check whose accounts are expired in Linux machine and send a mail to root user about the accounts. How can i achieve this in Linux? (1 Reply)
Discussion started by: mnmonu
1 Replies

8. Red Hat

Recover deleted files from linux server machine..

Hi, I am working Linux server machine. Somebody by mistake(or may be knowingly) deleted few folders and files from the machine. How is this possible to recover those files and folders????:confused: I normally logged in through Putty and winscp only. And don't have any history for putty... (8 Replies)
Discussion started by: pamu
8 Replies

9. UNIX for Dummies Questions & Answers

Copy files from Linux server local windows machine using a shell script

Hello, I need to create a shell script which will copy files - which are created on particular date and starting with particular name - to local windows XP machine. Is this possible.? Currently it is being done manually using winscp (1 Reply)
Discussion started by: NarayanaPrakash
1 Replies

10. Linux

Problem in accessing Oracle Database Server from Linux Machine

I am facing a strange issue in connecting to Oracle database from Linux Machine - The connectivity is not failing all the time , the failure to success ratio is 1:70. - Error "ORA-12545: Connect failed because target host or object does not exist" - Majority of the time the connection... (6 Replies)
Discussion started by: balaji kumar
6 Replies
policyd-weight(8)					      System Manager's Manual						 policyd-weight(8)

NAME
policyd-weight - weighted SMTP policy daemon STATUS
Beta, Documentation incomplete SYNOPSIS
policyd-weight [-option] [-option2 <arg>] command DESCRIPTION
policyd-weight(8) is a SMTP policy daemon written in perl(1) for postfix(1). It evaluates based on RBL/RHSBL results, HELO and MAIL FROM domain and subdomain arguments and the client IP address the possibility of forgery or SPAM. It is designed to be called before the SMTP DATA command at the RCPT TO stage. This way it is a) possible to reject a mail attempt before the body has been received and b) to keep multirecipient mail intact, i.e. provide the functionality of selective usage based on recipients. To make policyd-weight(8) work with postfix(1), it is required to add a system account for $USER (default: polw) Policyd-weight can operate in master.cf or daemon mode. In master.cf mode it uses postfix' spawn(8), which results in number of simultanous requests perl instances. In daemon mode it uses shared memory and forks on load, and only if all child processes are busy. At the time of writing the man-pages for policyd-weight assume a postfix installation. It has been reported that policyd-weight works with other MTAs like Exim, too. SETUP
master.cf mode: master.cf: policy unix - n n - - spawn user=polw argv=/usr/bin/perl /usr/local/bin/policyd-weight main.cf: smtpd_recipient_restrictions = permit_mynetworks, ... authenticated permits ... reject_unauth_destination, ... whitelists, role accounts, clients ... check_policy_service unix:private/policy daemon mode: start the daemon with policyd-weight start. Poliyd-weight then listens on $TCP_PORT (default: 12525) for policy requests. To make postfix talk to that port do following changes to main.cf: main.cf: smtpd_recipient_restrictions = permit_mynetworks, ... authenticated permits ... reject_unauth_destination, ... whitelists, role accounts, clients ... check_policy_service inet:127.0.0.1:12525 It is possible to have more than one postfix server talk to the daemonized policyd-weight by configuring each postfix machine to query the policy server with check_policy_service inet:IP:12525 where IP is the host on which policyd-weight runs. Please note that check_policy_service should come at last, or at least after reject_unauth_destination, or else you may become an open relay. COMMANDS
Following commands exist and are reserved for daemon mode only: start start the policy server stop stop the policy server restart restart the policy server reload tells the policy server to reload its configuration defaults prints the default settings to STDOUT and exits OPTIONS
-d operate in debug mode Not for use in master.cf. In debug mode everything is reported on STDOUT instead of syslog(3). Also an own debug cache daemon will be spawned. The socket-file is named after the value of $SPATH with ".debug" as suffix. -f /path/to/file Pass a configuration file to policyd-weight -h show help -k kill cache daemon Not for use in master.cf. Together with -d this kills the debug cache daemon. Without -d it kills the global running cache daemon. -s show cache entries Not for use in master.cf. -v show version LOGGING
Logging is done via syslog(3) with facility "mail" and priority "info". For a complete list of log entries and their correspondending con- figuration parameters refer to policyd-weight.conf(5). BUGS
Please report bugs to r.felber@ek-muc.de HISTORY
March 2005 Ralf Hildebrandt (Author of the Book of Postfix) is the spiritual father of policyd-weight. It was his idea to have a scored RBL evaluation, I've added the weighted MAIL FROM/HELO DNS-evaluation. For that purpose I used Meng Wong's spf.pl which was shipped with the postfix source as example. FILES
/etc/policyd-weight.conf, Policyd-weight configuration file /etc/postfix/main.cf, Postfix configuration parameters /etc/postfix/master.cf, Postfix daemon processes SEE ALSO
policyd-weight.conf(5), Policyd-weight configuration file master(5), Postfix master.cf file syntax postconf(5), Postfix main.cf file syntax access(5), Postfix SMTP access control table LICENSE
GNU General Public License AUTHOR
Robert Felber <r.felber@ek-muc.de> Autohaus Erich Kuttendreier 81827 Munich, Germany Aug 25th, 2006 policyd-weight(8)
All times are GMT -4. The time now is 12:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy