Re: postfix and squirrelmail with sasldb2

From: Alexander Dalloz (ad+lists_at_uni-x.org)
Date: 04/10/05

  • Next message: Alexander Dalloz: "Re: Netgear PS101 configuration..."
    To: Ankush Grover <ankush174@gmail.com>, For users of Fedora Core releases <fedora-list@redhat.com>
    Date: Sun, 10 Apr 2005 14:55:05 +0200
    
    
    
    

    Am So, den 10.04.2005 schrieb Ankush Grover um 13:03:

    > I want to configure postfix.I have 2 catch all mailboxes with 2 different
    > ISPs.I want to configure postfix in such a way that it should be able
    > to handle mails for
    > both the domains like nextegen.com and sunupdelhi.net.Now the problem is that
    > both the accounts require authentication with the ISP's mail server.
    >
    > I have configure postfix with smtp_sasl_auth_enable and other
    > configurations are also done for one account.But I am not too sure how
    > to handle the second account.
    >
    > Suppose there is a user john having mail account on the local mail
    > server.Whenever he
    > sends the mails to the outside world the local mailserver should
    > contact or authenticate to the ISP's mail server to send the mail
    > doing so prevents the mail accounts going into the spam list. Now the
    > problem is that how to handle the 2 accounts as both requires
    > authentication.

    Postfix hasn't this capability. Either use Sendmail or Exim.

    > I have few more queries I don't know the use of sasldb/sasldb2.I have
    > installed cyrus-sasl on my Linux pc and using sasldb2 for the
    > users.Even though some users are not part of that database but still
    > they are able to send mails to the outside world and within the
    > Lan.Can anybody tell me whether smtp_sasl_auth_enable should work
    > without entring the users in the sasldb2 database. The entry for
    > /usr/lib/sasl2/smtpd.conf is pw_check:auxprop and mech_list:plain
    > login.

    You certainly allow relaying based on LAN IP/mail addresses. You send by
    Squirrelmail? Well, that is localhost then and of course allowed to
    relay/send.

    > Second if I want to restrict a machine(any server) from which any user
    > cannot send any mail whether within the Lan or outside Lan and also
    > whether it is possible to restrict any particular user from sending
    > the mail from any machine.
    >
    > I have configure squirrelmail for Imap.The code for squirremail in
    > httpd.conf is like this
    >
    > Directory "/usr/share/squirrelmail">
    > Options Indexes MultiViews
    > AllowOverride None
    > Order allow,deny
    > Allow from all
    > </Directory>
    >
    > I can access the squirrelmail from Lan and from outside also.But I
    > want is that if somebody type
    > http://192.168.0.90/webmail for accessing squirrelmail ,the apache
    > should itself redirect the http: to https means the url should become
    > https://192.168.0.90/webmail

    Possible with something like that:

    <Location /webmail>
        RewriteEngine on
        RewriteCond %{SERVER_PORT} !=443
        RewriteCond %{SERVER_ADDR} =192.168.0.90
        RewriteRule ^.* - [F]
        ErrorDocument 403 https://192.168.0.90/webmail/
    </Location>

    See: http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html

    > Ankush

    Alexander

    -- 
    Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
    legal statement: http://www.uni-x.org/legal.html
    Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.10-1.771_FC2smp 
    Serendipity 14:47:32 up 11 days, 12:14, load average: 0.12, 0.16, 0.14 
    
    

    
    

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    


  • Next message: Alexander Dalloz: "Re: Netgear PS101 configuration..."

    Relevant Pages

    • postfix and squirrelmail with sasldb2
      ... ISPs.I want to configure postfix in such a way that it should be able ... both the accounts require authentication with the ISP's mail server. ... I can access the squirrelmail from Lan and from outside also.But I ...
      (Fedora)
    • Re: you people must be nuts-SuSE 9.3 & Postfix suck
      ... >>configure a mail server using postfix and the rest. ... we've started moving (creating the accounts), you see, we took over another ... track down the individual that suggested that we should SuSE & Postfix, ... then we went back to the financial administrator ...
      (alt.os.linux.suse)
    • Re: access internet via another LAN
      ... What device do you use the "share" the Internet connection with the LAN? ... > and one for accounts. ... > via a zenet 8 port hub - assume ip address ...
      (microsoft.public.windows.server.networking)
    • Re: Suggestions for a mail server...
      ... > clients who will connect using POP3 or IMAP. ... removing and otherwise managing accounts and ... Personally, I suggest a combination of Postfix, Courier-IMAP, MySQL, ... for the purpose of delegating account administration to other admins ...
      (RedHat)
    • Re: FTP problem with 2003?
      ... > In the Properties of the FTP site within IIS, select the Security Accounts ... > When on the LAN, you are connecting via NT authentication, which will ... >> Brad Wilson ...
      (microsoft.public.windows.server.sbs)