#1  
Old 10th July 2010, 07:09
learnbash learnbash is offline
Junior Member
 
Join Date: Jul 2010
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default postfix howto problem

Hello Sir, Falko,

I have followed below link to implement mailserver on Fedora-32-bit machine, all softwares installed successfully and each step followed as you mentioned in the howto, but i got error when sending email.

It is bouncing, below is attached logs, Please suggest how to resolve this problem



Jul 10 10:09:18 server1 postfix/smtp[16293]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
Jul 10 10:09:18 server1 postfix/smtp[16293]: warning: inet_protocols: configuring for IPv4 support only

Jul 10 10:09:32 server1 postfix/smtpd[16318]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
Jul 10 10:09:32 server1 postfix/smtpd[16318]: warning: inet_protocols: configuring for IPv4 support only
Jul 10 10:09:32 server1 postfix/smtpd[16318]: connect from unknown[127.0.0.1]
Jul 10 10:09:32 server1 postfix/smtpd[16318]: A484055E980: client=unknown[127.0.0.1]
Jul 10 10:09:32 server1 postfix/cleanup[16290]: A484055E980: message-id=<4C38007E.8040007@example.com>
Jul 10 10:09:32 server1 postfix/qmgr[7328]: A484055E980: from=<sales@example.com>, size=1064, nrcpt=1 (queue active)
Jul 10 10:09:32 server1 postfix/smtp[16322]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
Jul 10 10:09:32 server1 postfix/smtp[16322]: warning: inet_protocols: configuring for IPv4 support only
Jul 10 10:09:32 server1 postfix/bounce[16325]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
Jul 10 10:09:32 server1 postfix/bounce[16325]: warning: inet_protocols: configuring for IPv4 support only
Jul 10 10:09:32 server1 amavis[7731]: (07731-01) Passed CLEAN, MYNETS LOCAL [192.168.15.52] [192.168.15.52] <sales@example.com> -> <sales@example.com>, Message-ID: <4C38007E.8040007@example.com>, mail_id: J+BxJy3MN0jC, Hits: -1.009, size: 628, queued_as: A484055E980, 14543 ms
Jul 10 10:09:32 server1 postfix/smtp[16293]: 2094055E97C: to=<sales@example.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=15, delays=0.03/0.01/0.01/15, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=07731-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as A484055E980)
Jul 10 10:09:32 server1 postfix/qmgr[7328]: 2094055E97C: removed
Jul 10 10:09:32 server1 postfix/smtp[16322]: A484055E980: to=<sales@example.com>, relay=none, delay=0.03, delays=0.01/0.01/0/0, dsn=5.4.6, status=bounced (mail for server1.example.com loops back to myself)
Jul 10 10:09:32 server1 postfix/cleanup[16290]: B124B55E97C: message-id=<20100710050932.B124B55E97C@server1.example.com >
Jul 10 10:09:32 server1 postfix/bounce[16325]: A484055E980: sender non-delivery notification: B124B55E97C
Jul 10 10:09:32 server1 postfix/qmgr[7328]: B124B55E97C: from=<>, size=2982, nrcpt=1 (queue active)
Jul 10 10:09:32 server1 postfix/qmgr[7328]: A484055E980: removed
Jul 10 10:09:32 server1 postfix/smtp[16322]: B124B55E97C: to=<sales@example.com>, relay=none, delay=0.02, delays=0.02/0/0/0, dsn=5.4.6, status=bounced (mail for server1.example.com loops back to myself)
Jul 10 10:09:32 server1 postfix/qmgr[7328]: B124B55E97C: removed
Reply With Quote
Sponsored Links
  #2  
Old 10th July 2010, 11:49
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Which guide (URL)?

Please add server1.example.com to the mydestination line in etc/postfix/main.cf 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
  #3  
Old 10th July 2010, 12:50
learnbash learnbash is offline
Junior Member
 
Join Date: Jul 2010
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for kind reply.

http://howtoforge.net/virtual-users-...dora-12-x86_64

the line you mention, its already there, but there is no effect, i am not able to sent email.

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


above is my setting, i am not sure where is the mistake.

second is it possible that i can use postfixadmin with same guide. I have configure postfixadmin, but when i create users and domain, it not shows under that directory.

Last edited by learnbash; 10th July 2010 at 13:01. Reason: add more info
Reply With Quote
  #4  
Old 10th July 2010, 15:57
learnbash learnbash is offline
Junior Member
 
Join Date: Jul 2010
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Below is my attached main.cf

queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
mail_owner = postfix
inet_interfaces = all
inet_protocols = all
mydestination = server1.example.com, localhost, localhost.localdomain
unknown_local_recipient_reject_code = 550
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
ddd $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.7.0/samples
readme_directory = /usr/share/doc/postfix-2.7.0/README_FILES
myhostname = server1.example.com
mynetworks = 127.0.0.0/8
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_use_tls = yes
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
virtual_create_maildirsize = yes
virtual_maildir_extended = yes
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = "The user you are trying to reach is over quota."
virtual_overquota_bounce = yes
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
Reply With Quote
  #5  
Old 11th July 2010, 23:49
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by learnbash View Post
second is it possible that i can use postfixadmin with same guide. I have configure postfixadmin, but when i create users and domain, it not shows under that directory.
No, that's not possible because Postfixadmin requires a slightly different setup.


What domains do you have in the domains table (in the database)?

Are there any other errors in your mail log?
__________________
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
  #6  
Old 12th July 2010, 12:12
learnbash learnbash is offline
Junior Member
 
Join Date: Jul 2010
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

can u help me about this setup.

1. postfix with virtual domains
2. dovecot with virtual domains
3. postfixadmin to create domains.
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
Email problem 'Cannot set my user or group id.' (using ISPConfig 3 + OpenSuSE 11.2) urosm Installation/Configuration 5 19th June 2010 22:41
Need help get mail to work (can't recieve and apperently can't send) omega13a Installation/Configuration 19 20th August 2009 21:06
HELP: Postfix on Lenny: NO STARTTLS MESSAGE zeus80 HOWTO-Related Questions 2 26th March 2009 18:54
Postfix SMTP problem norbert_999 Server Operation 1 7th June 2008 11:48
Postfix howto problem melat0nin HOWTO-Related Questions 1 25th May 2008 18:32


All times are GMT +2. The time now is 03:55.


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