Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-02-2009, 08:35 AM   #1
LQ Newbie
Registered: Jun 2003
Posts: 2

Rep: Reputation: 0
Question Postfix for website sending only

I need to configure my debian etch server, which is hosted on my lan behind a firewall/router with virtual server port forwarding and a fixed IP to the web. All site request are automatically converted to SSL.
I only need my php scripts to be able to send emails from various tasks carried out on the server websites.
I have dovecot, postfix, exim4, saslauthd installed.
1. do i need all of them and if not which ones can I remove?
2. i dont want the postfix hijacked so I only want my sites to ba able to send from it. do i setup my to acheive this.

my current is a bit messy so i need to clean it up here is the output of postconf -n

BuildFITs1:~# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
content_filter = smtp-amavis:[]:10024
inet_interfaces = all
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination =, localhost, localhost.localdomain, localhost
myhostname =
mynetworks =
myorigin = /etc/mailname
receive_override_options = no_address_mappings
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/ssl/certs/postfix.pem
smtpd_tls_key_file = /etc/ssl/private/postfix.pem
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_gid_maps = static:5000
virtual_mailbox_domains = $virtual_mailbox_maps
virtual_mailbox_maps =
virtual_transport = dovecot
virtual_uid_maps = static:5000


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix sending to some not to others brianmay27 Linux - Networking 1 11-22-2007 11:54 AM
Sending Via Postfix? mpapet Linux - Networking 0 12-23-2006 04:37 PM
Can't sending email to testing website .... vbsoftware Linux - Networking 2 04-02-2006 03:50 AM
sending emails from a website monthly juanbobo Programming 5 05-03-2005 07:06 AM
Postfix Sending bonkers Linux - General 0 06-07-2003 03:37 AM

All times are GMT -5. The time now is 12:50 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration