List Info

Thread: Illegal address syntax




Illegal address syntax
user name
2006-11-19 19:41:59
Hello,

I'm getting the following warning in mail.log:

postfix/smtpd[10300]: warning: Illegal address syntax from
localhost[127.0.0.1] in RCPT command:
postfix/smtpd[10300]: warning: localhost[127.0.0.1] sent
non-SMTP
command: From: Maia Admin <webmasterxyz.de>

It seems to be that the template "digest.tpl"
under
../amavis/maia/templates is involved in this. I don't know
why this is
generated, cause the RCPT command is conform with the RFC
rules.

With kind regards,

Benjamin Schinhammer
_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
Illegal address syntax
user name
2006-11-19 23:38:04
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Benjamin Schinhammer wrote:
> Hello,
> 
> I'm getting the following warning in mail.log:
> 
> postfix/smtpd[10300]: warning: Illegal address syntax
from
> localhost[127.0.0.1] in RCPT command:
> postfix/smtpd[10300]: warning: localhost[127.0.0.1]
sent non-SMTP
> command: From: Maia Admin <webmasterxyz.de>
> 
> It seems to be that the template "digest.tpl"
under
> ../amavis/maia/templates is involved in this. I don't
know why this is
> generated, cause the RCPT command is conform with the
RFC rules.

The "From:" header (which is part of the DATA
portion of the SMTP
exchange) is being submitted as part of the earlier RCPT TO
portion for
some reason, which is why Postfix is confused.  Perhaps the
value that
was supposed to be submitted in the RCPT TO portion (i.e.
the recipient
address) was null/blank?  What does the rest of the log
entry for that
item say?

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

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

iD8DBQFFYOrbGmqOER2NHewRAoQAAJ9isFdC0hLVoaoA/KxmblOV89kgYgCf
WjUT
UVJxwyCq+3hLbTarn13wVtA=
=cH1h
-----END PGP SIGNATURE-----
_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
Illegal address syntax
user name
2006-11-19 23:51:04
Robert LeBlanc schrieb:
> The "From:" header (which is part of the DATA
portion of the SMTP
> exchange) is being submitted as part of the earlier
RCPT TO portion
> for some reason, which is why Postfix is confused. 
Perhaps the
> value that was supposed to be submitted in the RCPT TO
portion
> (i.e. the recipient address) was null/blank?  What does
the rest of
> the log entry for that item say?
>
> -- Robert LeBlanc <rjlrenaissoft.com>
Renaissoft, Inc. Maia
> Mailguard <http://www.maiamail
guard.com/>
>
> _______________________________________________
Maia-users mailing
> list Maia-usersrenaissoft.com
> http://www.renaissoft.com/mailman/listinfo/maia-users
There are only this two lines. But your assumption that RCPT
TO is
empty seems to be correct. Cause I'm getting mails from the
several
.pl scripts which look like this.

2006-11-19 20:50:01 Maia: [send-quarantine-digests] Sending
quarantine
digest to <>

I'm assuming the assigned variable for the RCPT TO is in
both cases
empty. The latter doesnt matter, cause it's only text. The
question
is, why is this variable empty. Did I missed something
during the
installation/configuration of Maia?


_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
Illegal address syntax
user name
2006-11-20 00:13:55
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Benjamin Schinhammer wrote:

> There are only this two lines. But your assumption that
RCPT TO is
> empty seems to be correct. Cause I'm getting mails from
the several
> .pl scripts which look like this.
> 
> 2006-11-19 20:50:01 Maia: [send-quarantine-digests]
Sending quarantine
> digest to <>
> 
> I'm assuming the assigned variable for the RCPT TO is
in both cases
> empty. The latter doesnt matter, cause it's only text.
The question
> is, why is this variable empty. Did I missed something
during the
> installation/configuration of Maia?

You may wish to take a look at the 'users' table of your
database, to
see if there are entries that for some reason contain blank
or malformed
addresses.  Entries in the 'users' table should be of the
form
'userdomain', 'domain', or '.'.

If all the entries look good, check the 'maia_users' table. 
You should
see a 'primary_email_id' column for every user that points
to an 'id'
column in the 'users' table.  Make sure those linkages are
correct and
valid.

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

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

iD8DBQFFYPNDGmqOER2NHewRAv8YAKCjev92Eg92iqaWlKB4w0iKb2cZggCd
Hstb
r511v4uwGbyELaQiePVfMPg=
=VBGT
-----END PGP SIGNATURE-----
_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
Illegal address syntax
user name
2006-11-20 00:26:08
Robert LeBlanc schrieb:
>
> You may wish to take a look at the 'users' table of
your database, to
> see if there are entries that for some reason contain
blank or malformed
> addresses.  Entries in the 'users' table should be of
the form
> 'userdomain', 'domain', or '.'.
>
> If all the entries look good, check the 'maia_users'
table.  You should
> see a 'primary_email_id' column for every user that
points to an 'id'
> column in the 'users' table.  Make sure those linkages
are correct and
> valid.
>
The entries in the table 'users' are all fine, and linkages
between
these two tables all correct. Each
'maia_users.primary_email_id' points
to the right 'users.id'.
Any further recommendations?
_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
Illegal address syntax
user name
2006-11-20 01:16:30
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Benjamin Schinhammer wrote:

> The entries in the table 'users' are all fine, and
linkages between
> these two tables all correct. Each
'maia_users.primary_email_id' points
> to the right 'users.id'.
> Any further recommendations?

Try adding a couple of debugging lines to the
send-quarantine-digests.pl
script, around line 220 (right after the "my
$user_email = $1 if ..." line):

  print "DEBUG: maia_users.id = $user_id
($row3[0])n";
  print "DEBUG: users.email = $user_email
($row3[1])n";

Then run the script again and see what this reveals.

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

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

iD8DBQFFYQHuGmqOER2NHewRAtsJAJwPv53NM0pGqmqEFD8aghI6kd6/5ACf
eoiP
+m3eJJtDff8UwgtQzEUNE7c=
=2hyX
-----END PGP SIGNATURE-----
_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
Illegal address syntax
user name
2006-11-20 02:53:25
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Benjamin Schinhammer wrote:

> Any further recommendations?

One other thought comes to mind.  Are you perhaps trying to
send digests
to domain-default users (e.g. "domain") or the
system-default user
(".")?  Those pseudo-accounts don't have any
associated email
addresses, so digests cannot be sent to them.  You can only
use digests
with regular users (who have "userdomain" addresses).

This is a loophole that needs to be plugged.  We should test
explicitly
for this in send-quarantine-digests.pl, and in the
settings.php script
the digest interval option should only be displayed for
regular users.
I've opened up a new ticket (#369) for this issue.

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

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

iD8DBQFFYRilGmqOER2NHewRAoCuAJ0XVU2ETrWZqJ0HGZL3cxxZ7ygsmgCf
dA9D
NfuMxdOs7M2kAB2LVdFnCFI=
=LFP9
-----END PGP SIGNATURE-----
_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
Illegal address syntax
user name
2006-11-20 13:51:41
Robert LeBlanc schrieb:
> One other thought comes to mind.  Are you perhaps
trying to send digests
> to domain-default users (e.g. "domain") or the system-default user
> (".")?  Those pseudo-accounts don't have any
associated email
> addresses, so digests cannot be sent to them.  You can
only use digests
> with regular users (who have "userdomain" addresses).
>
> This is a loophole that needs to be plugged.  We should
test explicitly
> for this in send-quarantine-digests.pl, and in the
settings.php script
> the digest interval option should only be displayed for
regular users.
> I've opened up a new ticket (#369) for this issue.
>
> --
> Robert LeBlanc <rjlrenaissoft.com>
> Renaissoft, Inc.
> Maia Mailguard <http://www.maiamail
guard.com/>
>
> _______________________________________________
> Maia-users mailing list
> Maia-usersrenaissoft.com
> http://www.renaissoft.com/mailman/listinfo/maia-users
>
>
I added your debugging lines and startet the script
manuallay, and it
works without changing the config.
To each account the appropriate address was linked, and
finally I got
the mail. From this point on it works...?

Yes you are right, the emailaddress I want to send the
digest to, has
also an entry for all incoming mails xyz.de.
But besided this, it does work as I described above. To be
sure I
removed the xyz.de account in the meantime.
I think opening an new ticket for this problem, is a good
idea 



_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
Illegal address syntax
user name
2006-11-20 14:07:21
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Benjamin Schinhammer wrote:

> Yes you are right, the emailaddress I want to send the
digest to, has
> also an entry for all incoming mails xyz.de.

The documentation is not clear on this point, admittedly,
but digests
were not designed to be sent to "domain"-style users,
only regular
"userdomain" users.  This is not a bug, it is a
design decision.  The
bug is that the settings.php and send-quarantine-digests.pl
scripts
allow you to try to do this anyway 

Perhaps at some point in the future we may enhance the way
send-quarantine-digests.pl works, in order to make it
possible for
domain administrators to receive digests for the domains
they manage
(which is clearly what you were trying to do), but that is a
separate
feature altogether.

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

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

iD4DBQFFYbaZGmqOER2NHewRAo0EAJ4w0fRKl7ngUhjjhk47sVXkbas9sgCY
5sQV
slHgPvBCF6ZPiDsJbE5hJg==
=x4+K
-----END PGP SIGNATURE-----
_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
[1-9]

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