Register
Login
Contribute
Subscribe
RSS
News
FAQForge
ISPConfig
Subscribe
Contribute
Forums
Howtos
Navigation
Howtos
Linux
Android
CentOS
Debian
Fedora
Kernel
Mandriva
PCLinuxOS
SuSE
Ubuntu
Web Server
Apache
Cherokee
Lighttpd
nginx
Backup
Control Panels
ISPConfig
DNS
BIND
MyDNS
PowerDNS
djbdns
Desktop
Email
Anti-Spam/Virus
Postfix
FTP
High-Availability
Lighttpd
Monitoring
MySQL
Programming
C/C++
PHP
Samba
Security
Anti-Spam/Virus
Storage
Virtualization
KVM
OpenVZ
VMware
VirtualBox
Xen
Other
FreeBSD
Commercial
Mini-Howtos
Linux
Apache
Backup
DNS
Errors
FTP
MySQL
Networking
PHP
Postfix
Security
Sendmail
Shell
Other
ISPConfig
Forums
Contribute
Create Content
Subscription
Login
Site Map/RSS Feeds
Facebook
News
Google engineers discuss fragmentation, hardware, and Project Butter
Ubuntu Linux Community: Canonical to Close Brainstorm Web Portal?
Mageia 3 Arrives: All Grown Up and Ready to Go Dancing
How to use the "tee" command
24 Peachy Free Linux Games (Part 2 of 4)
Canonical's Mir for Ubuntu Linux: New Open Source Innovations?
Wikiweapons and Printing 3D Guns. It's Just a Stalking Horse for What's to Come
Nick Carr's 'IT Doesn't Matter' still matters
m23 rock 13.1 released!
Migrate from MySQL to MariaDB in FreeBSD
more
Recent comments
Nice Guide Of Lamp
1 day 22 hours ago
THANKS Falko
2 days 7 hours ago
Tested on PfSense 2.0.3, VMWare ESXi5.1 and VMWare Player 5.0.1
2 days 10 hours ago
No guarantee?
2 days 11 hours ago
Problems with SSL logins on IMAP and POP
2 days 13 hours ago
Last step
2 days 14 hours ago
remove kvm to install vmplayer
2 days 16 hours ago
Re: Re: Re: Re: Apache Configuration
2 days 17 hours ago
playsms webpage wont send
3 days 9 hours ago
Re: master details in slave my.cnf not explicitly needed
3 days 10 hours ago
Newsletter
Subscribe to HowtoForge Newsletter
and stay informed about our latest HOWTOs and projects.
(To unsubscribe from our newsletter, visit this
link
.)
English
|
Deutsch
|
Site Map/RSS Feeds
|
Advertise
HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials
>
ISPConfig 3
>
Tips/Tricks/Mods
disable sending emails
User Name
Remember Me?
Password
Register
FAQ
Members List
Social Groups
Calendar
Search
Today's Posts
Mark Forums Read
Do you like HowtoForge? Please consider supporting us by
becoming a subscriber
.
Thread Tools
Display Modes
#
1
23rd February 2010, 22:53
guanaco
Junior Member
Join Date: Feb 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
disable sending emails
I have tried to look on your forum for this with no luck. I know that there is a way to disable receiving emails with ISPConfig but would it be possible to disable sending? I want some accounts to be able to only receive emails.
Thank you for your help
guanaco
View Public Profile
Send a private message to guanaco
Find all posts by guanaco
Sponsored Links
#
2
23rd February 2010, 23:50
edge
Moderator
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,010
Thanks: 254
Thanked 134 Times in 120 Posts
One way of doing this is by adding the following to /etc/postfix/header_checks
Code:
/^From: .*@XYZ\.TLD>/ DISCARD
This will stop any email from domain xyz.tld to be send.
Make sure that you restart postfix after adding this.
__________________
Never
execute code written on a Friday or a Monday.
edge
View Public Profile
Send a private message to edge
Visit edge's homepage!
Find all posts by edge
#
3
24th February 2010, 01:18
guanaco
Junior Member
Join Date: Feb 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
the code doesnt seems to do anything.
I added the line to the header_checks file and restarted postfix but I can still send email locally and externally. Any other way to do this?
guanaco
View Public Profile
Send a private message to guanaco
Find all posts by guanaco
#
4
24th February 2010, 08:12
edge
Moderator
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,010
Thanks: 254
Thanked 134 Times in 120 Posts
Make sure that "/etc/postfix/header_checks" is included in your "/etc/postfix/main.cf" like this.
Code:
header_checks = regexp:/etc/postfix/header_checks
__________________
Never
execute code written on a Friday or a Monday.
edge
View Public Profile
Send a private message to edge
Visit edge's homepage!
Find all posts by edge
Bookmarks
Digg
del.icio.us
StumbleUpon
Google
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Switch to Linear Mode
Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Forum Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Linux Forums
HOWTO-Related Questions
Installation/Configuration
Server Operation
Desktop Operation
Kernel Questions
Programming/Scripts
Technical
Suggest HOWTO
ISPConfig 3
General
Installation/Configuration
ISPConfig 3 Priority Support
Plugins/Modules/Addons
Tips/Tricks/Mods
Feature Requests
Developers' Forum
ISPConfig 2
General
Installation/Configuration
Tips/Tricks/Mods
Feature Requests
Developers' Forum
MyDNSConfig
General
Other Forums
Smalltalk
Forum Suggestions
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Apche hangs ever few minutes after an update
rslinks
Server Operation
2
12th December 2009
18:57
Sending emails - Going to spam folders
tech_paul
Server Operation
16
31st July 2009
11:44
Sending emails with PHP
Izinyoka
General
8
9th April 2009
15:52
LB1 Not Taking Over Shared IP Using Heartbeat 2.1.3 On FC10 64Bit
asyadiqin
Installation/Configuration
5
11th February 2009
20:11
problem sending emails
dannyrowe
Server Operation
5
7th July 2008
22:51
All times are GMT +2. The time now is
07:58
.
Contact Us
-
HowtoForge - Linux Howtos and Tutorials
-
Archive
-
Top
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Recent comments
1 day 22 hours ago
2 days 7 hours ago
2 days 10 hours ago
2 days 11 hours ago
2 days 13 hours ago
2 days 14 hours ago
2 days 16 hours ago
2 days 17 hours ago
3 days 9 hours ago
3 days 10 hours ago