postfix can't create user output file

Hi all !

I have the latest virtuamin installed and all works fine many days but today I have this error message with many accounts:

The domain is urunet.com.ar

              The mail system

martin-urunet.com.ar@server2.urunet.com.ar (expanded from
martin@urunet.com.ar): can’t create user output file

Looks like postfix can’t expand the username with - to the username with @.

my /etc/postfix/virtual file looks correct:

urunet@urunet.com.ar urunet
urunet.com.ar urunet.com.ar
hostmaster@urunet.com.ar urunet@urunet.com.ar
webmaster@urunet.com.ar urunet@urunet.com.ar
postmaster@urunet.com.ar urunet@urunet.com.ar
abuse@urunet.com.ar urunet@urunet.com.ar
correo@urunet.com.ar correo-urunet.com.ar
martin@urunet.com.ar martin-urunet.com.ar

the virtual.db file looks good to:

-rwxr-xr-x 1 root root 3428 ene 6 19:39 virtual
-rw-r–r-- 1 root root 12288 ene 6 19:39 virtual.db

the main file:

myhostname = server2.urunet.com.ar
#myhostname = host5.190-228-106.telecom.net.ar

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

appending .domain is the MUA’s job.

append_dot_mydomain = no

Uncomment the next line to generate “delayed mail” warnings

#delay_warning_time = 4h

readme_directory = no

TLS parameters

smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for

information on enabling SSL in the smtp client.

#myhostname =
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = server2.urunet.com.ar, localhost.urunet.com.ar, localhost
#relayhost = server3.contenidosonline.com.ar
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 200.117.244.0/24
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
virtual_alias_maps = hash:/etc/postfix/virtual
sender_bcc_maps = hash:/etc/postfix/bcc
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
home_mailbox = Maildir/
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination check_policy_service inet:127.0.0.1:60000

the mail.log (I’m using debian lenny):

Jan 11 10:20:46 server2 postfix/smtpd[31019]: EB7253216D: client=mail-pw0-f56.google.com[209.85.160.56]
Jan 11 10:20:47 server2 postgrey[1484]: EB7253216D: action=pass, reason=client whitelist, client_name=mail-pw0-f56.google.com, client_address=209.85.160.56, sender=martincdu@gmail.com, recipient=martin@urunet.com.ar
Jan 11 10:20:47 server2 postfix/cleanup[31024]: EB7253216D: message-id=1aa7668a1001110419r74e85c5ah43ffbc12afc96e47@mail.gmail.com
Jan 11 10:20:47 server2 postfix/qmgr[1685]: EB7253216D: from=martincdu@gmail.com, size=2105, nrcpt=2 (queue active)
Jan 11 10:20:53 server2 postfix/local[31025]: EB7253216D: to=martin-urunet.com.ar@server2.urunet.com.ar, orig_to=martin@urunet.com.ar, relay=local, delay=7, delays=0.77/0/0/6.2, dsn=5.2.0, status=bounced (can’t create user output file)

any hint ? Please I need help to solve this error quickly.

Sorry my english.

Thanks in advance.

roberto

“can’t create user output file”

whenever I see this on my box, it means the users mailbox is full. either empty it or use a bigger quota

I agree with Ronald, it sounds like a quota problem. You can go into Edit Mail and FTP users, and view/modify the quota for your users.

-Eric

thanks both your the help !

No, I think if not a quota issue:

the example account have 50M quota and are using only 1.6M

server2:/home/urunet/homes# repquota / | grep martin
martin@urunet.com.ar – 1592 204800 204800 144 0 0

All virtual server have 10G quota and are using only 2%.

the martin@urunet.com.ar have this setup:

server2:/home/urunet/homes# ls -lR martin/
martin/:
total 4
drwx------ 12 martin@urunet.com.ar urunet 4096 ene 14 14:54 Maildir

martin/Maildir:
total 80
drwx------ 2 martin@urunet.com.ar urunet 4096 ene 13 23:44 cur
-rw------- 1 martin@urunet.com.ar urunet 848 ene 13 23:50 dovecot.index
-rw------- 1 martin@urunet.com.ar urunet 43008 ene 13 16:37 dovecot.index.cache
-rw------- 1 martin@urunet.com.ar urunet 7052 ene 13 23:50 dovecot.index.log
-rw------- 1 martin@urunet.com.ar urunet 13 dic 21 10:26 dovecot-keywords
-rw------- 1 martin@urunet.com.ar urunet 1524 ene 13 16:37 dovecot-uidlist
drwx------ 2 martin@urunet.com.ar urunet 4096 ene 13 23:44 new
-rw------- 1 martin@urunet.com.ar urunet 48 dic 19 18:09 subscriptions
drwx------ 2 martin@urunet.com.ar urunet 4096 ene 14 15:26 tmp

martin/Maildir/cur:
total 612
-rw------- 1 martin@urunet.com.ar urunet 2055 dic 18 21:59 1261180778.27069_1.server2.urunet.com.ar:2,S
-rw------- 1 martin@urunet.com.ar urunet 1673 dic 19 10:45 1261226747.20361_0.server2.urunet.com.ar:2,Sa
-rw------- 1 martin@urunet.com.ar urunet 2030 dic 19 12:59 1261234775.23912_0.server2.urunet.com.ar:2,S
-rw------- 1 martin@urunet.com.ar urunet 1403 dic 19 13:02 1261234932.24012_0.server2.urunet.com.ar:2,S
-rw------- 1 martin@urunet.com.ar urunet 2648 dic 21 09:07 1261393669.22756_0.server2.urunet.com.ar:2,RS
-rw------- 1 martin@urunet.com.ar urunet 10036 dic 21 10:38 1261399085.25434_0.server2.urunet.com.ar:2,S
-rw------- 1 martin@urunet.com.ar urunet 31323 dic 21 18:17 1261426647.4031_0.server2.urunet.com.ar:2,S
-rw------- 1 martin@urunet.com.ar urunet 1724 dic 22 13:01 1261494060.1346_0.server2.urunet.com.ar:2,RS
-rw------- 1 martin@urunet.com.ar urunet 1268 dic 22 23:24 1261531469.16999_0.server2.urunet.com.ar:2,S
-rw------- 1 martin@urunet.com.ar urunet 1266 dic 22 23:24 1261531470.17006_0.server2.urunet.com.ar:2,S
-rw------- 1 martin@urunet.com.ar urunet 924 dic 22 23:30 1261531842.17218_0.server2.urunet.com.ar:2,S
-rw------- 1 martin@urunet.com.ar urunet 929 dic 22 23:32 1261531962.17355_0.server2.urunet.com.ar:2,S
-rw------- 1 martin@urunet.com.ar urunet 931 dic 22 23:34 1261532052.17424_0.server2.urunet.com.ar:2,S
-rw------- 1 martin@urunet.com.ar urunet 913 dic 22 23:34 1261532099.17470_0.server2.urunet.com.ar:2,S
-rw------- 1 martin@urunet.com.ar urunet 1296 dic 23 11:44 1261575869.3746_0.server2.urunet.com.ar:2,S
-rw------- 1 martin@urunet.com.ar urunet 3838 dic 23 11:49 1261576172.3849_0.server2.urunet.com.ar:2,Sa
-rw------- 1 martin@urunet.com.ar urunet 8059 dic 23 11:49 1261576193.3863_0.server2.urunet.com.ar:2,Sa
-rw------- 1 martin@urunet.com.ar urunet 2763 dic 23 12:51 1261579910.5616_0.server2.urunet.com.ar:2,S
-rw------- 1 martin@urunet.com.ar urunet 9939 dic 23 18:45 1261601123.14652_0.server2.urunet.com.ar:2,S
-rw------- 1 martin@urunet.com.ar urunet 216123 dic 23 21:31 1261611106.18940_0.server2.urunet.com.ar:2,S
-rw------- 1 martin@urunet.com.ar urunet 2283 dic 24 01:22 1261624935.25524_0.server2.urunet.com.ar:2,S
-rw------- 1 martin@urunet.com.ar urunet 5611 dic 24 02:07 1261627648.27119_0.server2.urunet.com.ar:2,S
-rw------- 1 martin@urunet.com.ar urunet 2171 dic 24 19:46 1261691193.22764_0.server2.urunet.com.ar:2,S
-rw------- 1 martin@urunet.com.ar urunet 4367 dic 26 16:12 1261851162.30786_0.server2.urunet.com.ar:2,S
-rw------- 1 martin@urunet.com.ar urunet 184063 dic 26 21:09 1261868978.5858_0.server2.urunet.com.ar:2,S
-rw------- 1 martin@urunet.com.ar urunet 2203 dic 28 19:59 1262037583.8110_0.server2.urunet.com.ar:2,S
-rw------- 1 martin@urunet.com.ar urunet 3800 ene 6 13:57 1262793465.11634_0.server2.urunet.com.ar:2,S
-rw------- 1 martin@urunet.com.ar urunet 30663 ene 6 18:32 1262809924.18454_0.server2.urunet.com.ar:2,S
-rw------- 1 martin@urunet.com.ar urunet 2851 ene 11 11:34 1263216869.1251_0.server2.urunet.com.ar:2,S
-rw------- 1 martin@urunet.com.ar urunet 1556 ene 13 13:16 1263395791.12889_0.server2.urunet.com.ar:2,
-rw------- 1 martin@urunet.com.ar urunet 2181 ene 13 16:31 1263407517.17538_0.server2.urunet.com.ar:2,
-rw------- 1 martin@urunet.com.ar urunet 2340 ene 13 16:37 1263407833.17760_0.server2.urunet.com.ar:2,
-rw------- 1 martin@urunet.com.ar urunet 7963 ene 13 19:15 1263417353.28106_0.server2.urunet.com.ar:2,

martin/Maildir/new:
total 0

martin/Maildir/tmp:
total 0

Today 01/14 are refusing all inbound mails

Thanks again for any help !!

roberto

.

It’s old, but as there was no response:

I had the same problem, “can’t create user output file” for some, but not all virtual domains. First I did a reboot, that didn’t help. Then I did:

webmin > System > Log File Rotation > Force Log Rotation

After that email receiving was normal. Maybe one of the logs got too big.