Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

invalid domain (in reply to MAIL FROM command))

2,917 views
Skip to first unread message

Tomas Garijo (Click)

unread,
Jul 16, 2012, 12:04:23 PM7/16/12
to

Hi to all the first sorry for my English

I installed a postfix in linux box.

This postfix receive mail from enchange server, after when postfix is delivered mails to sender return this error
This is occur in two or four domains, the rest of domain is OK

said: 550 5.1.0 ayzv1j0290XamjW01yzvcg dominio non valido / invalid domain (in reply to MAIL FROM command))

 

postconf -n

alias_database = hash:/etc/aliases

alias_maps = hash:/etc/aliases

append_dot_mydomain = no

biff = no

config_directory = /etc/postfix

inet_interfaces = all

mailbox_size_limit = 0

mydestination = smtp1.clickonline.es, localhost.clickonline.es , localhost

myhostname = smtp1.clickonline.es

mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 213.27.204.231/32 213.27.204.244/32

myorigin = /etc/mailname

readme_directory = no

recipient_delimiter = +

relay_domains = $mydestination clickonline.es 

relayhost =

smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)

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 = hash:/etc/postfix/transport

 


Please help me.

Regards

 

 

Wietse Venema

unread,
Jul 16, 2012, 12:36:38 PM7/16/12
to
Tomas Garijo (Click):
> Hi to all the first sorry for my English
>
> I installed a postfix in linux box.
>
> This postfix receive mail from enchange server, after when postfix is delivered mails to sender return this error
> This is occur in two or four domains, the rest of domain is OK
>
> said: 550 5.1.0 ayzv1j0290XamjW01yzvcg dominio non valido / invalid domain (in reply to MAIL FROM command))
>

What is the domain that Postfix sends in the MAIL FROM command?
Postfix will log this as:

Jul 16 00:02:30 spike postfix/qmgr[20266]: (queue id here): from=<user@domain>, size=xxx, nrcpt=yyy (queue active)

Wietse

Tomas Garijo (Click)

unread,
Jul 17, 2012, 3:19:13 AM7/17/12
to
here is log for error


Jul 16 17:05:11 smtp1 postfix/smtp[1749]: 16AA02600B9: to=<elena.gu...@centocittaviaggi.it>, relay=mx.centocittaviaggi.it[62.149.128.151]:25, delay=23, delays=4/0.02/0.26/18, dsn=5.1.0, status=bounced (host mx.centocittaviaggi.it[62.149.128.151] said: 550 5.1.0 b45l1j04U0XamjW0145meh dominio non valido / invalid domain (in reply to MAIL FROM command))
Jul 16 17:05:11 smtp1 postfix/cleanup[1741]: C55942600BD: message-id=<2012071617051...@smtp1.clickonline.es>
Jul 16 17:05:11 smtp1 postfix/qmgr[1538]: C55942600BD: from=<>, size=3207, nrcpt=1 (queue active)
Jul 16 17:05:11 smtp1 postfix/bounce[1758]: 16AA02600B9: sender non-delivery notification: C55942600BD
Jul 16 17:05:11 smtp1 postfix/qmgr[1538]: 16AA02600B9: removed



Jul 16 13:13:17 smtp1 postfix/smtp[1175]: 097B42600B9: to=<chart...@futurviaggi.it>, relay=mx.futurviaggi.it[62.149.128.163]:25, delay=15, delays=0.13/0.02/0.11/15, dsn=5.1.0, status=bounced (host mx.futurviaggi.it[62.149.128.163] said: 550 5.1.0 b0Du1j02P0XamjW010Duxb dominio non valido / invalid domain (in reply to MAIL FROM command))
Jul 16 13:13:17 smtp1 postfix/cleanup[1174]: 730942600BD: message-id=<2012071613131...@cloud.clickonline.es>
Jul 16 13:13:17 smtp1 postfix/qmgr[1167]: 730942600BD: from=<>, size=4976, nrcpt=1 (queue active)
Jul 16 13:13:17 smtp1 postfix/bounce[1176]: 097B42600B9: sender non-delivery notification: 730942600BD
Jul 16 13:13:17 smtp1 postfix/qmgr[1167]: 097B42600B9: removed


and this OK


Jul 16 15:43:03 smtp1 postfix/smtpd[1257]: connect from mail.sabtours.at[85.31.12.56]
Jul 16 15:43:03 smtp1 postfix/smtpd[1257]: D36BF2600B9: client=mail.sabtours.at[85.31.12.56]
Jul 16 15:43:03 smtp1 postfix/cleanup[1260]: D36BF2600B9: message-id=<73241F0E8140084693F...@SABEXCH02.sabtours.at>
Jul 16 15:43:04 smtp1 postfix/qmgr[944]: D36BF2600B9: from=<prvs=5375344c7=j.sch...@kneissltouristik.at>, size=16174, nrcpt=1 (queue active)
Jul 16 15:43:04 smtp1 postfix/smtp[1261]: D36BF2600B9: to=<mca...@imagineclick.com>, relay=smtp0.e-surland.com[213.27.204.231]:25, delay=0.74, delays=0.31/0/0.14/0.29, dsn=2.0.0, status=sent (250 ok 1342449837 qp 2908)
Jul 16 15:43:04 smtp1 postfix/qmgr[944]: D36BF2600B9: removed


regards



-----Mensaje original-----
De: owner-pos...@postfix.org [mailto:owner-pos...@postfix.org] En nombre de Wietse Venema
Enviado el: lunes, 16 de julio de 2012 18:37
Para: Postfix users
Asunto: Re: invalid domain (in reply to MAIL FROM command))

Wietse Venema

unread,
Jul 17, 2012, 6:58:15 AM7/17/12
to
Tomas Garijo (Click):
> Jul 16 17:05:11 smtp1 postfix/smtp[1749]: 16AA02600B9:

You did not read my reply. I did not ask for this information.

Wietse

Tomas Garijo (Click)

unread,
Jul 17, 2012, 7:04:47 AM7/17/12
to
Sorry Wietse and thank you

the domain are ...
clickonline.es and imagineclick.com


but the log says


Jul 16 13:01:28 smtp1 postfix/qmgr[936]: AC7442600BD: from=<>, size=4982, nrcpt=1 (queue active)



-----Mensaje original-----
De: owner-pos...@postfix.org [mailto:owner-pos...@postfix.org] En nombre de Wietse Venema
Enviado el: martes, 17 de julio de 2012 12:58
Para: Postfix users
Asunto: Re: invalid domain (in reply to MAIL FROM command))

Wietse Venema

unread,
Jul 17, 2012, 8:23:02 AM7/17/12
to
Tomas Garijo (Click):
> Jul 16 13:01:28 smtp1 postfix/qmgr[936]: AC7442600BD: from=<>, size=4982, nrcpt=1 (queue active)

If the remote mail server rejects mail from <>, then it does not
fully implement the SMTP protocol.

Meanwhile, you need to find out why YOUR machine is sending such
mail. Perhaps you are accepting mail for users that don't exist?
Don't do that. Your system will be blacklisted.

Wietse

Tomas Garijo (Click)

unread,
Jul 17, 2012, 10:40:34 AM7/17/12
to
Ok thank you,

for other domains outside , my smtp server sends "from=<tga...@clickonline.es>" does send <> but for domain futturviaggi.it yes

what happens?

see log


FAIL

Jul 17 15:32:34 smtp1 postfix/smtpd[8375]: connect from csvrmail2.clickonline.local[213.27.204.244]
Jul 17 15:32:35 smtp1 postfix/smtpd[8375]: 6C9672600EC: client=csvrmail2.clickonline.local[213.27.204.244]
Jul 17 15:32:35 smtp1 postfix/cleanup[8377]: 6C9672600EC: message-id=<BB8992133D51074DB1C63044F31263681B8788E8B6@csvrmail2>
Jul 17 15:32:35 smtp1 postfix/qmgr[8356]: 6C9672600EC: from=<tga...@clickonline.es>, size=2942, nrcpt=1 (queue active)
Jul 17 15:32:35 smtp1 postfix/smtpd[8375]: disconnect from csvrmail2.clickonline.local[213.27.204.244]
Jul 17 15:32:53 smtp1 postfix/smtp[8393]: 6C9672600EC: to=<chart...@futurviaggi.it>, relay=mx.futurviaggi.it[62.149.128.160]:25, delay=18, delays=0.15/0.02/0.16/18, dsn=5.1.0, status=bounced (host mx.futurviaggi.it[62.149.128.160] said: 550 5.1.0 bSZT1j03H0XamjW01SZTwR dominio non valido / invalid domain (in reply to MAIL FROM command))
Jul 17 15:32:54 smtp1 postfix/cleanup[8377]: 0769B260100: message-id=<2012071715325...@smtp1.clickonline.es>
Jul 17 15:32:54 smtp1 postfix/qmgr[8356]: 0769B260100: from=<>, size=4993, nrcpt=1 (queue active)
Jul 17 15:32:54 smtp1 postfix/bounce[8394]: 6C9672600EC: sender non-delivery notification: 0769B260100
Jul 17 15:32:54 smtp1 postfix/qmgr[8356]: 6C9672600EC: removed


OK
Jul 17 15:33:47 smtp1 postfix/smtpd[8375]: connect from csvrmail2.clickonline.local[213.27.204.244]
Jul 17 15:33:47 smtp1 postfix/smtpd[8375]: ED4D72600EC: client=csvrmail2.clickonline.local[213.27.204.244]
Jul 17 15:33:48 smtp1 postfix/cleanup[8377]: ED4D72600EC: message-id=<BB8992133D51074DB1C63044F31263681B8788E8B8@csvrmail2>
Jul 17 15:33:48 smtp1 postfix/qmgr[8356]: ED4D72600EC: from=<tga...@clickonline.es>, size=2930, nrcpt=1 (queue active)
Jul 17 15:33:48 smtp1 postfix/smtpd[8375]: disconnect from csvrmail2.clickonline.local[213.27.204.244]
Jul 17 15:33:48 smtp1 postfix/smtp[8393]: ED4D72600EC: to=<spec...@informaticabrunete.es>, relay=informaticabrunete.es[91.199.120.12]:25, delay=0.67, delays=0.17/0/0.12/0.38, dsn=2.0.0, status=sent (250 OK id=1Sr8rJ-0001Be-2Q)
Jul 17 15:33:48 smtp1 postfix/qmgr[8356]: ED4D72600EC: removed


My configurations

csvrmail2.clickonline.local (define in /etc/hosts) it's exchange server with connector to smtp1.clickonline.es

postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
inet_interfaces = all
local_transport = error:local mail delivery is disabled
mailbox_size_limit = 0
mydestination = $myhostname, localhost.$mydomain, $mydomain
mydomain = localhost
myhostname = smtp1.clickonline.es
mynetworks = 127.0.0.0/8 csvrmail2.clickonline.local
myorigin = $mydomain
readme_directory = no
recipient_delimiter = +
relay_domains = $mydestination clickonline.es e-surland.com imagineclick.com surland.com insurtravel.com liutravel.es
relay_recipient_maps = hash:/etc/postfix/relay_recipients
relayhost =
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
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 = hash:/etc/postfix/transport



more /etc/postfix/relay_recipients
@e-surland.com OK
@clickonline.es OK
@liutravel.es OK
@imagineclick.com OK

more /etc/postfix/transport
e-surland.com relay:[smtp0.e-surland.com]
clickonline.es relay:[smtp0.e-surland.com]
imagineclick.com relay:[smtp0.e-surland.com]
liutravel.es relay:[smtp0.e-surland.com]
surland.com.com relay:[smtp0.e-surland.com]
insurtravel.com relay:[smtp0.e-surland.com]






-----Mensaje original-----
De: owner-pos...@postfix.org [mailto:owner-pos...@postfix.org] En nombre de Wietse Venema
Enviado el: martes, 17 de julio de 2012 14:23
Para: Postfix users
Asunto: Re: invalid domain (in reply to MAIL FROM command))

Wietse Venema

unread,
Jul 17, 2012, 10:48:20 AM7/17/12
to
Tomas Garijo (Click):
> Ok thank you,
>
> for other domains outside , my smtp server sends "from=<tga...@clickonline.es>" does send <> but for domain futturviaggi.it yes
>
> what happens?

RFC 5321 Section 6.1, "Reliable Delivery and Replies by Email"
says this:

If there is a delivery failure after acceptance of a message,
the receiver-SMTP MUST formulate and mail a notification message.
This notification MUST be sent using a null ("<>") reverse-path
in the envelope. The recipient of this notification MUST be
the address from the envelope return path (or the Return-Path:
line). However, if this address is null ("<>"), the receiver-SMTP
MUST NOT send a notification.

You need to find out why YOUR MACHINE could not deliver some email
messages.

Also, you need to tell the remote mail server that they don't
correctly implement SMTP, by rejecting mail from <>.

Wietse

Tomas Garijo (Click)

unread,
Jul 17, 2012, 11:05:53 AM7/17/12
to
Ok Wietse but the remote server (futurviaggi.it) is a server hosting in aruba.it, I can not contact with them. I have a problem because this server outside my country...

you think of anything else I can do, Do you see my configuration? It's ok

Regards and Thank You very much




-----Mensaje original-----
De: owner-pos...@postfix.org [mailto:owner-pos...@postfix.org] En nombre de Wietse Venema
Enviado el: martes, 17 de julio de 2012 16:48
Para: Postfix users
Asunto: Re: invalid domain (in reply to MAIL FROM command))

Reindl Harald

unread,
Jul 17, 2012, 11:11:36 AM7/17/12
to
and that is why postmaster-address is mandatory by RFC
--

Reindl Harald
the lounge interactive design GmbH
A-1060 Vienna, Hofmühlgasse 17
CTO / CISO / Software-Development
p: +43 (1) 595 3999 33, m: +43 (676) 40 221 40
icq: 154546673, http://www.thelounge.net/

http://www.thelounge.net/signature.asc.what.htm



signature.asc

Tomas Garijo (Click)

unread,
Jul 17, 2012, 12:32:30 PM7/17/12
to
I write to postm...@futturviaggi.it and he has full mailbox...

I will like to know if the problems is mine

what do you think?



-----Mensaje original-----
De: owner-pos...@postfix.org [mailto:owner-pos...@postfix.org] En nombre de Reindl Harald
Enviado el: martes, 17 de julio de 2012 17:12
Para: postfi...@postfix.org

Reindl Harald

unread,
Jul 17, 2012, 6:21:04 PM7/17/12
to


Am 17.07.2012 18:32, schrieb Tomas Garijo (Click):
> I write to postm...@futturviaggi.it and he has full mailbox...

that you are not the only one having problems with them

> I will like to know if the problems is mine
> what do you think?

block this domain completly and let only mails to your postmaster pass
REJECT them, if some foolish idiot does not maintain
his server he must accept this and i do this regulary
if it is not an important/big domain without any complaints
signature.asc
0 new messages