Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #21  
Old 15th June 2006, 20:36
marclar marclar is offline
Member
 
Join Date: Jun 2006
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to marclar
Default

Quote:
The relay problem is because the "SMTP server requires autentication" checkbox in outlook.
Hehe, true, works now. Thank you very much for that!

Quote:
The account problem is because postfix isnt reading your aliases config file, did you change something on postfix.conf?
You probably think the main.cf file?
There is a path to /etc/aliases.
And here is it's content:

Quote:
/etc/aliases
mailer-daemon: postmaster
postmaster: root
nobody: root
hostmaster: root
usenet: root
news: root
webmaster: root
www: root
ftp: root
abuse: root
noc: root
security: root
root: emanuel
Strange content I know.. But I didn't change anything there
__________________
www.emanuel.si
Reply With Quote
Sponsored Links
  #22  
Old 16th June 2006, 03:26
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

Quote:
Originally Posted by marclar
I found out, that the e-mail is sent successfully, if I send it to username@mydomain.com, and not to the "e-mail@mydomain.com"
why is that so?
Can you post the real email addresses here? Also, what's in /etc/postfix/virtusertable?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #23  
Old 16th June 2006, 16:10
marclar marclar is offline
Member
 
Join Date: Jun 2006
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to marclar
Default

e-mail that works now, is marclar@emanuel.si, though marclar is just an username, and e-mail should be me@emanuel.si..

Now I added new user (info) under emanuel.si site, and I got the same error again, no matter if I enter username@emanuel.si or info@emanuel.si...
Something still ain't right here

virtusertable: (i added the last line manualy, couse info@emanuel.si wont work)
Quote:
###################################
#
# ISPConfig virtusertable Configuration File
# Version 1.0
#
###################################
bostjan@emanuel.si bostjan
me@emanuel.si marclar
marclar@emanuel.si marclar
me@emanuel.si marclar

#### MAKE MANUAL ENTRIES BELOW THIS LINE! ####

info@emanuel.si info

the isp setting under "root":








so, marclar@emanuel.si works, me@emanuel.si and info@emanuel.si doesn't work....
Should i restart something after adding a new user maybe?
__________________
www.emanuel.si

Last edited by marclar; 16th June 2006 at 16:14.
Reply With Quote
  #24  
Old 16th June 2006, 16:16
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,482
Thanks: 835
Thanked 5,524 Times in 4,345 Posts
Default

First, do not edit the virtusertable manually, it wont solve your problem because ISPConfig wil override it!

I guess you problem is, that you did not add a co-domain emanuel.si (with empty host) to the website www.emanuel.si.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #25  
Old 16th June 2006, 16:48
marclar marclar is offline
Member
 
Join Date: Jun 2006
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to marclar
Default

I did that before:

__________________
www.emanuel.si
Reply With Quote
  #26  
Old 16th June 2006, 18:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

Please post /etc/postfix/main.cf here (please strip out the comments).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #27  
Old 16th June 2006, 19:22
marclar marclar is offline
Member
 
Join Date: Jun 2006
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to marclar
Default

main.cf :
Quote:
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

home_mailbox = Maildir/
myhostname =mail.emanuel.si
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
#mydestination = mail.emanuel.si, home.home, localhost.home, localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom

virtual_maps = hash:/etc/postfix/virtusertable

mydestination = /etc/postfix/local-host-names
__________________
www.emanuel.si
Reply With Quote
  #28  
Old 17th June 2006, 14:08
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

What's the output of
Code:
ls -la /root/ispconfig
?

Does it work when you run
Code:
postmap /etc/postfix/virtusertable
and restart Postfix?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #29  
Old 17th June 2006, 22:16
marclar marclar is offline
Member
 
Join Date: Jun 2006
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to marclar
Default

Authentication with info username is still rejected ...

Just look at this picture please, the answers are there!

click here

what do you think about that duplicate error, should i delete one entry manually?
__________________
www.emanuel.si

Last edited by marclar; 17th June 2006 at 22:19.
Reply With Quote
  #30  
Old 18th June 2006, 02:09
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,037
Thanks: 269
Thanked 154 Times in 133 Posts
 
Default

I had exactly the same problem, and I did use the perfect setup for Debian

The problem (for me) is the:
smtpd_sasl_local_domain = $myhostname

When I did the install (today) the $myhostname part was missing, but as it was showing in the example, I added it by hand!

I was just trying to send an email, and I had the same problem as you.

I removed the $myhostname, and emails are now send!

So now that line looks like this:
smtpd_sasl_local_domain =

Not sure if it's good or bad!

Last edited by edge; 18th June 2006 at 10:42.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Not receiving any incoming mail. Jcorrea920 General 11 3rd April 2010 14:08
Filtering emails using Spamassassin and Clamav for Exchange 2000 Server Rocky Server Operation 19 11th March 2008 09:27
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs mholownych HOWTO-Related Questions 10 29th May 2006 04:39
Read but not send mail briggers HOWTO-Related Questions 24 7th April 2006 20:22
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs ebbay Installation/Configuration 9 4th March 2006 12:47


All times are GMT +2. The time now is 14:31.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.