Sponsored Content
Full Discussion: ACL for postfix or sendmail
Top Forums UNIX for Dummies Questions & Answers ACL for postfix or sendmail Post 302769947 by safsound on Thursday 14th of February 2013 03:05:45 AM
Old 02-14-2013
ACL for postfix or sendmail

Hello,

i want to know how to configure a MTA to relay somes domain by IP source, example :

toto.com and titi.com can relay with ip sender 10.2.2.0/24 only
lulu.com can relay with ip sender 192.168.0.4/32 only
all domain can relay with ip sender 172.0.0.5/32 only

It's possible with policy server (postfix) but i dont know how to write policy about it Smilie
Or if it's possible with sendmail ?

i know how to allow relay by IP or by From: with /etc/mail/access but not twice at same time

Thanks

Safsound

Last edited by safsound; 02-14-2013 at 08:13 AM..
 

6 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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
relaytest(1)						      General Commands Manual						      relaytest(1)

NAME
relaytest - attempt to use SMTP to relay to a DSBL-compliant host SYNOPSIS
relaytest [-v] <ip address[:port]> DESCRIPTION
relaytest attempts to connect to the specified <ip address> on the specified port (default is port 25) and uses a variety of tests to attempt to relay through the host. In the tests below, source.com is sender_domain from dsbl.conf(5) and sender is sender_user. Non-domain-specific tests: MAIL FROM:<sender@source.com> RCPT TO:<listme@dsbl.org> MAIL FROM:<sender@source.com> RCPT TO:<"listme@dsbl.org"> MAIL FROM:<sender@source.com> RCPT TO:listme@dsbl.org MAIL FROM:<sender@source.com> RCPT TO:<dsbl.org!listme> MAIL FROM:<nobody> RCPT TO:<listme@dsbl.org> MAIL FROM:<nobody> RCPT TO:<"listme@dsbl.org"> MAIL FROM:<nobody> RCPT TO:listme@dsbl.org MAIL FROM:<nobody> RCPT TO:<dsbl.org!listme> MAIL FROM:<source.com!sender> RCPT TO:<listme@dsbl.org> MAIL FROM:<source.com!sender> RCPT TO:<"listme@dsbl.org"> MAIL FROM:<source.com!sender> RCPT TO:listme@dsbl.org MAIL FROM:<source.com!sender> RCPT TO:<dsbl.org!listme> MAIL FROM:<> RCPT TO:<listme@dsbl.org> MAIL FROM:<> RCPT TO:<"listme@dsbl.org"> MAIL FROM:<> RCPT TO:listme@dsbl.org MAIL FROM:<> RCPT TO:<dsbl.org!listme> relaytest then builds a list of possible domains, including "[127.0.0.1]", "localhost", [<ip address>], and any other domains that can be derived from reverse DNS of the IP or the SMTP greeting. Domain specific tests: MAIL FROM:<nobody@DOMAIN> RCPT TO:<listme@dsbl.org> MAIL FROM:<nobody@DOMAIN> RCPT TO:<"listme@dsbl.org"> MAIL FROM:<nobody@DOMAIN> RCPT TO:listme@dsbl.org MAIL FROM:<nobody@DOMAIN> RCPT TO:<listme%dsbl.org@DOMAIN> MAIL FROM:<nobody@DOMAIN> RCPT TO:<listme%dsbl.org> MAIL FROM:<nobody@DOMAIN> RCPT TO:<"listme%dsbl.org"> MAIL FROM:<nobody@DOMAIN> RCPT TO:<listme@dsbl.org@DOMAIN> MAIL FROM:<nobody@DOMAIN> RCPT TO:<"listme@dsbl.org"@DOMAIN> MAIL FROM:<nobody@DOMAIN> RCPT TO:<@DOMAIN:listme@dsbl.org> MAIL FROM:<nobody@DOMAIN> RCPT TO:<dsbl.org!listme> MAIL FROM:<nobody@DOMAIN> RCPT TO:<dsbl.org!listme@DOMAIN> MAIL FROM:<DOMAIN!nobody> RCPT TO:<dsbl.org!listme> MAIL FROM:<DOMAIN!nobody> RCPT TO:<dsbl.org!listme@DOMAIN> MAIL FROM:<nobody@DOMAIN> RCPT TO:<listme@dsbl.org> MAIL FROM:<postmaster@DOMAIN> RCPT TO:<listme@dsbl.org> MAIL FROM:<administrator@DOMAIN> RCPT TO:<listme@dsbl.org> MAIL FROM:<sales@DOMAIN> RCPT TO:<listme@dsbl.org> MAIL FROM:<info@DOMAIN> RCPT TO:<listme@dsbl.org> MAIL FROM:<webmaster@DOMAIN> RCPT TO:<listme@dsbl.org> MAIL FROM:<listserv@DOMAIN> RCPT TO:<listme@dsbl.org> relaytest then tries a variety of SMTP AUTH methods to try to relay a message through the target server. The envelopes used for these tests are always: MAIL FROM:<sender@source.com> RCPT TO:<listme@dsbl.org> The SMTP AUTH methods tried are as follows: AUTH LOGIN, user=/webmaster, password=(null) AUTH LOGIN, user=admin, password=admin AUTH LOGIN, user=administrator, password=(null) AUTH LOGIN, user=test, password=test AUTH NTLM (anonymous) OPTIONS
-v Verbose mode. Details of the SMTP transaction are written to standard output. AUTHOR
Ian Gulliver <ian@penguinhosting.net> SEE ALSO
dsbl.conf(5), spamtrap(1) 2002-04-03 relaytest(1)
All times are GMT -4. The time now is 07:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy