sasl gateway
Mike Garfias
mike at garfias.org
Tue Mar 7 17:55:06 MST 2006
Jim -
Sorry I haven't had a chance to reply until now.
I took a look at the master.cf and main.cf you sent me. I don't see anything
out of place there. Can you send me the transport file as well? Should be
/etc/postfix/transport.
I think the problem is in there.
Btw, what version of postfix is this? The config looks pretty old.
Jim B spoke forth with the blessed manuscript:
> Only authenticated users go out throught the gateway.
>
> What is strange is that I can see that sasl authtication is sucessful but
> instead of mail being delivered directly it is all sent to one host no matter
> what the domain, it is sent to a host that used to be there but is not any
> more; the sasl gateway used to be an email gateway. I am not sure how to
> confiugre the sasl gateway so that mail is delivered direclty.
>
>
>
> Jim
>
>
> On 3/1/06, Michael Garfias <mike at garfias.org> wrote:
>
> Can you post your main.cf?
>
> Do only authenticated users go out through the other gateway, or does
> everything go through the gateway? If the former, please also post
> master.cf
>
>
> On Mar 1, 2006, at 4:30 PM, Jim B wrote:
>
> > I have an email gateway that is running sasl and what I want to do
> > is to configure is so that once users are authticated it will allow
> > them to send email, through this gateway.
> >
> > The problem is that when are authenticated and then email is that
> > sent all the email is sent to another gateway but I want to change
> > that so that it goes directly out, but I can not determine where to
> > change that.
> >
> > My MTA is postfix
> >
> > Jim
> >
> > ---------------------------------------------------
> > PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> > To subscribe, unsubscribe, or to change you mail settings:
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> >
> > !DSPAM:11,44063038179312157974317!
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>
> !DSPAM:11,440db00b222327580015404!
> # 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
> sample_directory = /usr/share/doc/postfix/examples
> readme_directory = /usr/share/doc/postfix
> manpage_directory = /usr/share/man
> setgid_group = postdrop
>
> # appending .domain is the MUA's job.
> append_dot_mydomain = no
>
> # Define the SMTPD banner for connections
> smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
>
> # Do not use biff to notify local users (they dont exist anyway)
> biff = no
>
> # Uncomment the next line to generate delayed mail warnings
> #delay_warning_time = 4h
>
> # Basic general server settings
> myhostname = mail.send.domain.org
> alias_maps = hash:/etc/aliases
> alias_database = hash:/etc/aliases
> myorigin = /etc/mailname
> mydestination = mail.domain.org, localhost.domain.org, domain.org, , localhost,
> relayhost =
> mynetworks = 127.0.0.0/8
>
> # We are not delivering locally, but if this changes, we may want the following
> #mailbox_command = procmail -a "$EXTENSION"
> mailbox_size_limit = 0
> recipient_delimiter = +
>
> # There are no local recipients
> local_recipient_maps =
>
> # Who to get mail sent with empty address
> empty_address_recipient = MAILER-DAEMON
>
> # Overrun protection
> queue_minfree = 40000000
> message_size_limit = 20000000
> mailbox_size_limit = 100000000
>
> # We will be using a transport to send mail to Lotus Notes
> transport_maps = hash:/etc/postfix/transport
> local_transport = local
>
> # SMTP Settings
> smtpd_helo_restrictions = permit_sasl_authenticated, permit_mynetworks
> smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks
> smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_non_fqdn_recipient
> smtpd_client_restrictions = hash:/etc/postfix/access
>
> # Notification classes
> notify_classes = protocol,resource,software
>
> # Sent mail to be filtered here
> content_filter = smtp-amavis:[127.0.0.1]:10024
>
> # Install Time Configuration
> sendmail_path = /usr/sbin/sendmail
> newaliases_path = /usr/bin/newaliases
> mailq_path = /usr/bin/mailq
> setgid_group = postdrop
> manpage_directory = /usr/local/man
> sample_directory = /etc/postfix
> readme_directory = no
>
> # SMTP Authentication stuff
> ######################################
> smtp_sasl_auth_enable = yes
> smtp_sasl_password_maps = unix:passwd.byname
> smtp_sasl_security_options =
>
> smtpd_sasl_auth_enable = yes
> smtpd_sasl_application_name = smtpd
>
> # Support b0rken clients (eg Outlook)
> broken_sasl_auth_clients = yes
> ######################################
>
>
> # Uncomment for debugging on localhost
> #debug_peer_level = 5
> #debug_peer_list = 127.0.0.1
>
> #virtual_alias_maps = dbm:/etc/postfix/virtual
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
> !DSPAM:11,440db00b222327580015404!
More information about the PLUG-discuss
mailing list