View Single Post
  #1  
Old 20th December 2009, 18:12
flying_horse flying_horse is offline
Junior Member
 
Join Date: Dec 2009
Posts: 4
Thanks: 1
Thanked 1 Time in 1 Post
Default Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 9.10)

Hi there,

i'm still trying to get the system to work, but it still failed.

If i sent an email from e.g. root to sales:

mailx sales

i get this inside the logs: status=bounced (unknown user: "sales")

MAIL.LOG
--------
Dec 20 17:42:07 horse amavis[1054]: (01054-03) Passed CLEAN, <root@smtp.horse.dyndns.org> -> <sales@smtp.horse.dyndns.org>, Message-ID: <20091220164205.6281E25496@smtp.horse.dyndns.org >, mail_id: dLpP7Cllx1MA, Hits: 1.545, size: 336, queued_as: 0432C24F5E, 1611 ms
Dec 20 17:42:07 horse postfix/smtp[2067]: 6281E25496: to=<sales@smtp.horse.dyndns.org>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.8, delays=0.11/0.01/0.01/1.6, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=01054-03, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 0432C24F5E)
Dec 20 17:42:07 horse postfix/qmgr[1682]: 6281E25496: removed
Dec 20 17:42:07 horse postfix/local[2071]: 0432C24F5E: to=<sales@smtp.horse.dyndns.org>, relay=local, delay=0.11, delays=0.04/0.03/0/0.04, dsn=5.1.1, status=bounced (unknown user: "sales")

telnet smtp.horse.dyndns.org 25
Works fine.

If i sent an mail to a local user:

mailx flying

all mails for the local user went into /var/spool/mail/

Do i need to configure something for them in mysql ?
What do i need to do if i add new users in mysql mail user table ?
Do i need to change the aliases file ?

Thanks for your help
Flying Horse
Sponsored Links