Re: Postfix relay problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for your response :

I've put in main.cf :

smtpd_helo_required = yes
smtpd_recipient_restrictions = reject_unknown_recipient_domain reject_unauth_destination


Result of postconf -n is :

alias_database = hash:/etc/postfix/aliases.db
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
local_recipient_maps = unix:passwd.byname $alias_maps
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailbox_command = /usr/bin/procmail -a "$EXTENSION"
mailbox_size_limit = 102400000
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
message_size_limit = 102400000
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, www.$mydomain
mydomain = mydomain1.com
myhostname = mail.mydomain1.com
mynetworks = 192.168.26.0/24, 192.168.62.0/24, 127.0.0.0/8
mynetworks_style = host
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relay_domains = mydomain1.com mydomain2.com mydomain3.com
relayhost =
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_helo_required = yes
smtpd_recipient_restrictions = reject_unknown_recipient_domain reject_unauth_destination
unknown_local_recipient_reject_code = 450
virtual_alias_maps = hash:/etc/postfix/virtual



BR

Stuart Sears a écrit :
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Luc MAIGNAN wrote:
Hi all,


my mail server provides an stmp access. I thought I've configured it to
deny relay. It is true when I try basically to send a mail to another
domain. But some persons seem to bypass this policy using themself a
relay domain ::

24BDEE7918: to=<donna@xxxxxxxxxxxxxx>,
relay=smtp1.msp.securence.com[216.17.3.48]:25, delay=3.3,
delays=0.02/0.01/1.2/2.1, dsn=2.0.0, status=sent (250 OK, queued as
<20070429143657.24BDEE7918@

How can I deny these mails, and deny use of another relay ?

It would help if you told us how you have configured it at the moment.
What have you done to prevent unauthorised relaying?

output from "postconf -n" will help enormously.

Regards

Stuart
- --
Stuart Sears RHCA RHCSS PDF ODT DUI
"The PM's claims on this subject are not exactly lies, so much as
fact-free."
http://www.no2id.net/news/pressRelease/release.php?name=Blair_Fact-Free
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFGNLXkamPtx1brPQ4RAiabAJ9sk0ehnQraOPd1wp9VCm91SNezVgCeLbfO
qJ2Nj7rDSWAjyUXi41rE4eA=
=aXnM
-----END PGP SIGNATURE-----



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux