List Info

Thread: Maia on FreeBSD




Maia on FreeBSD
country flaguser name
Germany
2007-03-19 05:04:03
Hello,

	
I have a problem with amavisd new (Maia) with which I simply
do not get ahead.

<code>
Mar 19 00:59:31 home postfix/smtp[5577]: E0AF71D0D2:
to=<roothome.silviosiefke.de>,
orig_to=<root>, relay=127.0.0.1[127.0.0.1]:10024,
delay=3570,
delays=3568/0.04/2.3/0.1,
dsn=4.4.2, status=deferred (lost connection with
127.0.0.1[127.0.0.1] while
sending RCPT TO)
</code>

To a few searches the thought of the Perlmodules DBD came::
Mysql. In
addition, after the new installation the problem did not
put.

/usr/local/sbin/amavisd debug > http://home.s
ilviosiefke.de/postfix.txt

I do not continue to know no more

postconf -n
alias_database = hash:/etc/mail/aliases
alias_maps = hash:/etc/mail/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
content_filter = smtp-amavis:127.0.0.1:10024
daemon_directory = /usr/local/libexec/postfix
home_mailbox = maildir/
html_directory = no
mail_owner = postfix
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname, home.silviosiefke.de,
listen.hserver.info
myhostname = home.silviosiefke.de
mynetworks = 127.0.0.0/8, 192.168.0.0/24
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtp_tls_note_starttls_offer = yes
smtp_use_tls = yes
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated,  reject_non_fqdn_hostname,
reject_non_fqdn_sender,  reject_non_fqdn_recipient,
reject_unauth_destination,  reject_unauth_pipelining,
reject_invalid_hostname,  check_sender_access
hash:/usr/local/etc/postfix/spam/sender_access 
reject_rbl_client
opm.blitzed.org,  reject_rbl_client list.dsbl.org, 
reject_rbl_client
bl.spamcop.net,  reject_rbl_client sbl-xbl.spamhaus.org
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /usr/local/etc/postfix/ssl/smtpd.pem
smtpd_tls_cert_file = /usr/local/etc/postfix/ssl/smtpd.pem
smtpd_tls_key_file = /usr/local/etc/postfix/ssl/smtpd.pem
smtpd_tls_loglevel = 0
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
transport_maps = hash:/usr/local/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_maps =
proxy:mysql:/usr/local/etc/postfix/mysql/mysql_virtual_alias
_maps.cf
virtual_create_maildirsize = yes
virtual_gid_maps = static:125
virtual_mailbox_base = /usr/local/virtual
virtual_mailbox_domains =
proxy:mysql:/usr/local/etc/postfix/mysql/mysql_virtual_domai
ns_maps.cf
virtual_mailbox_limit = 51200000
virtual_mailbox_limit_maps =
proxy:mysql:/usr/local/etc/postfix/mysql/mysql_virtual_mailb
ox_limit_maps.cf
virtual_mailbox_maps =
proxy:mysql:/usr/local/etc/postfix/mysql/mysql_virtual_mailb
ox_maps.cf
virtual_minimum_uid = 125
virtual_transport = virtual
virtual_uid_maps = static:125

master.cf
smtp      inet  n       -       n       -       -      
smtpd
smtp-amavis unix -      -       n       -       4  	 smtp
  -o smtp_data_done_timeout=1200
  -o disable_dns_lookups=yes
127.0.0.1:10025 inet n  -       n       -       -  	 smtpd
  -o content_filter=
  -o local_recipient_maps=
  -o smtpd_helo_restrictions=
  -o smtpd_client_restrictions=
  -o smtpd_sender_restrictions=
  -o smtpd_recipient_restrictions=permit_mynetworks,reject
  -o mynetworks=127.0.0.0/8
pickup    fifo  n       -       n       60      1      
pickup
cleanup   unix  n       -       n       -       0      
cleanup
qmgr      fifo  n       -       n       300     1      
qmgr
tlsmgr    unix  -       -       n       1000?   1      
tlsmgr
rewrite   unix  -       -       n       -       -      
trivial-rewrite
bounce    unix  -       -       n       -       0      
bounce
defer     unix  -       -       n       -       0      
bounce
trace     unix  -       -       n       -       0      
bounce
verify    unix  -       -       n       -       1      
verify
flush     unix  n       -       n       1000?   0      
flush
proxymap  unix  -       -       n       -       -      
proxymap
smtp      unix  -       -       n       -       -      
smtp
relay     unix  -       -       n       -       -      
smtp
	-o fallback_relay=
showq     unix  n       -       n       -       -      
showq
error     unix  -       -       n       -       -      
error
discard   unix  -       -       n       -       -      
discard
local     unix  -       n       n       -       -      
local
virtual   unix  -       n       n       -       -      
virtual
lmtp      unix  -       -       n       -       -      
lmtp
anvil     unix  -       -       n       -       1      
anvil
scache	  unix	-	-	n	-	1	scache
maildrop  unix  -       n       n       -       -      
pipe
  flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d
$
old-cyrus unix  -       n       n       -       -      
pipe
  flags=R user=cyrus argv=/cyrus/bin/deliver -e -m
$ $
cyrus     unix  -       n       n       -       -      
pipe
  user=cyrus argv=/cyrus/bin/deliver -e -r $ -m
$ $
uucp      unix  -       n       n       -       -      
pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender -
$nexthop!rmail
($recipient)
ifmail    unix  -       n       n       -       -      
pipe
  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop
($recipient)
bsmtp     unix  -       n       n       -       -      
pipe
  flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender
$nexthop $recipient
vacation  unix  -       n       n       -       -      
pipe
  flags=DRhu user=vacation
argv=/var/spool/vacation/vacation.pl


Test:
home# telnet localhost 25
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.silviosiefke.de.
Escape character is '^]'.
220 home.silviosiefke.de ESMTP Postfix

home# telnet localhost 10024
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.silviosiefke.de.
Escape character is '^]'.
220 [127.0.0.1] ESMTP amavisd-maia service ready

home# telnet localhost 10025
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.silviosiefke.de.
Escape character is '^]'.
220 home.silviosiefke.de ESMTP Postfix

Thanks for help!



Kind Regards
Silvio Siefke
_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

Re: Maia on FreeBSD
country flaguser name
Canada
2007-03-28 14:07:17
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Silvio Siefke wrote:
	
> I have a problem with amavisd new (Maia) with which I
simply do not get ahead.
> 
> <code>
> Mar 19 00:59:31 home postfix/smtp[5577]: E0AF71D0D2:
> to=<roothome.silviosiefke.de>,
> orig_to=<root>, relay=127.0.0.1[127.0.0.1]:10024,
delay=3570,
> delays=3568/0.04/2.3/0.1,
> dsn=4.4.2, status=deferred (lost connection with
127.0.0.1[127.0.0.1] while
> sending RCPT TO)
> </code>

[snip]

> 127.0.0.1:10025 inet n  -       n       -       -  	
smtpd
>   -o content_filter=
>   -o local_recipient_maps=
>   -o smtpd_helo_restrictions=
>   -o smtpd_client_restrictions=
>   -o smtpd_sender_restrictions=
>   -o
smtpd_recipient_restrictions=permit_mynetworks,reject
>   -o mynetworks=127.0.0.0/8

It looks like you're performing recipient checks in your
downstream MTA
instance, which is what seems to be causing your problem. 
You should be
doing your recipient tests in the /upstream/ instance,
before
amavisd-maia.  The downstream instance (i.e. after
amavisd-maia) does
not need any smtpd_recipient_restrictions--those should have
been tested
for upstream, and only need to be tested once.

- --
Robert LeBlanc <rjlrenaissoft.com>
Renaissoft, Inc.
Maia Mailguard <http://www.maiamail
guard.com/>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGCrzlGmqOER2NHewRAkG2AJ47Muz8qnYQPuNfza7/2cm//SkSuQCg
qqCK
7feNcWlDKQbD62XXlqH5mWc=
=Z96O
-----END PGP SIGNATURE-----
_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )