I dont receive any emails

Anthony

New Member
Hi all.

The latest few days i got help from Centy to get my outlook to connect to the email. I now have everything working (ftp, mail, www, etc) but i cant receive mail. Somehow it doesnt work althrough the server connects and checks.

My postfix main.cf
Code:
#
# Postfix MTA Manager Main Configuration File;
#
# Please do NOT edit this file manually;
#
#
# Postfix directory settings; These are critical for normal Postfix MTA functionallity;
#
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
program_directory = /usr/lib/postfix
#
# Some common configuration parameters;
#
inet_interfaces = all
mynetworks_style = host
myhostname = box.scriptscentral.org
mydomain = scriptscentral.org
myorigin = $mydomain
smtpd_banner = $myhostname Managed ESMTP 2.4.8 RC1
setgid_group = postdrop
#
# Receiving messages parameters;
#
mydestination = $myhostname, $mydomain, server.local, localhost
append_dot_mydomain = no
append_at_myorigin = yes
local_transport = local
virtual_transport = virtual
transport_maps = hash:/etc/postfix/vhcs2/transport
#
# Delivering local messages parameters;
#
mail_spool_directory = /var/mail
# Mailboxquota
# => 0 for unlimited
# => 104857600 for 100 MB
mailbox_size_limit = 0
mailbox_command = procmail -a "$EXTENSION"
biff = no
alias_database = hash:/etc/aliases
local_destination_recipient_limit = 1
local_recipient_maps = unix:passwd.byname $alias_database
#
# VHCS Autoresponder parameters;
#
vhcs2-arpl_destination_recipient_limit = 1
#
# Delivering virtual messages parameters;
#
virtual_mailbox_base = /var/mail/virtual
virtual_mailbox_limit = 0
virtual_mailbox_domains = hash:/etc/postfix/vhcs2/domains
virtual_mailbox_maps = hash:/etc/postfix/vhcs2/mailboxes
virtual_alias_maps = hash:/etc/postfix/vhcs2/aliases
virtual_minimum_uid = 1000
virtual_uid_maps = static:1000
virtual_gid_maps = static:8
#
# SASL paramters;
#
smtpd_sasl_auth_enable = yes
smtpd_sasl2_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_mynetworks,=
reject_unauth_destination=
 
#
# TLS parameters; activate, if avaible/used
#
#smtpd_tld_loglevel = 2
#smtpd_tls_cert_file = /etc/postfix/cert.pem
#smtpd_tls_key_file = /etc/postfix/privkey.pem
#smtpd_use_tls = yes
#smtpd_tls_auth_only = no
#smtpd_tls_received_header = yes
#
# AMaViS parameters; activate, if avaible/used
#
#content_filter = amavis:[127.0.0.1]:10024
#
# Quota support; activate, if avaible/used
#
#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're trying to reach is over mailbox quota."
#virtual_overquota_bounce = yes

Any help very welcome

Anthony
 
Hi,

please use this command, while you are sending an email form an external email account to an account on your server:
Code:
tail -f /var/log/mail.info
Stop it when you see, that the external mailserver tried to send the email to you mailaccount with strg + c and post the lines from that action here! ;)
 
Hi Armadillo,

This is the tail you asked.

Code:
Jun 11 09:08:34 box couriertcpd: LOGOUT, ip=[::ffff:81.4.88.18], rcvd=19, sent=303
Jun 11 09:09:34 box postfix/smtpd[6315]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Jun 11 09:09:35 box postfix/master[1659]: warning: process /usr/lib/postfix/smtpd pid 6315 exit status 1
Jun 11 09:09:35 box postfix/master[1659]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Jun 11 09:10:35 box postfix/smtpd[6327]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Jun 11 09:10:36 box postfix/master[1659]: warning: process /usr/lib/postfix/smtpd pid 6327 exit status 1
Jun 11 09:10:36 box postfix/master[1659]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Jun 11 09:11:04 box courierpop3login: LOGOUT, ip=[::ffff:81.4.88.18]
Jun 11 09:11:06 box courierpop3login: LOGIN, [EMAIL="user=droopy@scriptscentral.org"]user=droopy@scriptscentral.org[/EMAIL], ip=[::ffff:83.119.71.191]
Jun 11 09:11:06 box courierpop3login: LOGOUT, [EMAIL="user=droopy@scriptscentral.org"]user=droopy@scriptscentral.org[/EMAIL], ip=[::ffff:83.119.71.191], top=0, retr=0, rcvd=12, sent=39, time=0
Jun 11 09:11:36 box postfix/smtpd[6331]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Jun 11 09:11:37 box postfix/master[1659]: warning: process /usr/lib/postfix/smtpd pid 6331 exit status 1
Jun 11 09:11:37 box postfix/master[1659]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Jun 11 09:12:02 box courierpop3login: LOGIN, [EMAIL="user=droopy@scriptscentral.org"]user=droopy@scriptscentral.org[/EMAIL], ip=[::ffff:83.119.71.191]
Jun 11 09:12:02 box courierpop3login: LOGOUT, [EMAIL="user=droopy@scriptscentral.org"]user=droopy@scriptscentral.org[/EMAIL], ip=[::ffff:83.119.71.191], top=0, retr=0, rcvd=12, sent=39, time=0

Thanks for helping.

Anthony
 
Hmmmm... well I think the problem is this:
Code:
smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_mynetworks,=
reject_unauth_destination=
I think it has to be:
Code:
smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_mynetworks,
reject_unauth_destination
No idea, why it was formatted that wrong. If you change it to the correct format, it should work now! ;)
 
Hello Armadillo,

When i change these settings and reload postfix i get this:

Code:
box:~# nano /etc/postfix/main.cf
box:~# postfix reload
postfix: fatal: /etc/postfix/main.cf, line 68: missing '=' after attribute name: "permit_mynetworks,"
box:~#

and the same error ir gives at the reject_unauth_destination when i add a
= after the permit_mynetworks
 
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination

Try to give postfix the arguments in one line and not divided by newline
 
Hi again Centy,

I did what you said and were making progress!

i have added the email address droopy@....

when i go into webmail and login with this address i can send an email
to another address and it gots delivered, so this part works.

But, when i reply to the same email. I get a bouncer with this:

Code:
This is the mail system at host box.scriptscentral.org.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                   The mail system

<[EMAIL="droopy@scriptscentral.org"][COLOR=#0000ff]droopy@scriptscentral.org[/COLOR][/EMAIL]>: unknown user: "droopy"

Thanks again,

Anthony
 
Can you do:
cat /etc/postfix/vhcs2/mailboxes | grep droopy ?

And try to send a email to the account again while you look at the logfile and post the delivery here
 
Ok this setting is correct.

Now try to send a mail to that email adresse and give us the report of:
tail -f /var/log/mail.info
 
Here you go:

box:~# tail -f /var/log/mail.info
Jun 11 16:09:46 box postfix/trivial-rewrite[21069]: warning: do not list domain scriptscentral.org in BOTH mydestination and virtual_mailbox_domains
Jun 11 16:09:46 box postfix/smtpd[21066]: disconnect from smtp-3.orange.nl[193.2 52.22.243]
Jun 11 16:09:46 box postfix/local[21071]: warning: dict_nis_init: NIS domain nam e not set - NIS lookups disabled
Jun 11 16:09:46 box postfix/local[21071]: 1E84417FDD4: to=<droopy@scriptscentral .org>, relay=local, delay=0.04, delays=0.02/0.01/0/0.01, dsn=5.1.1, status=bounc ed (unknown user: "droopy")
Jun 11 16:09:46 box postfix/cleanup[21070]: 281C717FE1E: message-id=<20080611140 946.281C717FE1E@box.scriptscentral.org>
Jun 11 16:09:46 box postfix/qmgr[17511]: 281C717FE1E: from=<>, size=3753, nrcpt= 1 (queue active)
Jun 11 16:09:46 box postfix/bounce[21072]: 1E84417FDD4: sender non-delivery noti fication: 281C717FE1E
Jun 11 16:09:46 box postfix/qmgr[17511]: 1E84417FDD4: removed
Jun 11 16:09:46 box postfix/smtp[21073]: 281C717FE1E: to=<andre.renkum@orange.nl >, relay=smtp-in.orange.nl[193.252.22.235]:25, delay=0.4, delays=0.01/0/0.33/0.0 5, dsn=2.0.0, status=sent (250 Ok: queued as 8E6862C00084)
Jun 11 16:09:46 box postfix/qmgr[17511]: 281C717FE1E: removed
Jun 11 16:10:12 box courierpop3login: LOGIN, user=droopy@scriptscentral.org, ip= [::ffff:83.119.71.191]
Jun 11 16:10:12 box courierpop3login: LOGOUT, user=droopy@scriptscentral.org, ip =[::ffff:83.119.71.191], top=0, retr=0, rcvd=12, sent=39, time=0
 
Wow a woman computernerd:-)

do not tell me that you do like brussel sprouts too!

Because if you do i realy must marrie you:)

Thanks for all help. Its working like a charm.
 
Back
Top