no outgoing mail (mail transport unavailable)

Here is what I've done so far
* Followed this ~~[http://library.linode.com/email/postfix/dovecot-mysql-ubuntu-10.04-lucid" target="_blank">](http://library.linode.com/email/postfix … 0.04-lucid">http://library.linode.com/email/postfix/dovecot-mysql-ubuntu-10.04-lucid](

installed clamav, clamav daemon, spamassasin, amavis</list> 

At this point, i can receive email without a problem. Half the battle!

But, any email sent from squirrelmail doesn't get sent.

the message in mail.log is:
* May 20 13:41:45 li288-183 postfix/error[25381]: 85549A98E: to=<me@domain.net>, relay=none, delay=34200, delays=34200/0.02/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
Any one have any ideas what could be causing this?

2 Replies

what's the contents of your /etc/postfix/main.cf

@obs:

what's the contents of your /etc/postfix/main.cf

#

See /usr/share/postfix/main.cf.dist for a commented, more complete version

Debian specific: Specifying a file name will cause the first

line of that file to be used as the name. The Debian default

is /etc/mailname.

myorigin = /etc/mailname

smtpdbanner = $myhostname ESMTP $mailname (Ubuntu)

biff = no

appending .domain is the MUA's job.

appenddotmydomain = no

Uncomment the next line to generate "delayed mail" warnings

delaywarningtime = 4h

readme_directory = /usr/share/doc/postfix

TLS parameters

smtpdtlscert_file = /etc/postfix/smtpd.cert

smtpdtlskey_file = /etc/postfix/smtpd.key

smtpdusetls = yes

smtpdtlssessioncachedatabase = btree:${datadirectory}/smtpdscache

smtptlssessioncachedatabase = btree:${datadirectory}/smtpscache

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

information on enabling SSL in the smtp client.

myhostname = hydrogen.example.com

alias_maps = hash:/etc/aliases

alias_database = hash:/etc/aliases

myorigin = /etc/mailname

mydestination = my.example.com, localhost, localhost.localdomain

relayhost =

mynetworks = 127.0.0.0/8

mailboxsizelimit = 0

recipient_delimiter = +

inet_interfaces = all

html_directory = /usr/share/doc/postfix/html

virtualaliasdomains =

virtualaliasmaps = proxy:mysql:/etc/postfix/mysql-virtualforwardings.cf, mysql:/etc/postfix/mysql-virtualemail2email.cf

virtualmailboxdomains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf

virtualmailboxmaps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf

virtualmailboxbase = /home/vmail

virtualuidmaps = static:5000

virtualgidmaps = static:5000

smtpdsaslauth_enable = yes

brokensaslauth_clients = yes

smtpdsaslauthenticated_header = yes

smtpdrecipientrestrictions = permitmynetworks, permitsaslauthenticated, rejectunauth_destination

smtpdtlssecurity_level = may

transportmaps = proxy:mysql:/etc/postfix/mysql-virtualtransports.cf

relaydomains = mysql:/etc/postfix/mysql-virtualrelaydomains.cf

relayrecipientmaps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf

virtualcreatemaildirsize = yes

virtualmaildirextended = yes

virtualmailboxlimitmaps = proxy:mysql:/etc/postfix/mysql-virtualmailboxlimitmaps.cf

virtualmailboxlimit_override = yes

virtualmaildirlimit_message = "The user you are trying to reach is over quota."

virtualoverquotabounce = yes

proxyreadmaps = $localrecipientmaps $mydestination $virtualaliasmaps $virtualaliasdomains $virtualmailboxmaps $virtualmailboxdomains $relayrecipientmaps $relaydomains $canonicalmaps $sendercanonicalmaps $recipient_canon

smtpdsenderrestrictions = checksenderaccess mysql:/etc/postfix/mysql-virtual_sender.cf

smtpdclientrestrictions = checkclientaccess mysql:/etc/postfix/mysql-virtual_client.cf

maildropdestinationconcurrency_limit = 1

maildropdestinationrecipient_limit = 1

virtual_transport = dovecot

headerchecks = regexp:/etc/postfix/headerchecks

mimeheaderchecks = regexp:/etc/postfix/mimeheaderchecks

nestedheaderchecks = regexp:/etc/postfix/nestedheaderchecks

bodychecks = regexp:/etc/postfix/bodychecks

content_filter = amavis:[127.0.0.1]:10024

receiveoverrideoptions = noaddressmappings

messagesizelimit = 30720000

dovecotdestinationrecipient_limit = 1

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct