ACL for postfix or sendmail


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers ACL for postfix or sendmail
# 8  
Old 02-22-2013
Wait for the second link to load, it provides examples:
Code:
Examples: 
mynetworks = 127.0.0.0/8 168.100.189.0/28
mynetworks = !192.168.0.1, 192.168.0.0/28
mynetworks = 127.0.0.0/8 168.100.189.0/28 [::1]/128 [2001:240:587::]/64
mynetworks = $config_directory/mynetworks
mynetworks = hash:/etc/postfix/network_table

You put the 10.5.5.0/24 in there for 256 address permission to relay to anywhere.

Last edited by DGPickett; 02-22-2013 at 11:19 AM..
# 9  
Old 02-22-2013
Quote:
Originally Posted by DGPickett
Wait for the second link to load, it provides examples:
Code:
Examples: 
mynetworks = 127.0.0.0/8 168.100.189.0/28mynetworks = !192.168.0.1, 192.168.0.0/28mynetworks = 127.0.0.0/8 168.100.189.0/28 [::1]/128 [2001:240:587::]/64mynetworks = $config_directory/mynetworksmynetworks = hash:/etc/postfix/network_table

You put the 10.5.5.0/24 in there for 256 address permission to relay to anywhere.
ok but how to match with FROM: permission ?

my 10.5.5.0/24 can transfert from any domain source, i want 10.5.5.0/24 can only relay (fromSmilie toto.com
# 10  
Old 02-22-2013
mynetworks is for filtering who you realy form/for, and a relay forwards to everywhere unless you find an second mechanism. One thing at a time.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

French characters in postfix/sendmail

Hello again, How can I send emails via postfix with special characters like "à" via postfix. When I'm paste-ing the special character inside a editor (nano) it shows like this --> � ... any tips? (1 Reply)
Discussion started by: galford
1 Replies

2. Solaris

Replace sendmail with Postfix

Hi, I am assigned to replace sendmail with Postfix in solaris 10. Can anyone please tell what are the steps should be taken like files to backup and what are the configurations should be taken care and so on??????? Appreciate any help.... (0 Replies)
Discussion started by: bpsunadm
0 Replies

3. UNIX for Dummies Questions & Answers

Mail tranmission issue: Postfix/Sendmail

Hi, I have email that is being routed from one server to another server it seems. The sending server has postfix running and the receiving server has sendmail running. The sendmail status is receiving connection. The sending server cannot seem to reach the receiving server. Error logs state... (0 Replies)
Discussion started by: mojoman
0 Replies

4. OS X (Apple)

postfix queue filling up (from sendmail?)

What is filling up my postfix queue (/var/spool/postfix/deferred/)? I had a perl script running via crontab to monitor my IP connection and send me a mail via sendmail. Now I have a huge queue of emails I keep getting. I've removed the crontab and the script. If I clear out... (1 Reply)
Discussion started by: kumakuma
1 Replies

5. UNIX for Dummies Questions & Answers

postfix queue filling up (from sendmail?)

What is filling up my postfix queue (/var/spool/postfix/deferred/)? I had a perl script running via crontab to monitor my IP connection and send me a mail via sendmail. Now I have a huge queue of emails I keep getting. I've removed the crontab and the script. If I clear out... (0 Replies)
Discussion started by: kumakuma
0 Replies

6. UNIX for Dummies Questions & Answers

Postfix Problem under mailx/sendmail command

Update: Problem solved with this command: /opt/soc/bin/postfix-setup ================================ Hi, I am trying the following mailx command: sadm@edwardwi-z:/etc$ mailx ewijaya@gmail.com Subject: test foo . . EOT But it gives the following error ... (0 Replies)
Discussion started by: monkfan
0 Replies
Login or Register to Ask a Question