Postfix error - trusted user

2009-07-20 Thread Carl A jeptha

Hi,
Thank you for the support over the weekend, server is working fine, but 
am still having a problem with the spam settings:

Here is the error:

Jul 20 11:39:38 mail amavis[14802]: (14802-01) (!)WARN: DSPAM problem, exit 1, 
result=
Jul 20 11:39:45 mail dspam[14849]: Option --user requires special privileges 
when user does not match current user, e.g.. root or Trusted User 
[uid=113(°¶?^A)]
Jul 20 11:39:45 mail dspam[14849]: Unable to initialize agent context

Here is my postconf -n:

* postconf -n*
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
bounce_queue_lifetime = 4h
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
delay_warning_time = 1h
disable_vrfy_command = yes
home_mailbox = Maildir/
local_recipient_maps = $alias_maps $virtual_mailbox_maps 
proxy:unix:passwd.byname
mail_spool_directory = /var/spool/mail
mailbox_command = /usr/bin/maildrop
mailbox_size_limit = 0
maximal_queue_lifetime = 1d
message_size_limit = 20971520
mydestination = $myhostname, www.$mydomain, ns1.$mydomain,  localhost, 
$mydomain, mail.$mydomain, ftp.$mydomain,$transport_maps
myhostname = mail.airnet.ca
mynetworks = mysql:/etc/postfix/mysql/mynetworks.cf
myorigin = /etc/mailname
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps  
$virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains  
$relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps  
$recipient_canonical_maps $relocated_maps $transport_maps $mynetworks  
$virtual_mailbox_limit_maps $virtual_uid_maps $virtual_gid_maps
qmgr_message_active_limit = 500
readme_directory = no
receive_override_options = no_address_mappings
recipient_delimiter = +
show_user_unknown_table_name = no
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_client_restrictions = check_client_access hash:/etc/postfix/client_access 
permit_sasl_authenticated permit_mynetworks reject_unknown_client 
warn_if_reject reject_unknown_client_hostname 
reject_unknown_reverse_client_hostname reject_rbl_client cbl.abuseat.org 
reject_rhsbl_client cbl.abuseat.org permit
smtpd_data_restrictions = reject_unauth_pipelining, permit
smtpd_etrn_restrictions = reject
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_sasl_authenticated  check_helo_access 
hash:/etc/postfix/helo_access reject_non_fqdn_hostname 
reject_unknown_reverse_client_hostname permit
smtpd_recipient_restrictions = permit_sasl_authenticated check_sender_access 
hash:/etc/postfix/sender_access reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $mydomain
smtpd_sender_restrictions = permit_sasl_authenticated  permit_mynetworks  
reject_non_fqdn_sender   permit
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
transport_maps = proxy:mysql:/etc/postfix/mysql/vdomain.cf
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql/alias.cf 
hash:/etc/mailman/aliases
virtual_gid_maps = proxy:mysql:/etc/postfix/mysql/vgid.cf
virtual_mailbox_base = /
virtual_mailbox_limit = 209715200
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql/vmailbox.cf
virtual_minimum_uid = 1
virtual_uid_maps = proxy:mysql:/etc/postfix/mysql/vuid.cf


--
You have a Good Day now,


Carl A Jeptha
http://www.airnet.ca
Office Phone: 905 349-2084
Office Hours: 9:00am - 5:00pm
skype cajeptha



Re: Postfix error - trusted user

2009-07-20 Thread Sahil Tandon
On Mon, 20 Jul 2009, Carl A jeptha wrote:

 Here is the error:

 Jul 20 11:39:38 mail amavis[14802]: (14802-01) (!)WARN: DSPAM problem, exit 
 1, result=
 Jul 20 11:39:45 mail dspam[14849]: Option --user requires special
 privileges when user does not match current user, e.g.. root or Trusted
 User [uid=113(°¶?^A)]
 Jul 20 11:39:45 mail dspam[14849]: Unable to initialize agent context

These are NOT Postfix logs.  Seek help on the appropriate forums.

-- 
Sahil Tandon sa...@tandon.net


Re: Postfix error - trusted user

2009-07-20 Thread Carl A jeptha

Sorry Mr. Tandon,
That uid belongs to amavis and I followed the Postfix setup on the 
Ubuntu network.


So a little more understanding please, as I have been thrown in the deep 
end with this problem, I do RF for a living, not setting up Postfix 
mailservers with spamassassin and clamav.


You have a Good Day now,


Carl A Jeptha
http://www.airnet.ca
Office Phone: 905 349-2084
Office Hours: 9:00am - 5:00pm
skype cajeptha



Sahil Tandon wrote:

On Mon, 20 Jul 2009, Carl A jeptha wrote:

  

Here is the error:

Jul 20 11:39:38 mail amavis[14802]: (14802-01) (!)WARN: DSPAM problem, exit 1, 
result=
Jul 20 11:39:45 mail dspam[14849]: Option --user requires special
privileges when user does not match current user, e.g.. root or Trusted
User [uid=113(°¶?^A)]
Jul 20 11:39:45 mail dspam[14849]: Unable to initialize agent context



These are NOT Postfix logs.  Seek help on the appropriate forums.

  


Re: Postfix error - trusted user

2009-07-20 Thread Patrick Ben Koetter
* Carl A jeptha wispli...@airnet.ca:
 Sorry Mr. Tandon,
 That uid belongs to amavis and I followed the Postfix setup on the  
 Ubuntu network.

 So a little more understanding please, as I have been thrown in the deep  
 end with this problem, I do RF for a living, not setting up Postfix  
 mailservers with spamassassin and clamav.

The log states amavis and dspam as originator of the messages. You will
very likely get more useful help on the apropriate lists.

p...@rick




 You have a Good Day now,


 Carl A Jeptha
 http://www.airnet.ca
 Office Phone: 905 349-2084
 Office Hours: 9:00am - 5:00pm
 skype cajeptha



 Sahil Tandon wrote:
 On Mon, 20 Jul 2009, Carl A jeptha wrote:

   
 Here is the error:

 Jul 20 11:39:38 mail amavis[14802]: (14802-01) (!)WARN: DSPAM problem, exit 
 1, result=
 Jul 20 11:39:45 mail dspam[14849]: Option --user requires special
 privileges when user does not match current user, e.g.. root or Trusted
 User [uid=113(°¶?^A)]
 Jul 20 11:39:45 mail dspam[14849]: Unable to initialize agent context
 

 These are NOT Postfix logs.  Seek help on the appropriate forums.

   

-- 
All technical answers asked privately will be automatically answered on
the list and archived for public access unless privacy is explicitely
required and justified.

saslfinger (debugging SMTP AUTH):
http://postfix.state-of-mind.de/patrick.koetter/saslfinger/