View Single Post
  #1  
Old 17th January 2010, 01:17
aurasdoom aurasdoom is offline
Junior Member
 
Join Date: Jan 2010
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default Step by step email setup for domain & clients

So what do I have to do to setup email for a domain, let's say website.com, add emails for that domain so that I can:
- send emails via smtp
- receive emails
?

I have DNS setup
I added the email domain website.com
I added an email emailuser@website.com with quota 0 (i guess that means unlimited?) with receiving, imap and pop enabled.
So far I could check my email (I moved them from another server and set the proper permissions)
But I couldn't receive nor send emails.

I managed to make sending of emails work by adding in the postfix whitelist 3 records:
website.com type:sender
unknown type:client
com type:recipient

But that meant I could only send to *@*.com
So how do I get rid of this? I only want it to check against the sender, not the client and the recipient also.

And as for the incoming emails not... coming:

Code:
This is the mail system at host website.com.

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

<emailuser@website.com>: unknown user: "emailuser"
Reporting-MTA: dns; website.com
X-Postfix-Queue-ID: 008091BCD0FC
X-Postfix-Sender: rfc822; ***@gmail.com
Arrival-Date: Sun, 17 Jan 2010 02:45:32 +0300 (MSK)

Final-Recipient: rfc822; emailuser@website.com
Original-Recipient: rfc822;emailuser@website.com
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "emailuser"
Code:
Jan 17 02:49:34 wip postfix/smtpd[25768]: connect from mail-ew0-f209.google.com[209.85.219.209]
Jan 17 02:49:34 wip postfix/trivial-rewrite[25854]: warning: do not list domain website.com in BOTH mydestination and virtual_mailbox_domains
Jan 17 02:49:34 wip postfix/smtpd[25768]: 6E1E51BCC0C7: client=mail-ew0-f209.google.com[209.85.219.209]
Jan 17 02:49:34 wip postfix/cleanup[25912]: 6E1E51BCC0C7: message-id=<0247A40E-360E-4722-A18B-A88B95F001B9@gmail.com>
Jan 17 02:49:34 wip postfix/qmgr[16064]: 6E1E51BCC0C7: from=<******@gmail.com>, size=2007, nrcpt=1 (queue active)
Jan 17 02:49:34 wip amavis[14195]: (14195-02) (!!)WARN: all primary virus scanners failed, considering backups
Jan 17 02:49:41 wip postfix/smtpd[5424]: connect from unknown[127.0.0.1]
Jan 17 02:49:41 wip postfix/trivial-rewrite[25854]: warning: do not list domain website.com in BOTH mydestination and virtual_mailbox_domains
Jan 16 23:49:41 wip postfix/smtpd[5424]: 149681BCD111: client=mail-ew0-f209.google.com[209.85.219.209]
Jan 17 02:49:41 wip postfix/cleanup[25912]: 149681BCD111: message-id=<0247A40E-360E-4722-A18B-A88B95F001B9@gmail.com>
Jan 17 02:49:41 wip postfix/qmgr[16064]: 149681BCD111: from=<******@gmail.com>, size=2397, nrcpt=1 (queue active)
Jan 16 23:49:41 wip postfix/smtpd[5424]: disconnect from unknown[127.0.0.1]
Jan 17 02:49:41 wip postfix/trivial-rewrite[25854]: warning: do not list domain website.com in BOTH mydestination and virtual_mailbox_domains
Jan 17 02:49:41 wip amavis[14195]: (14195-02) Passed CLEAN, [209.85.219.209] [x.x.x.x] <******@gmail.com> -> <emailuser@website.com>, Message-ID: <0247A40E-360E-4722-A18B-A88B95F001B9@gmail.com>, mail_id: FiCD4crbiQPw, Hits: 3.384, size: 2007, queued_as: 149681BCD111, dkim_id=@gmail.com,******@gmail.com, 6534 ms
Jan 17 02:49:41 wip postfix/smtp[26024]: 6E1E51BCC0C7: to=<emailuser@website.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=6.7, delays=0.16/0.01/0/6.5, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=14195-02, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 149681BCD111)
Jan 17 02:49:41 wip postfix/qmgr[16064]: 6E1E51BCC0C7: removed
Jan 17 02:49:41 wip postfix/local[5447]: 149681BCD111: to=<emailuser@website.com>, relay=local, delay=0.08, delays=0.01/0.06/0/0.01, dsn=5.1.1, status=bounced (unknown user: "emailuser")
Jan 17 02:49:41 wip postfix/cleanup[25912]: 279071BCD113: message-id=<20100116234941.279071BCD113@website.com>
Jan 17 02:49:41 wip postfix/qmgr[16064]: 279071BCD113: from=<>, size=4087, nrcpt=1 (queue active)
Jan 17 02:49:41 wip postfix/bounce[5496]: 149681BCD111: sender non-delivery notification: 279071BCD113
Jan 17 02:49:41 wip postfix/qmgr[16064]: 149681BCD111: removed
Jan 17 02:49:43 wip postfix/smtp[5519]: 279071BCD113: to=<******@gmail.com>, relay=gmail-smtp-in.l.google.com[72.14.221.114]:25, delay=2.4, delays=0.02/0.01/2.1/0.24, dsn=2.0.0, status=sent (250 2.0.0 OK 1263685783 e11si8927169fga.14)
Jan 17 02:49:43 wip postfix/qmgr[16064]: 279071BCD113: removed
Jan 17 02:50:04 wip postfix/smtpd[25768]: disconnect from mail-ew0-f209.google.com[209.85.219.209]
Jan 17 02:51:33 wip postfix/trivial-rewrite[25854]: warning: do not list domain website.com in BOTH mydestination and virtual_mailbox_domains
Jan 17 02:51:33 wip postfix/cleanup[10168]: D6AA21BCD111: message-id=<2AD65C81-522F-4DB5-8606-5A1E79023D99@website.com>
Jan 17 02:51:34 wip postfix/qmgr[16064]: D6AA21BCD111: from=<emailuser@website.com>, size=5475, nrcpt=1 (queue active)
Jan 17 02:51:34 wip amavis[14194]: (14194-03) (!!)WARN: all primary virus scanners failed, considering backups
Jan 17 02:51:40 wip postfix/smtpd[22380]: connect from unknown[127.0.0.1]
Jan 17 02:51:40 wip postfix/trivial-rewrite[25854]: warning: do not list domain website.com in BOTH mydestination and virtual_mailbox_domains
Jan 17 02:51:40 wip postfix/cleanup[10168]: 837501BCD112: message-id=<2AD65C81-522F-4DB5-8606-5A1E79023D99@website.com>
Jan 16 23:51:40 wip postfix/smtpd[22380]: disconnect from unknown[127.0.0.1]
Jan 17 02:51:40 wip postfix/qmgr[16064]: 837501BCD112: from=<emailuser@website.com>, size=5865, nrcpt=1 (queue active)
Jan 17 02:51:40 wip postfix/trivial-rewrite[25854]: warning: do not list domain website.com in BOTH mydestination and virtual_mailbox_domains
Jan 17 02:51:40 wip amavis[14194]: (14194-03) Passed CLEAN, [x.x.x.x] [x.x.x.x] <emailuser@website.com> -> <emailuser@website.com>, Message-ID: <2AD65C81-522F-4DB5-8606-5A1E79023D99@website.com>, mail_id: vjMOE5dP+B1P, Hits: 4.462, size: 5475, queued_as: 837501BCD112, 6541 ms
Jan 17 02:51:40 wip postfix/smtp[11336]: D6AA21BCD111: to=<emailuser@website.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=6.8, delays=0.21/0.01/0/6.5, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=14194-03, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 837501BCD112)
Jan 17 02:51:40 wip postfix/qmgr[16064]: D6AA21BCD111: removed
Jan 17 02:51:40 wip postfix/local[22482]: 837501BCD112: to=<emailuser@website.com>, relay=local, delay=0.08, delays=0.06/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "emailuser")
Jan 17 02:51:40 wip postfix/cleanup[10168]: 961AE1BCD113: message-id=<20100116235140.961AE1BCD113@website.com>
Jan 17 02:51:40 wip postfix/qmgr[16064]: 961AE1BCD113: from=<>, size=7547, nrcpt=1 (queue active)
Jan 17 02:51:40 wip postfix/bounce[22486]: 837501BCD112: sender non-delivery notification: 961AE1BCD113
Jan 17 02:51:40 wip postfix/trivial-rewrite[25854]: warning: do not list domain website.com in BOTH mydestination and virtual_mailbox_domains
Jan 17 02:51:40 wip postfix/qmgr[16064]: 837501BCD112: removed
Jan 17 02:51:40 wip postfix/local[22482]: 961AE1BCD113: to=<emailuser@website.com>, relay=local, delay=0.01, delays=0.01/0/0/0, dsn=5.1.1, status=bounced (unknown user: "emailuser")
Jan 17 02:51:40 wip postfix/qmgr[16064]: 961AE1BCD113: removed
Reply With Quote
Sponsored Links