Initial outgoing smtp setup

karlos

Renowned Member
Apr 11, 2010
52
0
71
There is nowhere in the gui to set details for an smtp outgoing server to send mail for backups etc.

It seems like its not really supported. How is this setup?
 
There is nowhere in the gui to set details for an smtp outgoing server to send mail for backups etc.

It seems like its not really supported. How is this setup?
the host has postfix installed (automatically configured during install), used for sending emails. take a look into /etc/postfix/main.cf for details.
 
cool thanks, I'm running 1.5, should I be editing this file directly or is there a need for changes elsewhere? currently syslog states

connect to myisps-wrong.server-mail.com[its ip]:25: Connection timed out
connect to myisps-wrong.server-mail.com[its ip]:25: No route to host

my isp's mail server is mail.myisp.com but the install has picked up something else...

this is the main.cf file

# See /usr/share/postfix/main.cf.dist for a commented, more complete version

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = $myhostname, localhost.$mydomain, localhost
relayhost =
mynetworks = 127.0.0.0/8
inet_interfaces = loopback-only
recipient_delimiter = +
 
I've searched and searched but can't find any instruction at all, surely this isnt that hard to do and I would think needed in most installs?