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

Recipient address rejected: User unknown in virtual mailbox table

256 views
Skip to first unread message

SSE

unread,
Aug 24, 2007, 7:16:20 AM8/24/07
to
Hi guys,
I recently configured a postfix mail server with mysql backend,amavis
and spamassassin with three domains.Everything works fine except
that,mails for two of the virtual domains is not accepted by
postfix.It reports that the users do not exist in the virtual table,
yet they are in the users table of mysql,alongside the users of the
only virtual domain for whom mails are recieved. Funny thing is, When
a user from one of the virtual domains on the same server sends
mail,it gets delivered.
Below is the bounced message that is sent,


<linu...@example.com>:
207.44.176.108 does not like recipient.
Remote host said: 550 <linu...@example.com>: Recipient address
rejected: User unknown in virtual mailbox table
Giving up on 207.44.176.108.

and here are my main.cf configs

readme_directory = no
myhostname = server.example.com
mydomain = example.com
mynetworks = 127.0.0.0/8, x.x.x.x/24, x.x.x.x/24, x.x.x.x/24
mydestination = $myhostname, localhost.$mydomain
virtual_alias_domains = $virtual_alias_maps
transport_maps = mysql:/etc/postfix/mysql-virtual_transports.cf
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_forwardings.cf,
mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /home/vmail
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_limit = 512000000
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_transport = virtual
virtual_uid_maps = static:5000
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps =
mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = "The user you are trying to reach is
over quota"
virtual_overquota_bounce = yes
alias_maps = hash:/etc/aliases
#
#
strict_rfc821_envelopes = yes
disable_vrfy_command = yes
smtpd_helo_required = yes
smtpd_client_restrictions =
smtpd_helo_restrictions =
smtpd_sender_restrictions =
smtpd_recipient_restrictions = permit_mynetworks,
reject_unauth_destination,
reject_unknown_recipient_domain,
reject_unauth_pipelining,
reject_non_fqdn_recipient,
reject_invalid_hostname,
reject_unauth_pipelining,
reject_non_fqdn_sender,
reject_unknown_sender_domain,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
reject_rbl_client bl.spamcop.net,
reject_rbl_client sbl.spamhaus.org,
reject_rbl_client cbl.abuseat.org,
reject_rbl_client list.dsbl.org
reject_rbl_client blackholes.easynet.nl,
reject_rbl_client proxies.blackholes.wirehub.net,
reject_rbl_client opm.blitzed.org,
reject_rbl_client dnsbl.njabl.org,
reject_rbl_client multihop.dsbl.org,
check_policy_service inet:127.0.0.1:10023,
permit
content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings

And here is what I added to my master.cf,in addition to the normal config

amavis unix - - n - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes

127.0.0.1:10025 inet n - n - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
-o smtpd_bind_address=127.0.0.1

CAN ANYONE HELP?


mouss

unread,
Aug 24, 2007, 7:24:07 AM8/24/07
to
SSE wrote:
> Hi guys,
> I recently configured a postfix mail server with mysql backend,amavis
> and spamassassin with three domains.Everything works fine except
> that,mails for two of the virtual domains is not accepted by postfix.It
> reports that the users do not exist in the virtual table, yet they are
> in the users table of mysql,alongside the users of the only virtual
> domain for whom mails are recieved. Funny thing is, When a user from one
> of the virtual domains on the same server sends mail,it gets delivered.
> Below is the bounced message that is sent,
>
>
> <linu...@example.com>:
> 207.44.176.108 does not like recipient.
> Remote host said: 550 <linu...@example.com>: Recipient address
> rejected: User unknown in virtual mailbox table
> Giving up on 207.44.176.108.
>
> and here are my main.cf configs

main.cf doesn't count. 'postconf -n' does...

anyway, try
# postmap -q linu...@example.com \
mysql:/etc/postfix/mysql-virtual_mailboxes.cf

SSE

unread,
Aug 24, 2007, 9:01:52 AM8/24/07
to
I've done that and here is my output:

# postmap -q linu...@example.com
mysql:/etc/postfix/mysql-virtual_mailboxes.cf
example.com/linuxsols/

what next?

--
Samme-Nlar M. Tomslin
Senior Solutions Engineer
Linux Solutions Ltd
www.linuxsolutions.co.ug
Tel:(256)312278767
cell:(256)712-703941


mouss

unread,
Aug 24, 2007, 9:42:20 AM8/24/07
to
SSE wrote:
> I've done that and here is my output:
> # postmap -q linu...@example.com
> mysql:/etc/postfix/mysql-virtual_mailboxes.cf
> example.com/linuxsols/

did you run this on 207.44.176.108? This is the host that complains.
>
> what next?

see the logs of 207.44.176.108. show it's 'postconf -n' as well.

[snip]


>>> <linu...@example.com>:
>>> 207.44.176.108 does not like recipient.
>>> Remote host said: 550 <linu...@example.com>: Recipient address
>>> rejected: User unknown in virtual mailbox table
>>> Giving up on 207.44.176.108.

[snip]

SSE

unread,
Aug 24, 2007, 11:34:02 AM8/24/07
to

>
> did you run this on 207.44.176.108? This is the host that complains.

YES

>
> see the logs of 207.44.176.108. show it's 'postconf -n' as well.
>

HERE ARE THE CONFIGS

alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix


content_filter = amavis:[127.0.0.1]:10024

daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
disable_vrfy_command = yes
html_directory = no
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname, localhost.$mydomain
mydomain = example.com
myhostname = server.example.com
mynetworks = 127.0.0.0/8, 192.168.0.0/24, 192.168.2.0/24, 207.44.176.0/24
newaliases_path = /usr/bin/newaliases
receive_override_options = no_address_mappings
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_client_restrictions =
smtpd_helo_required = yes
smtpd_helo_restrictions =


smtpd_recipient_restrictions = permit_mynetworks,
reject_unauth_destination, reject_unknown_recipient_domain,
reject_unauth_pipelining, reject_non_fqdn_recipient,
reject_invalid_hostname, reject_unauth_pipelining,
reject_non_fqdn_sender, reject_unknown_sender_domain,
reject_non_fqdn_recipient, reject_unknown_recipient_domain,
reject_rbl_client bl.spamcop.net, reject_rbl_client sbl.spamhaus.org,
reject_rbl_client cbl.abuseat.org, reject_rbl_client list.dsbl.org
reject_rbl_client blackholes.easynet.nl, reject_rbl_client
proxies.blackholes.wirehub.net, reject_rbl_client opm.blitzed.org,
reject_rbl_client dnsbl.njabl.org, reject_rbl_client
multihop.dsbl.org, check_policy_service inet:127.0.0.1:10023, permit

smtpd_sender_restrictions =
strict_rfc821_envelopes = yes
transport_maps = mysql:/etc/postfix/mysql-virtual_transports.cf
unknown_local_recipient_reject_code = 550
virtual_alias_domains = $virtual_alias_maps


virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_forwardings.cf,
mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /home/vmail
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_limit = 512000000
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_transport = virtual
virtual_uid_maps = static:5000

HERE ARE THE LOGS

Aug 24 17:48:17 mail amavis[6464]: (06464-03) FWD via SMTP:
[127.0.0.1]:10025
<msgr.nvzwo4q-azuba=dwd....@returns.bulk.yahoo.com> ->
<az...@example.com>
Aug 24 17:48:17 mail postfix/smtpd[6736]: connect from localhost[127.0.0.1]
Aug 24 17:48:17 mail postfix/smtpd[6736]: B669B58F61:
client=localhost[127.0.0.1]
Aug 24 17:48:17 mail postfix/cleanup[6727]: B669B58F61:
message-id=<200708241448...@server.example.com>
Aug 24 17:48:17 mail postfix/qmgr[28721]: B669B58F61:
from=<msgr.nvzwo4q-azuba=examp...@returns.bulk.yahoo.com>,
size=9223, nrcpt=1 (queue active)
Aug 24 17:48:17 mail postfix/smtpd[6736]: disconnect from localhost[127.0.0.1]
Aug 24 17:48:17 mail amavis[6464]: (06464-03) Passed,
<msgr.nvzwo4q-azuba=examp...@returns.bulk.yahoo.com> ->
<az...@example.com>, Message-ID:
<200708241448...@server.example.com>, Hits: 0.001
Aug 24 17:48:17 mail amavis[6464]: (06464-03) TIMING [total 1511 ms] -
SMTP EHLO: 1 (0%), SMTP pre-MAIL: 0 (0%), SMTP pre-DATA-flush: 1 (0%),
SMTP DATA: 80 (5%), body hash: 0 (0%), lookup_sql: 1 (0%),
mime_decode: 12 (1%), get-file-type: 15 (1%), get-file-type: 10 (1%),
decompose_part: 2 (0%), decompose_part: 0 (0%), parts: 0 (0%),
AV-scan-1: 1073 (71%), SA msg read: 3 (0%), SA parse: 4 (0%), SA
check: 186 (12%), fwd-connect: 5 (0%), fw


mouss

unread,
Aug 24, 2007, 12:19:22 PM8/24/07
to


I see no rejection in these logs. you need to grep to find the user
address that was rejected.

>

SSE

unread,
Aug 25, 2007, 2:52:50 AM8/25/07
to
If you look at this logs,I had sent mail to both dwd.co.ug and
dwd.go.ug domains from my yahoo account.The server only logged for the
dwd.co.ug, though it sends a reject with code 550 to my yahoo inbox

Aug 25 08:32:02 mail postfix/smtpd[18304]: disconnect from
unknown[221.209.47.154]
Aug 25 08:32:03 mail postfix/smtpd[19074]: connect from
web50305.mail.re2.yahoo.com[206.190.38.59]
Aug 25 08:32:23 mail postfix/smtpd[19092]: connect from
mx2.utlonline.co.ug[81.199.21.116]
Aug 25 08:32:23 mail postfix/smtpd[18304]: connect from
netserva.lfucg.com[199.165.138.12]
Aug 25 08:32:28 mail postfix/smtpd[18304]: NOQUEUE: reject: RCPT from
netserva.lfucg.com[199.165.138.12]: 554 5.7.1 Service unavailable;
Client host [199.165.138.12] blocked using bl.spamcop.net; Blocked -
see http://www.spamcop.net/bl.shtml?199.165.138.12;
from=<con...@slriv.com> to=<social-s...@dwd.co.ug> proto=SMTP
helo=<netserva.lfucg.com>
Aug 25 08:32:29 mail postfix/smtpd[18304]: disconnect from
netserva.lfucg.com[199.165.138.12]
Aug 25 08:32:31 mail postfix/smtpd[19074]: warning:
59.38.190.206.opm.blitzed.org: RBL lookup error: Host or domain name
not found. Name service error for name=59.38.190.206.opm.blitzed.org
type=A: Host not found, try again
Aug 25 08:32:36 mail postfix/smtpd[19074]: A5A37592C5:
client=web50305.mail.re2.yahoo.com[206.190.38.59]
Aug 25 08:32:38 mail postfix/cleanup[19101]: A5A37592C5:
message-id=<241063....@web50305.mail.re2.yahoo.com>
Aug 25 08:32:38 mail postfix/qmgr[28721]: A5A37592C5:
from=<tomslee...@yahoo.com>, size=3107, nrcpt=1 (queue active)
Aug 25 08:32:38 mail amavis[17002]: (17002-06) ESMTP::10024
/var/spool/amavis/amavis-20070825T074946-17002:
<tomslee...@yahoo.com> -> <byaru...@dwd.co.ug> Received:
SIZE=3107 BODY=8BITMIME from mail.dwd.co.ug ([127.0.0.1]) by localhost
(mail [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17002-06
for <byaru...@dwd.co.ug>; Sat, 25 Aug 2007 08:32:38 +0300 (EAT)
Aug 25 08:32:38 mail amavis[17002]: (17002-06) Checking:
<tomslee...@yahoo.com> -> <byaru...@dwd.co.ug>
Aug 25 08:32:39 mail postfix/smtpd[19074]: disconnect from
web50305.mail.re2.yahoo.com[206.190.38.59]
Aug 25 08:32:39 mail amavis[17002]: (17002-06) spam_scan: hits=0.001
tests=HTML_MESSAGE
Aug 25 08:32:39 mail amavis[17002]: (17002-06) FWD via SMTP:
[127.0.0.1]:10025 <tomslee...@yahoo.com> -> <byaru...@dwd.co.ug>
Aug 25 08:32:39 mail postfix/smtpd[19109]: connect from localhost[127.0.0.1]
Aug 25 08:32:39 mail postfix/smtpd[19109]: ED9225AF48:
client=localhost[127.0.0.1]
Aug 25 08:32:40 mail postfix/cleanup[19101]: ED9225AF48:
message-id=<241063....@web50305.mail.re2.yahoo.com>
Aug 25 08:32:40 mail postfix/qmgr[28721]: ED9225AF48:
from=<tomslee...@yahoo.com>, size=3522, nrcpt=1 (queue active)
Aug 25 08:32:40 mail postfix/smtpd[19109]: disconnect from
localhost[127.0.0.1]
Aug 25 08:32:40 mail amavis[17002]: (17002-06) Passed,
<tomslee...@yahoo.com> -> <byaru...@dwd.co.ug>, Message-ID:
<241063....@web50305.mail.re2.yahoo.com>, Hits: 0.001
Aug 25 08:32:40 mail amavis[17002]: (17002-06) TIMING [total 1386 ms]

- SMTP EHLO: 1 (0%), SMTP pre-MAIL: 0 (0%), SMTP pre-DATA-flush: 1

(0%), SMTP DATA: 40 (3%), body hash: 0 (0%), lookup_sql: 1 (0%),
mime_decode: 11 (1%), get-file-type: 15 (1%), get-file-type: 11 (1%),

decompose_part: 2 (0%), decompose_part: 0 (0%), parts: 0 (0%),

AV-scan-1: 1114 (80%), SA msg read: 2 (0%), SA parse: 3 (0%), SA
check: 70 (5%), fwd-connect: 11 (1%), fwd-mail-from: 1 (0%),
fwd-rcpt-to: 2 (0%), write-header: 2 (0%), fwd-data: 0 (0%),
fwd-data-end: 93 (7%), fwd-rundown: 0 (0%), unlink-2-files: 3 (0%),
rundown: 0 (0%)
Aug 25 08:32:40 mail postfix/smtp[19105]: A5A37592C5:
to=<byaru...@dwd.co.ug>, relay=127.0.0.1[127.0.0.1]:10024, delay=36,
delays=34/0.01/0/1.4, dsn=2.6.0, status=sent (250 2.6.0 Ok,
id=17002-06, from MTA: 250 2.0.0 Ok: queued as ED9225AF48)
Aug 25 08:32:40 mail postfix/qmgr[28721]: A5A37592C5: removed
Aug 25 08:32:40 mail postfix/virtual[19112]: ED9225AF48:
to=<byaru...@dwd.co.ug>, relay=virtual, delay=0.16,
delays=0.1/0.01/0/0.06, dsn=2.0.0, status=sent (delivered to maildir)
Aug 25 08:32:40 mail postfix/qmgr[28721]: ED9225AF48: removed
Aug 25 08:32:45 mail postfix/smtpd[19092]: warning:
116.21.199.81.opm.blitzed.org: RBL lookup error: Host or domain name
not found. Name service error for name=116.21.199.81.opm.blitzed.org
type=A: Host not found, try again
Aug 25 08:32:46 mail postfix/smtpd[19092]: NOQUEUE: reject: RCPT from
mx2.utlonline.co.ug[81.199.21.116]: 550 5.1.1 <ct...@dwd.co.ug>:
Recipient address rejected: User unknown in virtual mailbox table;
from=<nbyj...@kyit.net> to=<ct...@dwd.co.ug> proto=ESMTP
helo=<mx.utlonline.co.ug>
Aug 25 08:32:46 mail dovecot: auth-worker(default): mysql: Connected
to localhost (mail)
Aug 25 08:32:46 mail dovecot: imap-login: Login:
user=<twinomuj...@dwd.co.ug>, method=PLAIN, rip=127.0.0.1,
lip=127.0.0.1, secured
Aug 25 08:32:46 mail dovecot: IMAP(twinomuj...@dwd.co.ug):
Effective uid=5000, gid=5000
Aug 25 08:32:46 mail dovecot: IMAP(twinomuj...@dwd.co.ug):
maildir: data=/home/vmail/dwd.co.ug/twinomujuni.wrmd
Aug 25 08:32:46 mail dovecot: IMAP(twinomuj...@dwd.co.ug):
maildir: root=/home/vmail/dwd.co.ug/twinomujuni.wrmd,
index=/home/vmail/dwd.co.ug/twinomujuni.wrmd, control=, inbox=
Aug 25 08:32:46 mail dovecot: IMAP(twinomuj...@dwd.co.ug):
Disconnected: Logged out
Aug 25 08:32:46 mail dovecot: imap-login: Login:
user=<twinomuj...@dwd.co.ug>, method=PLAIN, rip=127.0.0.1,
lip=127.0.0.1, secured
Aug 25 08:32:46 mail dovecot: IMAP(twinomuj...@dwd.co.ug):
Effective uid=5000, gid=5000
Aug 25 08:32:46 mail dovecot: IMAP(twinomuj...@dwd.co.ug):
maildir: data=/home/vmail/dwd.co.ug/twinomujuni.wrmd
Aug 25 08:32:46 mail dovecot: IMAP(twinomuj...@dwd.co.ug):
maildir: root=/home/vmail/dwd.co.ug/twinomujuni.wrmd,
index=/home/vmail/dwd.co.ug/twinomujuni.wrmd, control=, inbox=
Aug 25 08:32:46 mail dovecot: IMAP(twinomuj...@dwd.co.ug):
Disconnected: Logged out
Aug 25 08:32:47 mail dovecot: imap-login: Login:
user=<twinomuj...@dwd.co.ug>, method=PLAIN, rip=127.0.0.1,
lip=127.0.0.1, secured
Aug 25 08:32:47 mail dovecot: IMAP(twinomuj...@dwd.co.ug):
Effective uid=5000, gid=5000
Aug 25 08:32:47 mail dovecot: IMAP(twinomuj...@dwd.co.ug):
maildir: data=/home/vmail/dwd.co.ug/twinomujuni.wrmd
Aug 25 08:32:47 mail dovecot: IMAP(twinomuj...@dwd.co.ug):
maildir: root=/home/vmail/dwd.co.ug/twinomujuni.wrmd,
index=/home/vmail/dwd.co.ug/twinomujuni.wrmd, control=, inbox=
Aug 25 08:32:47 mail dovecot: IMAP(twinomuj...@dwd.co.ug):
Disconnected: Logged out
Aug 25 08:32:48 mail postfix/smtpd[18304]: warning: 88.242.31.19:
hostname dsl88.242-7955.ttnet.net.tr verification failed: Name or
service not known
Aug 25 08:32:48 mail postfix/smtpd[18304]: connect from unknown[88.242.31.19]
Aug 25 08:32:55 mail postfix/smtpd[18304]: NOQUEUE: reject: RCPT from
unknown[88.242.31.19]: 554 5.7.1 Service unavailable; Client host
[88.242.31.19] blocked using bl.spamcop.net; Blocked - see
http://www.spamcop.net/bl.shtml?88.242.31.19;
from=<kxrxvv...@bramptonaudiology.com> to=<mukway...@dwd.co.ug>
proto=ESMTP helo=<dsl88.242-7955.ttnet.net.tr>
Aug 25 08:32:55 mail postfix/smtpd[19092]: disconnect from
mx2.utlonline.co.ug[81.199.21.116]
Aug 25 08:32:56 mail postfix/smtpd[18304]: lost connection after DATA
from unknown[88.242.31.19]
Aug 25 08:32:56 mail postfix/smtpd[18304]: disconnect from
unknown[88.242.31.19]

--------------------------------------------------------------------------------
The log below now shows mail sent from dwd.co.ug to dwd.go.ug

Aug 25 08:51:19 mail postfix/smtpd[19074]: connect from localhost[127.0.0.1]
Aug 25 08:51:19 mail postfix/smtpd[19074]: 5A6235B863:
client=localhost[127.0.0.1]
Aug 25 08:51:19 mail postfix/cleanup[20122]: 5A6235B863:
message-id=<59090.81.199.17.19....@mail.dwd.co.ug>
Aug 25 08:51:19 mail postfix/qmgr[28721]: 5A6235B863:
from=<linu...@dwd.co.ug>, size=732, nrcpt=1 (queue active)
Aug 25 08:51:19 mail postfix/smtpd[19074]: disconnect from
localhost[127.0.0.1]
Aug 25 08:51:19 mail dovecot: imap-login: Login:
user=<linu...@dwd.co.ug>, method=PLAIN, rip=127.0.0.1,
lip=127.0.0.1, secured
Aug 25 08:51:19 mail amavis[18694]: (18694-05) ESMTP::10024
/var/spool/amavis/amavis-20070825T083411-18694: <linu...@dwd.co.ug>
-> <l...@dwd.go.ug> Received: SIZE=732 BODY=8BITMIME from mail.dwd.co.ug
([127.0.0.1]) by localhost (mail [127.0.0.1]) (amavisd-new, port
10024) with ESMTP id 18694-05 for <l...@dwd.go.ug>; Sat, 25 Aug 2007
08:51:19 +0300 (EAT)
Aug 25 08:51:19 mail dovecot: IMAP(linu...@dwd.co.ug): Effective
uid=5000, gid=5000
Aug 25 08:51:19 mail dovecot: IMAP(linu...@dwd.co.ug): maildir:
data=/home/vmail/dwd.co.ug/linuxsols
Aug 25 08:51:19 mail dovecot: IMAP(linu...@dwd.co.ug): maildir:
root=/home/vmail/dwd.co.ug/linuxsols,
index=/home/vmail/dwd.co.ug/linuxsols, control=, inbox=
Aug 25 08:51:19 mail amavis[18694]: (18694-05) Checking:
<linu...@dwd.co.ug> -> <l...@dwd.go.ug>
Aug 25 08:51:19 mail amavis[18694]: (18694-05) WARN: all primary virus
scanners failed, considering backups
Aug 25 08:51:20 mail dovecot: IMAP(linu...@dwd.co.ug): Disconnected:
Logged out
Aug 25 08:51:20 mail dovecot: imap-login: Login:
user=<linu...@dwd.co.ug>, method=PLAIN, rip=127.0.0.1,
lip=127.0.0.1, secured
Aug 25 08:51:20 mail dovecot: IMAP(linu...@dwd.co.ug): Effective
uid=5000, gid=5000
Aug 25 08:51:20 mail dovecot: IMAP(linu...@dwd.co.ug): maildir:
data=/home/vmail/dwd.co.ug/linuxsols
Aug 25 08:51:20 mail dovecot: IMAP(linu...@dwd.co.ug): maildir:
root=/home/vmail/dwd.co.ug/linuxsols,
index=/home/vmail/dwd.co.ug/linuxsols, control=, inbox=
Aug 25 08:51:20 mail amavis[18694]: (18694-05) spam_scan: hits=-98.461
tests=ALL_TRUSTED,TVD_SPACE_RATIO,USER_IN_WHITELIST
Aug 25 08:51:20 mail amavis[18694]: (18694-05) FWD via SMTP:
[127.0.0.1]:10025 <linu...@dwd.co.ug> -> <l...@dwd.go.ug>
Aug 25 08:51:20 mail postfix/smtpd[20138]: connect from localhost[127.0.0.1]
Aug 25 08:51:20 mail postfix/smtpd[20138]: 6F0A25B8CD:
client=localhost[127.0.0.1]
Aug 25 08:51:20 mail dovecot: IMAP(linu...@dwd.co.ug): Disconnected:
Logged out
Aug 25 08:51:20 mail postfix/cleanup[20122]: 6F0A25B8CD:
message-id=<59090.81.199.17.19....@mail.dwd.co.ug>
Aug 25 08:51:20 mail postfix/qmgr[28721]: 6F0A25B8CD:
from=<linu...@dwd.co.ug>, size=1131, nrcpt=1 (queue active)
Aug 25 08:51:20 mail postfix/smtpd[20138]: disconnect from
localhost[127.0.0.1]
Aug 25 08:51:20 mail amavis[18694]: (18694-05) Passed,
<linu...@dwd.co.ug> -> <l...@dwd.go.ug>, Message-ID:
<59090.81.199.17.19....@mail.dwd.co.ug>, Hits: -98.461
Aug 25 08:51:20 mail amavis[18694]: (18694-05) TIMING [total 1091 ms]

- SMTP EHLO: 1 (0%), SMTP pre-MAIL: 0 (0%), SMTP pre-DATA-flush: 1

(0%), SMTP DATA: 39 (4%), body hash: 0 (0%), lookup_sql: 1 (0%),
mime_decode: 7 (1%), get-file-type: 14 (1%), decompose_part: 2 (0%),
parts: 0 (0%), AV-scan-1: 880 (81%), SA msg read: 2 (0%), SA parse: 3
(0%), SA check: 36 (3%), fwd-connect: 4 (0%), fwd-mail-from: 1 (0%),
fwd-rcpt-to: 2 (0%), write-header: 2 (0%), fwd-data: 0 (0%),
fwd-data-end: 92 (8%), fwd-rundown: 1 (0%), unlink-1-files: 3 (0%),
rundown: 0 (0%)
Aug 25 08:51:20 mail postfix/smtp[20133]: 5A6235B863:
to=<l...@dwd.go.ug>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.2,
delays=0.09/0/0/1.1, dsn=2.6.0, status=sent (250 2.6.0 Ok,
id=18694-05, from MTA: 250 2.0.0 Ok: queued as 6F0A25B8CD)
Aug 25 08:51:20 mail postfix/qmgr[28721]: 5A6235B863: removed
Aug 25 08:51:28 mail dovecot: imap-login: Login:
user=<twinomuj...@dwd.co.ug>, method=PLAIN, rip=127.0.0.1,
lip=127.0.0.1, secured
Aug 25 08:51:28 mail dovecot: IMAP(twinomuj...@dwd.co.ug):
Effective uid=5000, gid=5000
Aug 25 08:51:28 mail dovecot: IMAP(twinomuj...@dwd.co.ug):
maildir: data=/home/vmail/dwd.co.ug/twinomujuni.wrmd
Aug 25 08:51:28 mail dovecot: IMAP(twinomuj...@dwd.co.ug):
maildir: root=/home/vmail/dwd.co.ug/twinomujuni.wrmd,
index=/home/vmail/dwd.co.ug/twinomujuni.wrmd, control=, inbox=
Aug 25 08:51:28 mail dovecot: IMAP(twinomuj...@dwd.co.ug):
Disconnected: Logged out
Aug 25 08:51:42 mail postfix/smtpd[19357]: warning:
170.221.39.59.opm.blitzed.org: RBL lookup error: Host or domain name
not found. Name service error for name=170.221.39.59.opm.blitzed.org
type=A: Host not found, try again
Aug 25 08:51:44 mail postfix/smtpd[19357]: NOQUEUE: reject: RCPT from
unknown[59.39.221.170]: 450 4.7.1 <h...@dwd.co.ug>: Recipient address
rejected: Greylisted, see
http://isg.ee.ethz.ch/tools/postgrey...wd.co.ug.html;
from=<a-...@jersey.net> to=<h...@dwd.co.ug> proto=ESMTP
helo=<170.221.39.59.broad.dg.gd.dynamic.163data.com.cn>
Aug 25 08:51:45 mail postfix/smtpd[19385]: connect from
mx2.utlonline.co.ug[81.199.21.116]

mouss

unread,
Aug 25, 2007, 5:51:18 AM8/25/07
to
SSE wrote:
> If you look at this logs,I had sent mail to both dwd.co.ug and dwd.go.ug
> domains from my yahoo account.The server only logged for the dwd.co.ug,
> though it sends a reject with code 550 to my yahoo inbox
>


(opm.blitzed is dead since a long time. remove it from your RBL lists.)


How do you know it "sends a reject with code 550"? Wouldn't this reject
sent by something else? you may want to sniff traffic to see what is
rejecting your message. Also, try connecting with telnet:

# telnet 1.2.3.4 25
...
EHLO my.hostname.example
...
MAIL FROM:<>
...
RCPT TO:<f...@dwd.go.ug>
...
QUIT

=> Pay attention to the banner (just before EHLO, and to the reply text
after RCPT TO).

mouss

unread,
Aug 25, 2007, 11:27:10 AM8/25/07
to
Mike Cappella wrote:

>
>
> SSE wrote:
>> If you look at this logs,I had sent mail to both dwd.co.ug and
>> dwd.go.ug domains from my yahoo account.The server only logged for the
>> dwd.co.ug, though it sends a reject with code 550 to my yahoo inbox
>>
>
>> Aug 25 08:32:03 mail postfix/smtpd[19074]: connect from
>> web50305.mail.re2.yahoo.com[206.190.38.59]
>
> This is the only connection attempt from Yahoo seen by postfix...

>
>
>> Aug 25 08:32:31 mail postfix/smtpd[19074]: warning:
>> 59.38.190.206.opm.blitzed.org: RBL lookup error: Host or domain name
>> not found. Name service error for name=59.38.190.206.opm.blitzed.org
>> type=A: Host not found, try again
>> Aug 25 08:32:36 mail postfix/smtpd[19074]: A5A37592C5:
>> client=web50305.mail.re2.yahoo.com[206.190.38.59]
>> Aug 25 08:32:38 mail postfix/cleanup[19101]: A5A37592C5:
>> message-id=<241063....@web50305.mail.re2.yahoo.com>
>> Aug 25 08:32:38 mail postfix/qmgr[28721]: A5A37592C5:
>> from=<tomslee...@yahoo.com>, size=3107, nrcpt=1 (queue active)
>
> ... and postfix sees one 1 recipient.
>
> It appears that your dwd.co.ug and dwd.go.ug domains have different MXs.
>
> $ host dwd.co.ug
> dwd.co.ug has address 81.199.23.22
> dwd.co.ug mail is handled by 20 dwd.co.ug.
> dwd.co.ug mail is handled by 30 mx.utlonline.co.ug.
>
> $ host dwd.go.ug
> dwd.go.ug has address 207.44.176.108
> dwd.go.ug mail is handled by 10 dwd.go.ug.
> dwd.go.ug mail is handled by 20 spice.eahd.or.ug.
>


and at this time,

http://www.dnsstuff.com/tools/dnsreport.ch?domain=dwd.go.ug

shows a

"A timeout occurred getting the NS records from your nameservers! None
of your nameservers responded fast enough. They are probably down or
unreachable. I can't continue since your nameservers aren't responding.
If you have a Watchguard Firebox, it's due to a bug in their DNS Proxy,
which must be disabled (31 Jul 2006 UPDATE: several years after being
informed of this, there is a rumor that there is a fix that allows the
Watchguard DNS proxy to work).
"

so the mail may be sitting in the queue at yahoo...

SSE

unread,
Aug 26, 2007, 6:57:18 AM8/26/07
to

>
> (opm.blitzed is dead since a long time. remove it from your RBL lists.)
>
>
> How do you know it "sends a reject with code 550"? Wouldn't this reject
> sent by something else? you may want to sniff traffic to see what is
> rejecting your message. Also, try connecting with telnet:
>
> # telnet 1.2.3.4 25
> ...
> EHLO my.hostname.example
> ...
> MAIL FROM:<>
> ...
> RCPT TO:<f...@dwd.go.ug>
> ...
> QUIT
>
> => Pay attention to the banner (just before EHLO,

220 mail.dwd.co.ug ESMTP Postfix

and to the reply text after RCPT TO).

rcpt to: <l...@dwd.go.ug>
250 2.1.5 Ok

mouss

unread,
Aug 26, 2007, 6:50:04 AM8/26/07
to
SSE wrote:
>
>>
>> (opm.blitzed is dead since a long time. remove it from your RBL lists.)
>>
>>
>> How do you know it "sends a reject with code 550"? Wouldn't this reject
>> sent by something else? you may want to sniff traffic to see what is
>> rejecting your message. Also, try connecting with telnet:
>>
>> # telnet 1.2.3.4 25
>> ...
>> EHLO my.hostname.example
>> ...
>> MAIL FROM:<>
>> ...
>> RCPT TO:<f...@dwd.go.ug>
>> ...
>> QUIT
>>
>> => Pay attention to the banner (just before EHLO,
>
> 220 mail.dwd.co.ug ESMTP Postfix

This is not dwd.go.ug!

>
> and to the reply text after RCPT TO).
>
> rcpt to: <l...@dwd.go.ug>
> 250 2.1.5 Ok
>
>

$ telnet dwd.go.ug 25
Trying 207.44.176.108...
Connected to dwd.go.ug.
Escape character is '^]'.
220 storm.cfi.co.ug Postfix Rules!
EHLO ouzoud.netoyen.net
250-storm.cfi.co.ug
250-PIPELINING
250-SIZE 10240000
250-ETRN
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250 8BITMIME
MAIL FROM:<no.spa...@free.fr>
250 Ok
RCPT TO:<l...@dwd.go.ug>
550 <l...@dwd.go.ug>: Recipient address rejected: User unknown in virtual
mailbox table
quit
221 Bye
Connection closed by foreign host.


0 new messages