Re: configure postfix to drop e-mail

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

 



On Tue, Aug 14, 2012 at 08:51:25PM -0700, Tommy Pham wrote:
> I have a need to test network throughput for SMTP traffic on Fedora
> and I'd like to configure postfix to accept incoming e-mail from
> clients and drop them.  How can I go about that?

A postfix mailing list would be more appropriate?

In any case, look at man 5 access.

In /etc/postfix/access:
1.2.3.4	DISCARD message go bye

1.2.3.4. being the IP address of the client (see the man page for loads of
alternatives)

then:
# cd /etc/postfix
# postmap access

You might need to configure postfix to look at that access file.

Something like the following in /etc/postfix/main.cf:
  smtpd_client_restrictions =
          check_client_access hash:/etc/postfix/access,

-- 
Regards,
Olav
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux