[oclug] postfix & Rogers
berry at acm.org
Wed Jun 23 12:46:29 EDT 2004
On Wed, 2004-06-23 at 12:08, chris h wrote:
> Got my personal mail system setup exactly how I want it.
> fetchmail gets mail from various accounts
> feeds it to cyrusIMAP with saslauthd
> antivirus and antispam agents filter the mail
> personal IMAP server is accessible via several clients locally and remotely
> and I can turn it on an off as needed without the loss of any mail.
> Webmail and groupware via OpenGroupware.org
> postfix sends mails to Rogers SMTP.
> This is where is all stops if I user localhost (or FQDN) as the mta
> designation. Postfix fails to authenticate against Rogers as I am not passing
> the credentials properly.
> Question is how do I get postfix to authenticate with Rogers using my existing
> credentials. In short I need to figure out how to configure postfix to use my
> Rogers user and paswd combo to send off the mail. This is the last step..:)
> Clues would be greatfully received.
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
You also have to add your info to /etc/postfix/sasl_passwd.
# 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
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,
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
smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://tux.oclug.on.ca/pipermail/oclug/attachments/20040623/8a29cb28/attachment.bin
More information about the OCLUG