Ok, here is a postfix one.....
Hey, here is a copy of my main.cf. You'll have to replace the relayhost with the phub for your area, and add the allowed networks into the mynetworks field. You also have to add your info to /etc/postfix/sasl_passwd. Good luck! sasl_passwd: smtp.flfrd.phub.net.cable.rogers.com Rogers_Username:Rogers_Password main.cf: # see /usr/share/postfix/main.cf.dist for a commented, fuller # version of this file. # Do not change these directory settings - they are critical to Postfix # operation. command_directory = /usr/sbin daemon_directory = /usr/lib/postfix program_directory = /usr/lib/postfix setgid_group = postdrop # appending .domain is the MUA's job. append_dot_mydomain = no smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) biff = no # Uncomment the next line to generate delayed mail warnings #delay_warning_time = 4h myhostname = erika alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = erika.megatokyo.home, erika, localhost.localdomain, localhost relayhost = smtp.flfrd.phub.net.cable.rogers.com mynetworks = 127.0.0.0/8,192.168.2.0/24 #mailbox_command = procmail -a "$EXTENSION" mailbox_command = /usr/bin/procmail -Y -a $DOMAIN mailbox_size_limit = 0 recipient_delimiter = smtp_sasl_auth_enable = yes smtp_sasl_security_options = noanonymous smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd - dbc. From: Henry Coleman [mailto:[email protected]] Sent: February-03-10 8:32 PM To: TAUG Technical Subject: [on-asterisk] Postfix with Rogers Hi all, before I lose all my hair, can anybody help me get my email up and running on an asterisk (Freepbx) system ? I removed Sendmail and replaced it with Postfix because it's easier to configure. (Email is a mystery to me). Rogers is blocking the SMTP port (25) so I can't directly SMTP using their server. Do I need to use a relay and can I use my existing email account hosted with Google? The Asterisk box uses a Dynamic domain address (i.e.mydomain.dyndns.biz) All I need to do is send email with the attached vmail files why is it so difficult to configure? -- Henry Coleman
