FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 01-06-2008, 11:42 AM
Michael Sullivan
 
Default I can't send attachments

I tried to send a comic strip as an attachment to my wife and I got a
Mailbox Unavailable error. I'm running:

baby log # emerge -pv exim

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] mail-mta/exim-4.68 USE="exiscan exiscan-acl ldap mysql
pam perl sasl ssl syslog tcpd -X -dnsdb -domainkeys -dovecot-sasl
-gnutls -ipv6 -lmtp -mailwrapper -mbox -mbx -nis -postgres -radius -spf
-sqlite -srs" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

And here's my exim.conf file:
baby log # cat /etc/exim/exim.conf | sed '/#/d'
domainlist local_domains = @ : espersunited.com :
baby.espersunited.com : localhost : localdomain :
camille.espersunited.com : catherine.espersunited.com : camille :
catherine
domainlist relay_to_domains =
hostlist relay_from_hosts = 127.0.0.1 : 192.168.1.2 : 192.168.1.3 :
192.168.1.4
acl_smtp_rcpt = acl_check_rcpt
acl_smtp_data = acl_check_data
acl_smtp_mime = acl_check_mime
av_scanner = clamd:/tmp/clamd
spamd_address = 127.0.0.1 783
qualify_domain = espersunited.com
never_users = root
host_lookup = *
rfc1413_hosts = *
rfc1413_query_timeout = 5s
sender_unqualified_hosts = baby.espersunited.com :
camille.espersunited.com : catherine.espersunited.com :
localhost.localdomain
recipient_unqualified_hosts = baby.espersunited.com :
camille.espersunited.com : catherine.espersunited.com :
localhost.localdomain
ignore_bounce_errors_after = 2d
timeout_frozen_after = 7d
begin acl
acl_check_rcpt:
accept hosts = :
deny message = Restricted characters in address
domains = +local_domains
local_parts = ^[.] : ^.*[@%!/|]
deny message = Restricted characters in address
domains = !+local_domains
local_parts = ^[./|] : ^.*[@%!] : ^.*/../
accept local_parts = postmaster
domains = +local_domains
require verify = sender
accept hosts = +relay_from_hosts
control = submission
accept authenticated = *
control = submission
require message = relay not permitted
domains = +local_domains : +relay_to_domains
require verify = recipient
accept
acl_check_data:
warn message = X-SpamScore: $spam_score ($spam_bar)
spam = nobody:true
warn message = X-SpamReport: $spam_report
spam = nobody:true
warn message = X-Spam-Flag: ${if
>{$spam_score_int}{58}{Almost Certainly}
{${if >{$spam_score_int}{55}{Probably}
{${if >{$spam_score_int}{50}{Possibly}{Doubtful}
}}}}}
spam = nobody
warn message = Subject: [*SPAM*] $h_Subject ${if
>{$spam_score_int}{58}{Almost Certainly}
{${if >{$spam_score_int}{55}{Probably}
{${if >{$spam_score_int}{50}{Possibly}{Doubtful}
}}}}}
spam = nobody
deny message = Rejected: spam score $spam_score
spam = nobody:true
condition = ${if >{$spam_score_int}{60}{1}{0}}
accept
acl_check_mime:
warn decode = default
deny message = Blacklisted file extension detected
condition = ${if match
{${lc:$mime_filename}}
{N(.exe|.pif|.bat|.scr|.lnk|.com|.vbs)$N}
{1}{0}}
accept
acl_check_content:
deny message = Serious MIME defect detected ($demime_reason)
demime = *
condition = ${if >{$demime_errorlevel}{2}{1}{0}}
deny message = This message contains malware ($malware_name)
malware = *
warn message = X-Spam-Score: $spam_score ($spam_bar)
spam = nobody:true
warn message = X-Spam-Report: $spam_report
spam = nobody:true
warn message = Subject: [*SPAM*] $h_Subject
spam = nobody
deny message = This message scored $spam_score points.
Congratulations!
spam = nobody:true
condition = ${if >{$spam_score_int}{50}{1}{0}}
accept
begin routers
dnslookup:
driver = dnslookup
domains = ! +local_domains
transport = remote_smtp
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
no_more
system_aliases:
driver = redirect
allow_fail
allow_defer
data = ${lookup{$local_part}lsearch{/etc/mail/aliases}}
file_transport = address_file
pipe_transport = address_pipe
userforward:
driver = redirect
check_local_user
file = $home/.forward
no_verify
no_expn
check_ancestor
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
localuser:
driver = accept
check_local_user
transport = local_delivery
cannot_route_message = Unknown user
begin transports
remote_smtp:
driver = smtp
local_delivery:
driver = appendfile
directory = /home/$local_part/.maildir
maildir_format
delivery_date_add
envelope_to_add
return_path_add
address_pipe:
driver = pipe
return_output
address_file:
driver = appendfile
delivery_date_add
envelope_to_add
return_path_add
address_reply:
driver = autoreply
begin retry
* * F,2h,15m; G,16h,1h,1.5; F,4d,6h
begin rewrite
begin authenticators

I have removed a lot of whitespace from this listing. Does anyone have
any ideas? We just noticed it this morning, as we very rarely send
attachments. We can still send attachment-less emails normally.
-Michael Sullivan-


--
gentoo-user@lists.gentoo.org mailing list
 
Old 01-06-2008, 12:55 PM
"Mark Shields"
 
Default I can't send attachments

On Jan 6, 2008 7:42 AM, Michael Sullivan <michael@espersunited.com> wrote:

I tried to send a comic strip as an attachment to my wife and I got a
Mailbox Unavailable error. *I'm running:

baby log # emerge -pv exim

These are the packages that would be merged, in order:


Calculating dependencies... done!
[ebuild * R * ] mail-mta/exim-4.68 *USE="exiscan exiscan-acl ldap mysql
pam perl sasl ssl syslog tcpd -X -dnsdb -domainkeys -dovecot-sasl
-gnutls -ipv6 -lmtp -mailwrapper -mbox -mbx -nis -postgres -radius -spf

-sqlite -srs" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

And here's my exim.conf file:
baby log # cat /etc/exim/exim.conf | sed '/#/d'
domainlist local_domains = @ :
espersunited.com :
baby.espersunited.com : localhost : localdomain :

camille.espersunited.com : catherine.espersunited.com : camille :
catherine
domainlist relay_to_domains =
hostlist * relay_from_hosts =
127.0.0.1 : 192.168.1.2 : 192.168.1.3 :
192.168.1.4
acl_smtp_rcpt = acl_check_rcpt

acl_smtp_data = acl_check_data
acl_smtp_mime = acl_check_mime
av_scanner = clamd:/tmp/clamd
spamd_address = 127.0.0.1 783
qualify_domain =
espersunited.com
never_users = root
host_lookup = *
rfc1413_hosts = *
rfc1413_query_timeout = 5s
sender_unqualified_hosts = baby.espersunited.com
:
camille.espersunited.com : catherine.espersunited.com :
localhost.localdomain
recipient_unqualified_hosts =
baby.espersunited.com :
camille.espersunited.com :
catherine.espersunited.com :
localhost.localdomain
ignore_bounce_errors_after = 2d
timeout_frozen_after = 7d
begin acl
acl_check_rcpt:
*accept *hosts = :
*deny * *message * * * = Restricted characters in address

* * * * *domains * * * = +local_domains
* * * * *local_parts * = ^[.] : ^.*[@%!/|]
*deny * *message * * * = Restricted characters in address
* * * * *domains * * * = !+local_domains
* * * * *local_parts * = ^[./|] : ^.*[@%!] : ^.*/../

*accept *local_parts * = postmaster
* * * * *domains * * * = +local_domains
*require verify * * * *= sender
*accept *hosts * * * * = +relay_from_hosts
* * * * *control * * * = submission
*accept *authenticated = *

* * * * *control * * * = submission
*require message = relay not permitted
* * * * *domains = +local_domains : +relay_to_domains
*require verify = recipient
*accept
acl_check_data:
warn * *message * *= X-SpamScore: $spam_score ($spam_bar)

* * * *spam * * * = nobody:true
warn * *message * *= X-SpamReport: $spam_report
* * * *spam * * * = nobody:true
warn * *message * *= X-Spam-Flag: ${if
* * * * * * * * * * >{$spam_score_int}{58}{Almost Certainly}

* * * * * * * * * * {${if >{$spam_score_int}{55}{Probably}
* * * * * * * * * * {${if >{$spam_score_int}{50}{Possibly}{Doubtful}
* * * * * * * * * * }}}}}
* * * *spam * * * = nobody
warn message = Subject: [*SPAM*] $h_Subject ${if

* * * * * * * * * * >{$spam_score_int}{58}{Almost Certainly}
* * * * * * * * * * {${if >{$spam_score_int}{55}{Probably}
* * * * * * * * * * {${if >{$spam_score_int}{50}{Possibly}{Doubtful}
* * * * * * * * * * }}}}}

* * * *spam * * * = nobody
deny * *message * *= Rejected: spam score $spam_score
* * * *spam * * * = nobody:true
* * * *condition *= ${if >{$spam_score_int}{60}{1}{0}}
accept
acl_check_mime:
* warn decode = default

* deny message = Blacklisted file extension detected
* condition = ${if match
* * * {${lc:$mime_filename}}
* * * {N(.exe|.pif|.bat|.scr|.lnk|.com|.vbs)$N}
* * * {1}{0}}
* accept
acl_check_content:

* deny *message = Serious MIME defect detected ($demime_reason)
* demime = *
* condition = ${if >{$demime_errorlevel}{2}{1}{0}}
* deny *message = This message contains malware ($malware_name)
* malware = *

* warn *message = X-Spam-Score: $spam_score ($spam_bar)
* spam = nobody:true
* warn *message = X-Spam-Report: $spam_report
* spam = nobody:true
* warn message = Subject: [*SPAM*] $h_Subject
* spam = nobody

* deny *message = This message scored $spam_score points.
Congratulations!
* spam = nobody:true
* condition = ${if >{$spam_score_int}{50}{1}{0}}
* accept
begin routers
dnslookup:
*driver = dnslookup

*domains = ! +local_domains
*transport = remote_smtp
*ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
*no_more

system_aliases:
*driver = redirect
*allow_fail
*allow_defer
*data = ""> *file_transport = address_file
*pipe_transport = address_pipe
userforward:

*driver = redirect
*check_local_user
*file = $home/.forward
*no_verify
*no_expn
*check_ancestor
*file_transport = address_file
*pipe_transport = address_pipe
*reply_transport = address_reply

localuser:
*driver = accept
*check_local_user
*transport = local_delivery
*cannot_route_message = Unknown user
begin transports
remote_smtp:
*driver = smtp
local_delivery:
*driver = appendfile

*directory = /home/$local_part/.maildir
*maildir_format
*delivery_date_add
*envelope_to_add
*return_path_add
address_pipe:
*driver = pipe
*return_output
address_file:
*driver = appendfile

*delivery_date_add
*envelope_to_add
*return_path_add
address_reply:
*driver = autoreply
begin retry
* * * * * * * * * * * ** * * * * * F,2h,15m; G,16h,1h,1.5; F,4d,6h
begin rewrite
begin authenticators


I have removed a lot of whitespace from this listing. *Does anyone have
any ideas? *We just noticed it this morning, as we very rarely send
attachments. *We can still send attachment-less emails normally.

-Michael Sullivan-


--
gentoo-user@lists.gentoo.org mailing list


The "Mailbox Unavailable" sounds like an error in the form of an e-mail bounceback from the e-mail address' server you were trying to send to.* Sometimes I see this error working in tech support (cable modem).* I doubt it's anything on your end.

--
- Mark Shields
 
Old 01-06-2008, 01:12 PM
"Michael Sullivan"
 
Default I can't send attachments

On Sun, January 6, 2008 7:55 am, Mark Shields wrote:
> On Jan 6, 2008 7:42 AM, Michael Sullivan <michael@espersunited.com> wrote:
>
>> I tried to send a comic strip as an attachment to my wife and I got a
>> Mailbox Unavailable error. I'm running:
>>
>> baby log # emerge -pv exim
>>
>> These are the packages that would be merged, in order:
>>
>> Calculating dependencies... done!
>> [ebuild R ] mail-mta/exim-4.68 USE="exiscan exiscan-acl ldap mysql
>> pam perl sasl ssl syslog tcpd -X -dnsdb -domainkeys -dovecot-sasl
>> -gnutls -ipv6 -lmtp -mailwrapper -mbox -mbx -nis -postgres -radius -spf
>> -sqlite -srs" 0 kB
>>
>> Total: 1 package (1 reinstall), Size of downloads: 0 kB
>>
>> And here's my exim.conf file:
>> baby log # cat /etc/exim/exim.conf | sed '/#/d'
>> domainlist local_domains = @ : espersunited.com :
>> baby.espersunited.com : localhost : localdomain :
>> camille.espersunited.com : catherine.espersunited.com : camille :
>> catherine
>> domainlist relay_to_domains =
>> hostlist relay_from_hosts = 127.0.0.1 : 192.168.1.2 : 192.168.1.3 :
>> 192.168.1.4
>> acl_smtp_rcpt = acl_check_rcpt
>> acl_smtp_data = acl_check_data
>> acl_smtp_mime = acl_check_mime
>> av_scanner = clamd:/tmp/clamd
>> spamd_address = 127.0.0.1 783
>> qualify_domain = espersunited.com
>> never_users = root
>> host_lookup = *
>> rfc1413_hosts = *
>> rfc1413_query_timeout = 5s
>> sender_unqualified_hosts = baby.espersunited.com :
>> camille.espersunited.com : catherine.espersunited.com :
>> localhost.localdomain
>> recipient_unqualified_hosts = baby.espersunited.com :
>> camille.espersunited.com : catherine.espersunited.com :
>> localhost.localdomain
>> ignore_bounce_errors_after = 2d
>> timeout_frozen_after = 7d
>> begin acl
>> acl_check_rcpt:
>> accept hosts = :
>> deny message = Restricted characters in address
>> domains = +local_domains
>> local_parts = ^[.] : ^.*[@%!/|]
>> deny message = Restricted characters in address
>> domains = !+local_domains
>> local_parts = ^[./|] : ^.*[@%!] : ^.*/../
>> accept local_parts = postmaster
>> domains = +local_domains
>> require verify = sender
>> accept hosts = +relay_from_hosts
>> control = submission
>> accept authenticated = *
>> control = submission
>> require message = relay not permitted
>> domains = +local_domains : +relay_to_domains
>> require verify = recipient
>> accept
>> acl_check_data:
>> warn message = X-SpamScore: $spam_score ($spam_bar)
>> spam = nobody:true
>> warn message = X-SpamReport: $spam_report
>> spam = nobody:true
>> warn message = X-Spam-Flag: ${if
>> >{$spam_score_int}{58}{Almost Certainly}
>> {${if >{$spam_score_int}{55}{Probably}
>> {${if >{$spam_score_int}{50}{Possibly}{Doubtful}
>> }}}}}
>> spam = nobody
>> warn message = Subject: [*SPAM*] $h_Subject ${if
>> >{$spam_score_int}{58}{Almost Certainly}
>> {${if >{$spam_score_int}{55}{Probably}
>> {${if >{$spam_score_int}{50}{Possibly}{Doubtful}
>> }}}}}
>> spam = nobody
>> deny message = Rejected: spam score $spam_score
>> spam = nobody:true
>> condition = ${if >{$spam_score_int}{60}{1}{0}}
>> accept
>> acl_check_mime:
>> warn decode = default
>> deny message = Blacklisted file extension detected
>> condition = ${if match
>> {${lc:$mime_filename}}
>> {N(.exe|.pif|.bat|.scr|.lnk|.com|.vbs)$N}
>> {1}{0}}
>> accept
>> acl_check_content:
>> deny message = Serious MIME defect detected ($demime_reason)
>> demime = *
>> condition = ${if >{$demime_errorlevel}{2}{1}{0}}
>> deny message = This message contains malware ($malware_name)
>> malware = *
>> warn message = X-Spam-Score: $spam_score ($spam_bar)
>> spam = nobody:true
>> warn message = X-Spam-Report: $spam_report
>> spam = nobody:true
>> warn message = Subject: [*SPAM*] $h_Subject
>> spam = nobody
>> deny message = This message scored $spam_score points.
>> Congratulations!
>> spam = nobody:true
>> condition = ${if >{$spam_score_int}{50}{1}{0}}
>> accept
>> begin routers
>> dnslookup:
>> driver = dnslookup
>> domains = ! +local_domains
>> transport = remote_smtp
>> ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
>> no_more
>> system_aliases:
>> driver = redirect
>> allow_fail
>> allow_defer
>> data = ${lookup{$local_part}lsearch{/etc/mail/aliases}}
>> file_transport = address_file
>> pipe_transport = address_pipe
>> userforward:
>> driver = redirect
>> check_local_user
>> file = $home/.forward
>> no_verify
>> no_expn
>> check_ancestor
>> file_transport = address_file
>> pipe_transport = address_pipe
>> reply_transport = address_reply
>> localuser:
>> driver = accept
>> check_local_user
>> transport = local_delivery
>> cannot_route_message = Unknown user
>> begin transports
>> remote_smtp:
>> driver = smtp
>> local_delivery:
>> driver = appendfile
>> directory = /home/$local_part/.maildir
>> maildir_format
>> delivery_date_add
>> envelope_to_add
>> return_path_add
>> address_pipe:
>> driver = pipe
>> return_output
>> address_file:
>> driver = appendfile
>> delivery_date_add
>> envelope_to_add
>> return_path_add
>> address_reply:
>> driver = autoreply
>> begin retry
>> * * F,2h,15m; G,16h,1h,1.5; F,4d,6h
>> begin rewrite
>> begin authenticators
>>
>> I have removed a lot of whitespace from this listing. Does anyone have
>> any ideas? We just noticed it this morning, as we very rarely send
>> attachments. We can still send attachment-less emails normally.
>> -Michael Sullivan-
>>
>>
>> --
>> gentoo-user@lists.gentoo.org mailing list
>>
>>
> The "Mailbox Unavailable" sounds like an error in the form of an e-mail
> bounceback from the e-mail address' server you were trying to send to.
> Sometimes I see this error working in tech support (cable modem). I doubt
> it's anything on your end.
>
> --
> - Mark Shields
>

I own espersunited.com, so it is on my end.

--
gentoo-user@lists.gentoo.org mailing list
 
Old 01-06-2008, 03:47 PM
Hans-Werner Hilse
 
Default I can't send attachments

Hi,

On Sun, 6 Jan 2008 08:12:10 -0600 (CST)
"Michael Sullivan" <michael@espersunited.com> wrote:

> I own espersunited.com, so it is on my end.

...and so should be exim's logs, right? I usually find it easier to read
actual error reports than (stripped) configurations for complex
software that is claimed to be responsible for the error...

Also, I have a hard time trying to understand the problem. A mailbox
unavailable shouldn't occur after SMTP's "DATA" command, it should
happen after the "RCPT TO" (answer code 450). At that point, no data has
been transmitted, so the error does not make sense except if it is
wrongly phrased by the MUA or (sorry) you. SMTP doesn't allow it at
that point. There's only the possibility for much more general error
codes. BTW, what's the MUA? You just introduced the MTA. Did you try
another one?

-hwh
--
gentoo-user@lists.gentoo.org mailing list
 
Old 01-06-2008, 04:09 PM
Michael Sullivan
 
Default I can't send attachments

On Sun, 2008-01-06 at 17:47 +0100, Hans-Werner Hilse wrote:
> Hi,
>
> On Sun, 6 Jan 2008 08:12:10 -0600 (CST)
> "Michael Sullivan" <michael@espersunited.com> wrote:
>
> > I own espersunited.com, so it is on my end.
>
> ...and so should be exim's logs, right? I usually find it easier to read
> actual error reports than (stripped) configurations for complex
> software that is claimed to be responsible for the error...
>
> Also, I have a hard time trying to understand the problem. A mailbox
> unavailable shouldn't occur after SMTP's "DATA" command, it should
> happen after the "RCPT TO" (answer code 450). At that point, no data has
> been transmitted, so the error does not make sense except if it is
> wrongly phrased by the MUA or (sorry) you. SMTP doesn't allow it at
> that point. There's only the possibility for much more general error
> codes. BTW, what's the MUA? You just introduced the MTA. Did you try
> another one?
>
> -hwh

We use evolution. I tried using Squirrelmail and got this:

Message not sent. Server replied:
Requested action not taken: mailbox unavailable
550 Rejected: spam score 6.5

--
gentoo-user@lists.gentoo.org mailing list
 
Old 01-06-2008, 04:29 PM
Alan McKinnon
 
Default I can't send attachments

On Sunday 06 January 2008, Michael Sullivan wrote:
> On Sun, 2008-01-06 at 17:47 +0100, Hans-Werner Hilse wrote:
> > Hi,
> >
> > On Sun, 6 Jan 2008 08:12:10 -0600 (CST)
> >
> > "Michael Sullivan" <michael@espersunited.com> wrote:
> > > I own espersunited.com, so it is on my end.
> >
> > ...and so should be exim's logs, right? I usually find it easier to
> > read actual error reports than (stripped) configurations for
> > complex software that is claimed to be responsible for the error...
> >
> > Also, I have a hard time trying to understand the problem. A
> > mailbox unavailable shouldn't occur after SMTP's "DATA" command, it
> > should happen after the "RCPT TO" (answer code 450). At that point,
> > no data has been transmitted, so the error does not make sense
> > except if it is wrongly phrased by the MUA or (sorry) you. SMTP
> > doesn't allow it at that point. There's only the possibility for
> > much more general error codes. BTW, what's the MUA? You just
> > introduced the MTA. Did you try another one?
> >
> > -hwh
>
> We use evolution. I tried using Squirrelmail and got this:
>
> Message not sent. Server replied:
> Requested action not taken: mailbox unavailable
> 550 Rejected: spam score 6.5
^^^^^^^^^^^^^^

perhaps this bit?

--
Alan McKinnon
alan dot mckinnon at gmail dot com
--
gentoo-user@lists.gentoo.org mailing list
 
Old 01-06-2008, 04:37 PM
Hans-Werner Hilse
 
Default I can't send attachments

Hi,

On Sun, 06 Jan 2008 11:09:15 -0600
Michael Sullivan <michael@espersunited.com> wrote:

> We use evolution. I tried using Squirrelmail and got this:
>
> Message not sent. Server replied:
> Requested action not taken: mailbox unavailable
> 550 Rejected: spam score 6.5

Ah, I see. Exim does output a 550 anyway (and it makes some sense, I
guess the SMTP protocol definition is impractical w/ regard to the
allowed errors). But reading the full error report, it seems it's your
spam detection software that leads exim to deny the mail. Your exim
config seems to indicate that everything with a spam score > 6.0 is to
be denied (those numbers in the config are given with a factor of ten,
I guess?). Depending on whether the full spam check report is available
on the logs, you might want to temporarly disable that mail denial and
check the mail headers for the protocol of which certain spam checks
leads your spam filter to the conclusion it is spam, then adjust that.

-hwh
--
gentoo-user@lists.gentoo.org mailing list
 

Thread Tools




All times are GMT. The time now is 12:10 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org