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
Open Source & Big Data: DataStax Expands Hadoop, Cassandra in Europe
Pidora: Fedora Linux for the Raspberry Pi ARMs Up (Thanks to Seneca)
24 Peachy Free Linux Games (Part 3 of 4)
Poll: Firefox Does Not Need Fewer Options
High-res batch convert EMZ / WMZ grahpics to PNG a.k.a. "liberating your graphics"
Debian Project, Community, Mourns Loss of Ray Dassen
Introducing the BeagleBone Black’s Linux 3.8 kernel
Samsung, carriers tout first Tizen mobes for late 2013
Build your own supercomputer out of Raspberry Pi boards
Pidora, Raspberry Pi’s Unfortunately Named Fedora Remix
more
Recent comments
Re: Installation successful, but I can't receive any mail...
14 hours 36 min ago
ssl
14 hours 42 min ago
No Mails could be send.... Connection refused
19 hours 40 min ago
array param function
1 day 2 hours ago
Thank you so much. 2 thumbs
1 day 3 hours ago
Great post... But...
1 day 4 hours ago
Instead of copying and
1 day 8 hours ago
 Correction: fro m_address=`
1 day 15 hours ago
tuto thanks
1 day 19 hours ago
WFM
1 day 20 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
Linear Mode
Switch to 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
14:29
.
Contact Us
-
HowtoForge - Linux Howtos and Tutorials
-
Archive
-
Top
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Recent comments
14 hours 36 min ago
14 hours 42 min ago
19 hours 40 min ago
1 day 2 hours ago
1 day 3 hours ago
1 day 4 hours ago
1 day 8 hours ago
1 day 15 hours ago
1 day 19 hours ago
1 day 20 hours ago