[Maia-users] One more problem - non-local user

Ryan Delany ryan at rynogear.com
Tue Apr 3 13:31:23 PDT 2007


Kurt,

Check this FAQ:

http://www.maiamailguard.com/maia/wiki/TemplatePermissions

If you are using a RedHat based OS (RedHat, Fedora, CentOS) pay close
attention to the bottom section.

Ryan

> Further data - sorry if I missed this earlier:
>
> 1) This is a relay box - there are no local accounts. I've set up postfix
> with a relay_recipients hash to take care of this, with a transport table
> to
> point to the Exchange box.
>
> Your advice definitely helped. However, sending a new mail (definitely
> spammy) to my test user generates this in /var/log/messages:
>
> ----------
> Apr  3 12:43:38 mx1 httpd: maia: 2007-04-03 12:43:38 (PDT) - Notice -
> Undefined index:  add_admins at
> /usr/local/www/maia-mailguard/themes/ocean_surf/compiled/%%C4^C47^C475F806%%
> domainsettings.tpl.php line [327]
> Apr  3 12:43:55 mx1 httpd: maia: 2007-04-03 12:43:55 (PDT) - Notice -
> Undefined index:  add_admins at
> /usr/local/www/maia-mailguard/themes/ocean_surf/compiled/%%C4^C47^C475F806%%
> domainsettings.tpl.php line [327]
> ----------
>
> This is accompanied by the following in /var/log/maillog - I've snipped it
> to the things that looked relevant, as it was getting spamassassin markup:
>
> ----------
> Apr  3 12:44:30 mx1 amavis[921]: (00921-02) Maia:
> [recipient_can_be_autocreated] Recipient ntop at zetron.com can be
> auto-created
> Apr  3 12:44:30 mx1 amavis[921]: (00921-02) Maia: [autocreate_users]
> Adding
> new recipient ntop at zetron.com
> Apr  3 12:44:30 mx1 amavis[921]: (00921-02) Maia: [autocreate_users] Using
> default maia_user settings for domain @zetron.com
> Apr  3 12:44:30 mx1 amavis[921]: (00921-02) Maia: [autocreate_users] Using
> default policies for domain @zetron.com
> Apr  3 12:44:30 mx1 amavis[921]: (00921-02) TROUBLE in check_mail:
> spam-wb-list FAILED: Maia: [issue_password] Unable to open
> /var/amavisd/maia/templates/newuser.tpl
> Apr  3 12:44:30 mx1 amavis[921]: (00921-02) Maia: [disconnect]
> Disconnecting
> from SQL database
> Apr  3 12:44:30 mx1 amavis[921]: (00921-02) PRESERVING EVIDENCE in
> /var/amavisd/tmp/amavis-20070403T115033-00921
> Apr  3 12:44:30 mx1 amavis[921]: (00921-02) load: 0 %, total idle 3235.991
> s, busy 0.620 s
> Apr  3 12:44:30 mx1 postfix/smtp[1115]: C340E28F867: to=<ntop at zetron.com>,
> relay=127.0.0.1[127.0.0.1]:10024, delay=0.51, delays=0.23/0/0/0.27,
> dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0
> Error
> in processing, id=00921-02, spam-wb-list FAILED: Maia: [issue_password]
> Unable to open /var/amavisd/maia/templates/newuser.tpl (in reply to end of
> DATA command))
> ----------
>
> So, it looks like the user is autocreated, but there are further errors.
> Here's the directory listing - permissions seem fairly loose to me:
>
> mx1# ll /var/amavisd/maia/templates
> total 8
> -rw-r-xr-x  1 vscan  vscan  2428 Mar 23 18:19 digest.tpl
> -rw-r-xr-x  1 vscan  vscan   857 Mar 23 18:19 newuser.tpl
> -rw-r-xr-x  1 vscan  vscan   812 Mar 23 18:19 reminder.tpl
>
> And, Themes are owned by www:
>
> mx1# ll /usr/local/www/maia-mailguard/themes
> total 6
> drwxr-xr-x  7 www  www  512 Jan  4 22:10 desert_sand
> drwxr-xr-x  7 www  www  512 Jan  4 22:10 dgm
> drwxr-xr-x  6 www  www  512 Jan  4 22:10 ocean_surf
>
>
>
>
> Next steps?
>
> Kurt
>
>
> -----Original Message-----
> From: TJ Davis [mailto:TJDavis at sagu.edu]
> Sent: Tuesday, April 03, 2007 12:37
> To: Kurt Buff; maia-users at renaissoft.com
> Subject: RE: [Maia-users] One more problem - non-local user
>
>
> I am not an expert at this by any means but I think you may want to go to
> Admin-->Domains and add "zetron.com" as a local domain then check the
> default settings for that domain.  You might also check the settings on
> the
> "@." domain to see if spam filtering is on for it.  Someone will probably
> reply with a better response in a little bit but this may be worth
> checking
> out in the meantime.
>
> ________________________________
>
> From: maia-users-bounces at renaissoft.com on behalf of Kurt Buff
> Sent: Tue 4/3/2007 1:27 PM
> To: 'maia-users at renaissoft.com'
> Subject: [Maia-users] One more problem - non-local user
>
>
>
> I'm using blat from my workstation on a different subnet from the
> Maia-Mailguard box to send myself test messages.
>
> I've done all of the default user configurations that I can detect from
> the
> administrative/superuser web interface, but am still not getting my test
> account auto-created, and although the mail gets through, it has no
> spamassassin markup.
>
> Here's a snippet from /var/log/maillog:
>
> ----------
> Apr  3 12:05:04 mx1 amavis[923]: (00923-01) Checking: [192.168.24.x]
> <sillyboy at hotmail.com> -> <kbuff at zetron.com>
> Apr  3 12:05:04 mx1 amavis[923]: (00923-01) Maia: [read_system_config]
> User
> autocreation is ENABLED
> Apr  3 12:05:04 mx1 amavis[923]: (00923-01) Maia: [read_system_config]
> Internal authentication mechanism is ENABLED
> Apr  3 12:05:04 mx1 amavis[923]: (00923-01) Maia: [read_system_config] The
> system default user (@.) WILL apply to non-local recipients
> Apr  3 12:05:04 mx1 amavis[923]: (00923-01) Maia: [wblist_lookup] Sender:
> sillyboy at hotmail.com, Recipient: @.
> Apr  3 12:05:04 mx1 amavis[923]: (00923-01) Maia: [recipient_is_local]
> Recipient kbuff at zetron.com is non-local
> Apr  3 12:05:04 mx1 amavis[923]: (00923-01) Maia: [autocreate_users]
> Ignoring non-local recipient kbuff at zetron.com
> Apr  3 12:05:04 mx1 amavis[923]: (00923-01) Maia: [get_recipient_id]
> Recipient kbuff at zetron.com (id = 1)
> Apr  3 12:05:04 mx1 amavis[923]: (00923-01) Maia: [store_mail] Stored mail
> item 3 (3438 bytes)
> Apr  3 12:05:04 mx1 amavis[923]: (00923-01) Maia: [get_recipient_id]
> Recipient kbuff at zetron.com (id = 1)
> Apr  3 12:05:04 mx1 amavis[923]: (00923-01) Maia: [get_recipient_id]
> Recipient kbuff at zetron.com (id = 1)
> ----------
>
>
> Can anyone point me to the setting that I'm missing to finish setting up
> a)
> autocreation and b) spamassassin markup? I suspect the two are linked, but
> am floundering after having checked out the web interface pretty
> thoroughly.
>
>
> Thanks,
>
>
>
> Kurt Buff
> Lead Network Administrator
> Zetron, Inc.
> 425.820.6363 x463
> kbuff at zetron.com
> PO Box 97004
> Redmond, WA 98073
>
>
>
>
> _______________________________________________
> Maia-users mailing list
> Maia-users at renaissoft.com
> http://www.renaissoft.com/mailman/listinfo/maia-users
>
>
>
>
>
> _______________________________________________
> Maia-users mailing list
> Maia-users at renaissoft.com
> http://www.renaissoft.com/mailman/listinfo/maia-users
>




More information about the Maia-users mailing list