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

[Sheflug] Postfix setup



I'm trying to shift the office SMTP service of my NT server onto a Linux box
but I'm having a few problems.

I've started by choosing postfix as it was already installed on the SUSE 8.2
install I have.  I've gone through the help files and read the man pages and
main.cf config notes but time is running out and I 'm not progressing as
well as I would like.  Does anyone have a working main.cf file (and any
other files that may be required) that I could use as a template.  The
supplied ones seem very generic.  I can mail out direct from the Linux box
using send mail so I know its not an internet connection issue but I can't
mail from the box (or from another attached PC) using SMTP.  All it needs to
do is provide mail out via SMTP.  Clients collect email direct from the ISPs
POP3 server.
I've checked the logs  (mail.err, mail.warn, mail.info and mail) in /var/log
and there don't seem to be any errors suggesting config errors but I suppose
it doesn't highlight omissions that may be needed to get it working.
Any suggestions on how I can get an outgoing mail server working would be
greatly appreciated.

ChrisJ

the main.cf I'm using is copied below:

#soft_bounce = no
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mail_owner = postfix
#default_privs = nobody
myhostname = server1.seseaz.org.uk
mydomain = seseaz.org.uk
myorigin = seseaz.org.uk
mynetworks = 192.168.100.0/24, 127.0.0.0/8
relay_domains = $mydestination
debug_peer_level = 2
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = maildrop
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/packages/postfix/samples
readme_directory = /usr/share/doc/packages/postfix/README_FILES
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
myhostname = linux.local
program_directory = /usr/lib/postfix
inet_interfaces = 127.0.0.1
masquerade_domains = 
mydestination = $myhostname, localhost.$mydomain
defer_transports = 
disable_dns_lookups = no
relayhost = 
content_filter = 
mailbox_command = 
mailbox_transport = 
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions = 
smtpd_helo_required = no
smtpd_helo_restrictions = 
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = no
smtpd_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 51200000
message_size_limit = 10240000

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.504 / Virus Database: 302 - Release Date: 24/07/2003
 

<<attachment: winmail.dat>>